C# 클래스 Isosurface.ManifoldDC.OctreeNode

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

공개 프로퍼티들

프로퍼티 타입 설명
child_index int
children Isosurface.ManifoldDC.OctreeNode[]
corners byte
index int
position Vector3
rnd System.Random
size int
type NodeType
vertices Isosurface.ManifoldDC.Vertex[]

공개 메소드들

메소드 설명
ClusterCell ( float error ) : void
ClusterCellBase ( float error ) : void
ClusterEdge ( OctreeNode nodes, int direction, int &surface_index, List collected_vertices ) : void
ClusterFace ( OctreeNode nodes, int direction, int &surface_index, List collected_vertices ) : void
ClusterIndexes ( OctreeNode nodes, int direction, int &max_surface_index, List collected_vertices ) : void
ConstructBase ( int size, float error, List &vertices ) : void
ConstructLeaf ( List &vertices, int &index ) : bool
ConstructNodes ( List vertices, int &n_index, int threaded ) : bool
GatherVertices ( OctreeNode n, List dest, int &surface_index ) : void
GenerateVertexBuffer ( List vertices ) : void
OctreeNode ( ) : System
OctreeNode ( Vector3 position, int size, NodeType type ) : System
ProcessCell ( List indexes, List tri_count, float threshold ) : void
ProcessEdge ( OctreeNode nodes, int direction, List indexes, List tri_count, float threshold ) : void
ProcessFace ( OctreeNode nodes, int direction, List indexes, List tri_count, float threshold ) : void
ProcessIndexes ( OctreeNode nodes, int direction, List indexes, List tri_count, float threshold ) : void
ToString ( ) : string

비공개 메소드들

메소드 설명
AssignSurface ( List vertices, int from, int to ) : void

메소드 상세

ClusterCell() 공개 메소드

public ClusterCell ( float error ) : void
error float
리턴 void

ClusterCellBase() 공개 메소드

public ClusterCellBase ( float error ) : void
error float
리턴 void

ClusterEdge() 공개 정적인 메소드

public static ClusterEdge ( OctreeNode nodes, int direction, int &surface_index, List collected_vertices ) : void
nodes OctreeNode
direction int
surface_index int
collected_vertices List
리턴 void

ClusterFace() 공개 정적인 메소드

public static ClusterFace ( OctreeNode nodes, int direction, int &surface_index, List collected_vertices ) : void
nodes OctreeNode
direction int
surface_index int
collected_vertices List
리턴 void

ClusterIndexes() 공개 정적인 메소드

public static ClusterIndexes ( OctreeNode nodes, int direction, int &max_surface_index, List collected_vertices ) : void
nodes OctreeNode
direction int
max_surface_index int
collected_vertices List
리턴 void

ConstructBase() 공개 메소드

public ConstructBase ( int size, float error, List &vertices ) : void
size int
error float
vertices List
리턴 void

ConstructLeaf() 공개 메소드

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

ConstructNodes() 공개 메소드

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

GatherVertices() 공개 정적인 메소드

public static GatherVertices ( OctreeNode n, List dest, int &surface_index ) : void
n OctreeNode
dest List
surface_index int
리턴 void

GenerateVertexBuffer() 공개 메소드

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

OctreeNode() 공개 메소드

public OctreeNode ( ) : System
리턴 System

OctreeNode() 공개 메소드

public OctreeNode ( Vector3 position, int size, NodeType type ) : System
position Vector3
size int
type NodeType
리턴 System

ProcessCell() 공개 메소드

public ProcessCell ( List indexes, List tri_count, float threshold ) : void
indexes List
tri_count List
threshold float
리턴 void

ProcessEdge() 공개 정적인 메소드

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

ProcessFace() 공개 정적인 메소드

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

ProcessIndexes() 공개 정적인 메소드

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

ToString() 공개 메소드

public ToString ( ) : string
리턴 string

프로퍼티 상세

child_index 공개적으로 프로퍼티

public int child_index
리턴 int

children 공개적으로 프로퍼티

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

corners 공개적으로 프로퍼티

public byte corners
리턴 byte

index 공개적으로 프로퍼티

public int index
리턴 int

position 공개적으로 프로퍼티

public Vector3 position
리턴 Vector3

rnd 공개적으로 정적으로 프로퍼티

public static Random,System rnd
리턴 System.Random

size 공개적으로 프로퍼티

public int size
리턴 int

type 공개적으로 프로퍼티

public NodeType type
리턴 NodeType

vertices 공개적으로 프로퍼티

public Vertex[],Isosurface.ManifoldDC vertices
리턴 Isosurface.ManifoldDC.Vertex[]