C# Класс Isosurface.AdaptiveDualContouring.OctreeNode

Показать файл Открыть проект Примеры использования класса

Открытые свойства

Свойство Тип Описание
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