C# 클래스 MorphExtractorCL.DendriteIO

파일 보기 프로젝트 열기: Vaa3D/vaa3d_tools 1 사용 예제들

공개 메소드들

메소드 설명
CytEdges ( StreamWriter sw, Dendrite dend, DendriteNode node, DendriteNode parent, DendriteNode pnode ) : void
CytNodes ( StreamWriter sw, Dendrite dend, DendriteNode node, DendriteNode parent, int &count ) : void
Edge ( DendriteNode node, DendriteNode root, int deg, StringBuilder sb ) : void
LoadFromSWC ( IEnumerable fileContent ) : Dendrite
LoadFromSWC ( string filename ) : Dendrite

SWCファイルを読み込んでDendriteインスタンスを生成

PajekEdgesRD ( StreamWriter sw, DendriteNode node, DendriteNode parent, DendriteNode pnode ) : void
PajekVerticesRD ( StreamWriter sw, Dendrite dend, DendriteNode node, DendriteNode parent, int &count ) : void
SaveAsCytoscapeFreeFormat ( String fname, Dendrite dend ) : void
SaveAsPajekFormat ( String fname, Dendrite dend ) : void
SaveAsTLP ( String fname, Dendrite dend ) : void
SaveEdgeList ( string fname, Dendrite dend ) : void
SaveToSWC ( string filename, Dendrite dend ) : void

DendriteインスタンスをSWCファイルに出力

SaveToSWCRec ( DendriteNode node, DendriteNode parent, StreamWriter writer ) : void
TLPCoord ( StreamWriter sw, DendriteNode node, DendriteNode parent ) : void
TLPDistance ( StreamWriter sw, DendriteNode node, DendriteNode parent ) : void
TLPEdge ( StreamWriter sw, DendriteNode node, DendriteNode parent, DendriteNode pnode, int &count ) : void
TLPEdgeLength ( StreamWriter sw, DendriteNode node, DendriteNode parent, DendriteNode pnode, int &count ) : void
TLPElectricalDistance ( StreamWriter sw, DendriteNode node, DendriteNode parent ) : void
TLPNodeType ( StreamWriter sw, DendriteNode node, DendriteNode parent ) : void
TLPNodes ( StreamWriter sw, DendriteNode node, DendriteNode parent, int &count ) : void
TLPRadius ( StreamWriter sw, DendriteNode node, DendriteNode parent ) : void

비공개 메소드들

메소드 설명
ParseSWC ( IEnumerable fileContents ) : IEnumerable

메소드 상세

CytEdges() 공개 메소드

public CytEdges ( StreamWriter sw, Dendrite dend, DendriteNode node, DendriteNode parent, DendriteNode pnode ) : void
sw System.IO.StreamWriter
dend Dendrite
node DendriteNode
parent DendriteNode
pnode DendriteNode
리턴 void

CytNodes() 공개 메소드

public CytNodes ( StreamWriter sw, Dendrite dend, DendriteNode node, DendriteNode parent, int &count ) : void
sw System.IO.StreamWriter
dend Dendrite
node DendriteNode
parent DendriteNode
count int
리턴 void

Edge() 공개 메소드

public Edge ( DendriteNode node, DendriteNode root, int deg, StringBuilder sb ) : void
node DendriteNode
root DendriteNode
deg int
sb StringBuilder
리턴 void

LoadFromSWC() 공개 메소드

public LoadFromSWC ( IEnumerable fileContent ) : Dendrite
fileContent IEnumerable
리턴 Dendrite

LoadFromSWC() 공개 메소드

SWCファイルを読み込んでDendriteインスタンスを生成
public LoadFromSWC ( string filename ) : Dendrite
filename string 入力ファイル名
리턴 Dendrite

PajekEdgesRD() 공개 메소드

public PajekEdgesRD ( StreamWriter sw, DendriteNode node, DendriteNode parent, DendriteNode pnode ) : void
sw System.IO.StreamWriter
node DendriteNode
parent DendriteNode
pnode DendriteNode
리턴 void

PajekVerticesRD() 공개 메소드

public PajekVerticesRD ( StreamWriter sw, Dendrite dend, DendriteNode node, DendriteNode parent, int &count ) : void
sw System.IO.StreamWriter
dend Dendrite
node DendriteNode
parent DendriteNode
count int
리턴 void

SaveAsCytoscapeFreeFormat() 공개 메소드

public SaveAsCytoscapeFreeFormat ( String fname, Dendrite dend ) : void
fname String
dend Dendrite
리턴 void

SaveAsPajekFormat() 공개 메소드

public SaveAsPajekFormat ( String fname, Dendrite dend ) : void
fname String
dend Dendrite
리턴 void

SaveAsTLP() 공개 메소드

public SaveAsTLP ( String fname, Dendrite dend ) : void
fname String
dend Dendrite
리턴 void

SaveEdgeList() 공개 메소드

public SaveEdgeList ( string fname, Dendrite dend ) : void
fname string
dend Dendrite
리턴 void

SaveToSWC() 공개 메소드

DendriteインスタンスをSWCファイルに出力
public SaveToSWC ( string filename, Dendrite dend ) : void
filename string 出力ファイル名
dend Dendrite
리턴 void

SaveToSWCRec() 공개 메소드

public SaveToSWCRec ( DendriteNode node, DendriteNode parent, StreamWriter writer ) : void
node DendriteNode
parent DendriteNode
writer System.IO.StreamWriter
리턴 void

TLPCoord() 공개 메소드

public TLPCoord ( StreamWriter sw, DendriteNode node, DendriteNode parent ) : void
sw System.IO.StreamWriter
node DendriteNode
parent DendriteNode
리턴 void

TLPDistance() 공개 메소드

public TLPDistance ( StreamWriter sw, DendriteNode node, DendriteNode parent ) : void
sw System.IO.StreamWriter
node DendriteNode
parent DendriteNode
리턴 void

TLPEdge() 공개 메소드

public TLPEdge ( StreamWriter sw, DendriteNode node, DendriteNode parent, DendriteNode pnode, int &count ) : void
sw System.IO.StreamWriter
node DendriteNode
parent DendriteNode
pnode DendriteNode
count int
리턴 void

TLPEdgeLength() 공개 메소드

public TLPEdgeLength ( StreamWriter sw, DendriteNode node, DendriteNode parent, DendriteNode pnode, int &count ) : void
sw System.IO.StreamWriter
node DendriteNode
parent DendriteNode
pnode DendriteNode
count int
리턴 void

TLPElectricalDistance() 공개 메소드

public TLPElectricalDistance ( StreamWriter sw, DendriteNode node, DendriteNode parent ) : void
sw System.IO.StreamWriter
node DendriteNode
parent DendriteNode
리턴 void

TLPNodeType() 공개 메소드

public TLPNodeType ( StreamWriter sw, DendriteNode node, DendriteNode parent ) : void
sw System.IO.StreamWriter
node DendriteNode
parent DendriteNode
리턴 void

TLPNodes() 공개 메소드

public TLPNodes ( StreamWriter sw, DendriteNode node, DendriteNode parent, int &count ) : void
sw System.IO.StreamWriter
node DendriteNode
parent DendriteNode
count int
리턴 void

TLPRadius() 공개 메소드

public TLPRadius ( StreamWriter sw, DendriteNode node, DendriteNode parent ) : void
sw System.IO.StreamWriter
node DendriteNode
parent DendriteNode
리턴 void