#include <octree_template.h>
Definition at line 52 of file octree_template.h.
typedef vcg::Box3<ScalarType> vcg::OctreeTemplate< VOXEL_TYPE, SCALAR_TYPE >::BoundingBoxType |
Reimplemented in vcg::Octree< OBJECT_TYPE, SCALAR_TYPE >, and vcg::Octree< FaceType, typename MetroMesh::ScalarType >.
Definition at line 68 of file octree_template.h.
typedef vcg::Point3i vcg::OctreeTemplate< VOXEL_TYPE, SCALAR_TYPE >::CenterType |
Reimplemented in vcg::Octree< OBJECT_TYPE, SCALAR_TYPE >, and vcg::Octree< FaceType, typename MetroMesh::ScalarType >.
Definition at line 63 of file octree_template.h.
typedef vcg::Point3<ScalarType> vcg::OctreeTemplate< VOXEL_TYPE, SCALAR_TYPE >::CoordinateType |
Definition at line 69 of file octree_template.h.
typedef int vcg::OctreeTemplate< VOXEL_TYPE, SCALAR_TYPE >::NodeIndex |
Reimplemented in vcg::Octree< OBJECT_TYPE, SCALAR_TYPE >, and vcg::Octree< FaceType, typename MetroMesh::ScalarType >.
Definition at line 66 of file octree_template.h.
typedef NodeType* vcg::OctreeTemplate< VOXEL_TYPE, SCALAR_TYPE >::NodePointer |
Reimplemented in vcg::Octree< OBJECT_TYPE, SCALAR_TYPE >, and vcg::Octree< FaceType, typename MetroMesh::ScalarType >.
Definition at line 67 of file octree_template.h.
typedef Node vcg::OctreeTemplate< VOXEL_TYPE, SCALAR_TYPE >::NodeType |
Reimplemented in vcg::Octree< OBJECT_TYPE, SCALAR_TYPE >, and vcg::Octree< FaceType, typename MetroMesh::ScalarType >.
Definition at line 65 of file octree_template.h.
typedef SCALAR_TYPE vcg::OctreeTemplate< VOXEL_TYPE, SCALAR_TYPE >::ScalarType |
Reimplemented in vcg::Octree< OBJECT_TYPE, SCALAR_TYPE >, and vcg::Octree< FaceType, typename MetroMesh::ScalarType >.
Definition at line 60 of file octree_template.h.
typedef VoxelType* vcg::OctreeTemplate< VOXEL_TYPE, SCALAR_TYPE >::VoxelPointer |
Reimplemented in vcg::Octree< OBJECT_TYPE, SCALAR_TYPE >, and vcg::Octree< FaceType, typename MetroMesh::ScalarType >.
Definition at line 62 of file octree_template.h.
typedef VOXEL_TYPE vcg::OctreeTemplate< VOXEL_TYPE, SCALAR_TYPE >::VoxelType |
Reimplemented in vcg::Octree< OBJECT_TYPE, SCALAR_TYPE >, and vcg::Octree< FaceType, typename MetroMesh::ScalarType >.
Definition at line 61 of file octree_template.h.
typedef unsigned long long vcg::OctreeTemplate< VOXEL_TYPE, SCALAR_TYPE >::ZOrderType |
Reimplemented in vcg::Octree< OBJECT_TYPE, SCALAR_TYPE >, and vcg::Octree< FaceType, typename MetroMesh::ScalarType >.
Definition at line 55 of file octree_template.h.
NodePointer vcg::OctreeTemplate< VOXEL_TYPE, SCALAR_TYPE >::AddNode | ( | CenterType | path | ) | [inline] |
Definition at line 397 of file octree_template.h.
BoundingBoxType vcg::OctreeTemplate< VOXEL_TYPE, SCALAR_TYPE >::BoundingBox | ( | ) | [inline] |
Definition at line 170 of file octree_template.h.
BoundingBoxType vcg::OctreeTemplate< VOXEL_TYPE, SCALAR_TYPE >::BoundingBoxInWorldCoordinates | ( | const NodePointer | n | ) | [inline] |
Definition at line 286 of file octree_template.h.
void vcg::OctreeTemplate< VOXEL_TYPE, SCALAR_TYPE >::BoundingBoxInWorldCoordinates | ( | const NodePointer | n, |
BoundingBoxType & | wc_bb | ||
) | const [inline] |
Return the bounding-box of a node expressed in world-coordinate
NodePointer | the node whose bounding-box has to be computed |
wc_BB | the bounding-box of the node in world coordinta |
Definition at line 305 of file octree_template.h.
ZOrderType vcg::OctreeTemplate< VOXEL_TYPE, SCALAR_TYPE >::BuildRoute | ( | const CoordinateType & | p, |
NodePointer *& | route | ||
) | [inline] |
Definition at line 552 of file octree_template.h.
CoordinateType vcg::OctreeTemplate< VOXEL_TYPE, SCALAR_TYPE >::Center | ( | NodePointer | n | ) | const [inline] |
Definition at line 273 of file octree_template.h.
CenterType vcg::OctreeTemplate< VOXEL_TYPE, SCALAR_TYPE >::CenterInOctreeCoordinates | ( | const NodePointer | n | ) | const [inline] |
Definition at line 205 of file octree_template.h.
void vcg::OctreeTemplate< VOXEL_TYPE, SCALAR_TYPE >::CenterInWorldCoordinates | ( | const NodePointer | n, |
CoordinateType & | wc_Center | ||
) | const [inline] |
Return the center of the n-th node expressed in world-coordinate
NodePointer | the pointer to the node whose center in world coordinate has to be computed |
Definition at line 211 of file octree_template.h.
ZOrderType vcg::OctreeTemplate< VOXEL_TYPE, SCALAR_TYPE >::ComputeZOrder | ( | const CoordinateType & | query | ) | const [inline] |
Definition at line 470 of file octree_template.h.
void vcg::OctreeTemplate< VOXEL_TYPE, SCALAR_TYPE >::ContainedLeaves | ( | BoundingBoxType & | query, |
std::vector< NodePointer > & | leaves, | ||
NodePointer | node, | ||
BoundingBoxType & | nodeBB | ||
) | [inline] |
Definition at line 665 of file octree_template.h.
void vcg::OctreeTemplate< VOXEL_TYPE, SCALAR_TYPE >::ContainedNodes | ( | BoundingBoxType & | query, |
std::vector< NodePointer > & | nodes, | ||
int | depth, | ||
NodePointer | n, | ||
BoundingBoxType & | nodeBB | ||
) | [inline] |
Definition at line 632 of file octree_template.h.
NodePointer vcg::OctreeTemplate< VOXEL_TYPE, SCALAR_TYPE >::DeepestNode | ( | CenterType | path, |
int | MaxLev | ||
) | [inline] |
Definition at line 493 of file octree_template.h.
CoordinateType vcg::OctreeTemplate< VOXEL_TYPE, SCALAR_TYPE >::DeInterize | ( | const CenterType & | pi | ) | const [inline] |
Definition at line 451 of file octree_template.h.
CenterType vcg::OctreeTemplate< VOXEL_TYPE, SCALAR_TYPE >::GetPath | ( | NodePointer | n | ) | const [inline] |
Definition at line 525 of file octree_template.h.
bool vcg::OctreeTemplate< VOXEL_TYPE, SCALAR_TYPE >::GetRoute | ( | const CoordinateType & | p, |
NodePointer *& | route | ||
) | [inline] |
Definition at line 593 of file octree_template.h.
void vcg::OctreeTemplate< VOXEL_TYPE, SCALAR_TYPE >::Initialize | ( | int | maximumDepth | ) | [inline] |
Definition at line 152 of file octree_template.h.
CenterType vcg::OctreeTemplate< VOXEL_TYPE, SCALAR_TYPE >::Interize | ( | const CoordinateType & | pf | ) | const [inline] |
Given a query point, compute the z_order of the leaf where this point would be contained. This leaf not necessarily must be exist!
Definition at line 434 of file octree_template.h.
char vcg::OctreeTemplate< VOXEL_TYPE, SCALAR_TYPE >::Level | ( | const NodePointer | n | ) | const [inline] |
Definition at line 182 of file octree_template.h.
NodePointer vcg::OctreeTemplate< VOXEL_TYPE, SCALAR_TYPE >::NewNode | ( | NodePointer | parent, |
int | i | ||
) | [inline] |
Definition at line 373 of file octree_template.h.
int vcg::OctreeTemplate< VOXEL_TYPE, SCALAR_TYPE >::NodeCount | ( | ) | const [inline] |
Definition at line 176 of file octree_template.h.
NodePointer vcg::OctreeTemplate< VOXEL_TYPE, SCALAR_TYPE >::Parent | ( | const NodePointer | n | ) | const [inline] |
Definition at line 188 of file octree_template.h.
NodePointer vcg::OctreeTemplate< VOXEL_TYPE, SCALAR_TYPE >::Root | ( | ) | const [inline] |
Definition at line 179 of file octree_template.h.
NodePointer& vcg::OctreeTemplate< VOXEL_TYPE, SCALAR_TYPE >::Son | ( | NodePointer | n, |
int | i | ||
) | const [inline] |
Definition at line 185 of file octree_template.h.
BoundingBoxType vcg::OctreeTemplate< VOXEL_TYPE, SCALAR_TYPE >::SubBox | ( | BoundingBoxType & | lbb, |
int | i | ||
) | [inline] |
Definition at line 317 of file octree_template.h.
BoundingBoxType vcg::OctreeTemplate< VOXEL_TYPE, SCALAR_TYPE >::SubBoxAndCenterInWorldCoordinates | ( | BoundingBoxType & | lbb, |
CoordinateType & | center, | ||
int | i | ||
) | [inline] |
Definition at line 332 of file octree_template.h.
VoxelPointer vcg::OctreeTemplate< VOXEL_TYPE, SCALAR_TYPE >::Voxel | ( | const NodePointer | n | ) | [inline] |
Definition at line 173 of file octree_template.h.
int vcg::OctreeTemplate< VOXEL_TYPE, SCALAR_TYPE >::WhatSon | ( | NodePointer | n | ) | const [inline] |
Definition at line 191 of file octree_template.h.
ZOrderType vcg::OctreeTemplate< VOXEL_TYPE, SCALAR_TYPE >::ZOrder | ( | NodePointer | n | ) | const [inline] |
Definition at line 469 of file octree_template.h.
ZOrderType vcg::OctreeTemplate< VOXEL_TYPE, SCALAR_TYPE >::ZOrder | ( | const CenterType & | path, |
const char | level | ||
) | const [inline] |
Definition at line 472 of file octree_template.h.
BoundingBoxType vcg::OctreeTemplate< VOXEL_TYPE, SCALAR_TYPE >::boundingBox |
Definition at line 716 of file octree_template.h.
const SCALAR_TYPE vcg::OctreeTemplate< VOXEL_TYPE, SCALAR_TYPE >::EXPANSION_FACTOR = SCALAR_TYPE(0.035) [static] |
Definition at line 64 of file octree_template.h.
ScalarType vcg::OctreeTemplate< VOXEL_TYPE, SCALAR_TYPE >::leafDiagonal |
Definition at line 710 of file octree_template.h.
CoordinateType vcg::OctreeTemplate< VOXEL_TYPE, SCALAR_TYPE >::leafDimension |
Definition at line 707 of file octree_template.h.
int vcg::OctreeTemplate< VOXEL_TYPE, SCALAR_TYPE >::lSize |
Definition at line 701 of file octree_template.h.
int vcg::OctreeTemplate< VOXEL_TYPE, SCALAR_TYPE >::maximumDepth |
Definition at line 704 of file octree_template.h.
std::vector< Node* > vcg::OctreeTemplate< VOXEL_TYPE, SCALAR_TYPE >::nodes |
Definition at line 713 of file octree_template.h.
int vcg::OctreeTemplate< VOXEL_TYPE, SCALAR_TYPE >::size |
Definition at line 690 of file octree_template.h.