C# 클래스 Isosurface.AdaptiveDualContouring.OctreeNode

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

공개 프로퍼티들

프로퍼티 타입 설명
children Isosurface.AdaptiveDualContouring.OctreeNode[]
draw_info OctreeDrawInfo
position Vector3
size int
type OctreeNodeType

공개 메소드들

메소드 설명
Build ( Vector3 min, int size, float threshold, List vertices, int grid_size ) : int
ConstructLeaf ( List vertices, int grid_size ) : bool
ConstructNodes ( List vertices, int grid_size, int threaded ) : bool
GenerateVertexBuffer ( List vertices ) : void
OctreeNode ( ) : System
ProcessCell ( List indexes ) : void
ProcessEdge ( OctreeNode nodes, int direction, List indexes ) : void
ProcessFace ( OctreeNode nodes, int direction, List indexes ) : void
ProcessIndexes ( OctreeNode nodes, int direction, List indexes ) : void
Simplify ( float threshold, bool randomize = false ) : void

메소드 상세

Build() 공개 메소드

public Build ( Vector3 min, int size, float threshold, List vertices, int grid_size ) : int
min Vector3
size int
threshold float
vertices List
grid_size int
리턴 int

ConstructLeaf() 공개 메소드

public ConstructLeaf ( List vertices, int grid_size ) : bool
vertices List
grid_size int
리턴 bool

ConstructNodes() 공개 메소드

public ConstructNodes ( List vertices, int grid_size, int threaded ) : bool
vertices List
grid_size int
threaded int
리턴 bool

GenerateVertexBuffer() 공개 메소드

public GenerateVertexBuffer ( List vertices ) : void
vertices List
리턴 void

OctreeNode() 공개 메소드

public OctreeNode ( ) : System
리턴 System

ProcessCell() 공개 메소드

public ProcessCell ( List indexes ) : void
indexes List
리턴 void

ProcessEdge() 공개 정적인 메소드

public static ProcessEdge ( OctreeNode nodes, int direction, List indexes ) : void
nodes OctreeNode
direction int
indexes List
리턴 void

ProcessFace() 공개 정적인 메소드

public static ProcessFace ( OctreeNode nodes, int direction, List indexes ) : void
nodes OctreeNode
direction int
indexes List
리턴 void

ProcessIndexes() 공개 정적인 메소드

public static ProcessIndexes ( OctreeNode nodes, int direction, List indexes ) : void
nodes OctreeNode
direction int
indexes List
리턴 void

Simplify() 공개 메소드

public Simplify ( float threshold, bool randomize = false ) : void
threshold float
randomize bool
리턴 void

프로퍼티 상세

children 공개적으로 프로퍼티

public OctreeNode[],Isosurface.AdaptiveDualContouring children
리턴 Isosurface.AdaptiveDualContouring.OctreeNode[]

draw_info 공개적으로 프로퍼티

public OctreeDrawInfo,Isosurface.AdaptiveDualContouring draw_info
리턴 OctreeDrawInfo

position 공개적으로 프로퍼티

public Vector3 position
리턴 Vector3

size 공개적으로 프로퍼티

public int size
리턴 int

type 공개적으로 프로퍼티

public OctreeNodeType type
리턴 OctreeNodeType