Blender V2.61 - r43446
|
#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 | |
RayObject | rayobj |
struct Branch ** | adrbranch |
struct Node ** | adrnode |
float | ocsize |
float | ocfacx |
float | ocfacy |
float | ocfacz |
float | min [3] |
float | max [3] |
int | ocres |
int | branchcount |
int | nodecount |
char * | ocface |
RayFace ** | ro_nodes |
int | ro_nodes_size |
int | ro_nodes_used |
VirtualMemoryAllocator * | alloc [9] |
Memory allocators. | |
VirtualMemoryAllocator * | leafalloc [4] |
UCHAR * | root |
Root node. | |
ModelReader * | reader |
Model reader. | |
Cubes * | cubes |
Marching cubes table. | |
int | dimen |
Length of grid. | |
int | mindimen |
int | minshift |
int | maxDepth |
Maximum depth. | |
float | origin [3] |
The lower corner of the bounding box and the size. | |
float | range |
int | nodeCount |
Counting information. | |
int | nodeSpace |
int | nodeCounts [9] |
int | actualQuads |
int | actualVerts |
PathList * | ringList |
int | maxTrianglePerCell |
int | outType |
int | use_flood_fill |
float | thresh |
int | use_manifold |
FILE * | testfout |
float | hermite_num |
DualConMode | mode |
int | leaf_node_bytes |
int | leaf_extra_bytes |
int | flood_bytes |
Class for building and processing an octree
Definition at line 71 of file rayobject_octree.cpp.
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 45 of file octree.cpp.
References CINDY_BYTES, dc_printf, dimen, flood_bytes, FLOOD_FILL_BYTES, ModelReader::getBoundingBox(), GRID_DIMENSION, leaf_extra_bytes, leaf_node_bytes, maxDepth, maxTrianglePerCell, mindimen, minshift, nodeCount, nodeSpace, origin, range, reader, root, thresh, and use_flood_fill.
Octree::~Octree | ( | ) |
Destructor
Definition at line 116 of file octree.cpp.
void* Octree::getOutputMesh | ( | ) | [inline] |
void Octree::scanConvert | ( | ) |
Scan convert
Definition at line 121 of file octree.cpp.
References dc_printf, root, OceanCache::start, trace, and use_flood_fill.
Referenced by dualcon().
struct Branch** Octree::adrbranch |
Definition at line 74 of file rayobject_octree.cpp.
Referenced by addbranch(), ocread(), ocwrite(), RE_rayobject_octree_done(), and RE_rayobject_octree_free().
struct Node** Octree::adrnode |
Definition at line 75 of file rayobject_octree.cpp.
Referenced by addnode(), RE_rayobject_octree_done(), and RE_rayobject_octree_free().
Definition at line 80 of file rayobject_octree.cpp.
Referenced by addbranch(), RE_rayobject_octree_free(), and RE_rayobject_octree_intersect().
int Octree::dimen |
float Octree::hermite_num |
float Octree::max[3] |
Definition at line 78 of file rayobject_octree.cpp.
Referenced by pseudoInverse(), RE_rayobject_octree_bb(), RE_rayobject_octree_done(), and RE_rayobject_octree_intersect().
int Octree::maxDepth |
float Octree::min[3] |
Definition at line 78 of file rayobject_octree.cpp.
Referenced by octree_fill_rayface(), RE_rayobject_octree_bb(), RE_rayobject_octree_done(), and RE_rayobject_octree_intersect().
int Octree::mindimen |
int Octree::minshift |
Definition at line 80 of file rayobject_octree.cpp.
Referenced by addnode(), and RE_rayobject_octree_free().
int Octree::nodeCounts[9] |
char* Octree::ocface |
Definition at line 83 of file rayobject_octree.cpp.
Referenced by octree_fill_rayface(), RE_rayobject_octree_done(), and RE_rayobject_octree_free().
float Octree::ocfacx |
Definition at line 77 of file rayobject_octree.cpp.
Referenced by octree_fill_rayface(), RE_rayobject_octree_done(), and RE_rayobject_octree_intersect().
float Octree::ocfacy |
Definition at line 77 of file rayobject_octree.cpp.
Referenced by octree_fill_rayface(), RE_rayobject_octree_done(), and RE_rayobject_octree_intersect().
float Octree::ocfacz |
Definition at line 77 of file rayobject_octree.cpp.
Referenced by octree_fill_rayface(), RE_rayobject_octree_done(), and RE_rayobject_octree_intersect().
int Octree::ocres |
Definition at line 79 of file rayobject_octree.cpp.
Referenced by d2dda(), filltriangle(), ocread(), octree_fill_rayface(), ocwrite(), RE_rayobject_octree_create(), and RE_rayobject_octree_done().
float Octree::ocsize |
Definition at line 76 of file rayobject_octree.cpp.
Referenced by RE_rayobject_octree_done().
float Octree::origin[3] |
int Octree::outType |
float Octree::range |
Definition at line 72 of file rayobject_octree.cpp.
Referenced by RE_rayobject_octree_create().
Definition at line 85 of file rayobject_octree.cpp.
Referenced by RE_rayobject_octree_add(), RE_rayobject_octree_create(), and RE_rayobject_octree_done().
Definition at line 86 of file rayobject_octree.cpp.
Referenced by RE_rayobject_octree_add(), and RE_rayobject_octree_create().
Definition at line 86 of file rayobject_octree.cpp.
Referenced by RE_rayobject_octree_add(), RE_rayobject_octree_create(), and RE_rayobject_octree_done().
UCHAR* Octree::root |
FILE* Octree::testfout |
float Octree::thresh |
Definition at line 184 of file octree.h.
Referenced by Octree(), and scanConvert().