C# Class Isosurface.AdaptiveDualContouring.OctreeNode

Afficher le fichier Open project: Lin20/isosurface Class Usage Examples

Méthodes publiques

Свойство Type Description
children Isosurface.AdaptiveDualContouring.OctreeNode[]
draw_info OctreeDrawInfo
position Vector3
size int
type OctreeNodeType

Méthodes publiques

Méthode Description
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

Method Details

Build() public méthode

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
Résultat int

ConstructLeaf() public méthode

public ConstructLeaf ( List vertices, int grid_size ) : bool
vertices List
grid_size int
Résultat bool

ConstructNodes() public méthode

public ConstructNodes ( List vertices, int grid_size, int threaded ) : bool
vertices List
grid_size int
threaded int
Résultat bool

GenerateVertexBuffer() public méthode

public GenerateVertexBuffer ( List vertices ) : void
vertices List
Résultat void

OctreeNode() public méthode

public OctreeNode ( ) : System
Résultat System

ProcessCell() public méthode

public ProcessCell ( List indexes ) : void
indexes List
Résultat void

ProcessEdge() public static méthode

public static ProcessEdge ( OctreeNode nodes, int direction, List indexes ) : void
nodes OctreeNode
direction int
indexes List
Résultat void

ProcessFace() public static méthode

public static ProcessFace ( OctreeNode nodes, int direction, List indexes ) : void
nodes OctreeNode
direction int
indexes List
Résultat void

ProcessIndexes() public static méthode

public static ProcessIndexes ( OctreeNode nodes, int direction, List indexes ) : void
nodes OctreeNode
direction int
indexes List
Résultat void

Simplify() public méthode

public Simplify ( float threshold, bool randomize = false ) : void
threshold float
randomize bool
Résultat void

Property Details

children public_oe property

public OctreeNode[],Isosurface.AdaptiveDualContouring children
Résultat Isosurface.AdaptiveDualContouring.OctreeNode[]

draw_info public_oe property

public OctreeDrawInfo,Isosurface.AdaptiveDualContouring draw_info
Résultat OctreeDrawInfo

position public_oe property

public Vector3 position
Résultat Vector3

size public_oe property

public int size
Résultat int

type public_oe property

public OctreeNodeType type
Résultat OctreeNodeType