Blender V2.61 - r43446
Public Member Functions | Public Attributes

Octree Class Reference

#include <octree.h>

List of all members.

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
VirtualMemoryAllocatoralloc [9]
 Memory allocators.
VirtualMemoryAllocatorleafalloc [4]
UCHAR * root
 Root node.
ModelReaderreader
 Model reader.
Cubescubes
 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
PathListringList
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

Detailed Description

Class for building and processing an octree

Definition at line 71 of file rayobject_octree.cpp.


Constructor & Destructor Documentation

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 
)
Octree::~Octree ( )

Destructor

Definition at line 116 of file octree.cpp.


Member Function Documentation

void* Octree::getOutputMesh ( ) [inline]

Definition at line 221 of file octree.h.

Referenced by dualcon().

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().


Member Data Documentation

Definition at line 176 of file octree.h.

Definition at line 176 of file octree.h.

Memory allocators.

Definition at line 148 of file octree.h.

Marching cubes table.

Definition at line 158 of file octree.h.

Length of grid.

Definition at line 161 of file octree.h.

Referenced by Octree().

Definition at line 198 of file octree.h.

Referenced by Octree().

Definition at line 192 of file octree.h.

Definition at line 197 of file octree.h.

Referenced by Octree().

Definition at line 196 of file octree.h.

Referenced by Octree().

Definition at line 149 of file octree.h.

float Octree::max[3]

Maximum depth.

Definition at line 165 of file octree.h.

Referenced by Octree().

Definition at line 180 of file octree.h.

Referenced by Octree().

float Octree::min[3]

Definition at line 162 of file octree.h.

Referenced by Octree().

Definition at line 162 of file octree.h.

Referenced by Octree().

Definition at line 194 of file octree.h.

Definition at line 80 of file rayobject_octree.cpp.

Referenced by addnode(), and RE_rayobject_octree_free().

Counting information.

Definition at line 172 of file octree.h.

Referenced by Octree().

Definition at line 174 of file octree.h.

Definition at line 173 of file octree.h.

Referenced by Octree().

Definition at line 76 of file rayobject_octree.cpp.

Referenced by RE_rayobject_octree_done().

float Octree::origin[3]

The lower corner of the bounding box and the size.

Definition at line 168 of file octree.h.

Referenced by Octree().

Definition at line 181 of file octree.h.

Definition at line 169 of file octree.h.

Referenced by Octree().

Definition at line 72 of file rayobject_octree.cpp.

Referenced by RE_rayobject_octree_create().

Model reader.

Definition at line 155 of file octree.h.

Referenced by Octree().

Definition at line 178 of file octree.h.

Definition at line 86 of file rayobject_octree.cpp.

Referenced by RE_rayobject_octree_add(), and RE_rayobject_octree_create().

UCHAR* Octree::root

Root node.

Definition at line 152 of file octree.h.

Referenced by Octree(), and scanConvert().

Definition at line 190 of file octree.h.

Definition at line 185 of file octree.h.

Referenced by Octree().

Definition at line 184 of file octree.h.

Referenced by Octree(), and scanConvert().

Definition at line 187 of file octree.h.


The documentation for this class was generated from the following files: