Blender
V3.3
|
#include <octree.h>
Public Member Functions | |
Octree (ModelReader *mr, DualConAllocOutput alloc_output_func, DualConAddVert add_vert_func, DualConAddQuad add_quad_func, DualConFlags flags, DualConMode mode, int depth, float threshold, float hermite_num) | |
~Octree () | |
void | scanConvert () |
void * | getOutputMesh () |
Public Attributes | |
VirtualMemoryAllocator * | alloc [9] |
VirtualMemoryAllocator * | leafalloc [4] |
Node * | root |
ModelReader * | reader |
Cubes * | cubes |
int | dimen |
int | mindimen |
int | minshift |
int | maxDepth |
float | origin [3] |
float | range |
int | nodeCount |
int | nodeSpace |
int | nodeCounts [9] |
int | actualQuads |
int | actualVerts |
PathList * | ringList |
int | maxTrianglePerCell |
int | outType |
int | use_flood_fill |
float | thresh |
int | use_manifold |
float | hermite_num |
DualConMode | mode |
Octree::Octree | ( | ModelReader * | mr, |
DualConAllocOutput | alloc_output_func, | ||
DualConAddVert | add_vert_func, | ||
DualConAddQuad | add_quad_func, | ||
DualConFlags | flags, | ||
DualConMode | mode, | ||
int | depth, | ||
float | threshold, | ||
float | hermite_num | ||
) |
Construtor
Definition at line 31 of file octree.cpp.
References dc_printf, dimen, ModelReader::getBoundingBox(), GRID_DIMENSION, maxDepth, maxTrianglePerCell, mindimen, minshift, nodeCount, nodeSpace, origin, range, reader, root, thresh, and threshold.
Octree::~Octree | ( | ) |
|
inline |
void Octree::scanConvert | ( | ) |
Scan convert
Definition at line 97 of file octree.cpp.
References dc_printf, Node::internal, root, and use_flood_fill.
Referenced by dualcon().
VirtualMemoryAllocator* Octree::alloc[9] |
Cubes* Octree::cubes |
VirtualMemoryAllocator* Octree::leafalloc[4] |
DualConMode Octree::mode |
int Octree::nodeCount |
float Octree::origin[3] |
ModelReader* Octree::reader |
Node* Octree::root |
int Octree::use_flood_fill |
Definition at line 247 of file octree.h.
Referenced by scanConvert().