TexGen
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
TexGen::COctreeAgentNode Class Reference

Octree agent used to add indexed nodes to an octree. More...

#include <MeshOctreeClasses.h>

Inheritance diagram for TexGen::COctreeAgentNode:
Inheritance graph
[legend]

Public Member Functions

 COctreeAgentNode (double dTolerance=0)
 
 ~COctreeAgentNode ()
 

Protected Member Functions

bool isOverlappingCell (const pair< int, XYZ > &item, const Vector3f &lowerCorner, const Vector3f &upperCorner) const
 
dword getSubcellOverlaps (const pair< int, XYZ > &item, const Vector3f &lower, const Vector3f &middle, const Vector3f &upper) const
 

Protected Attributes

double m_dTolerance
 

Detailed Description

Octree agent used to add indexed nodes to an octree.

Definition at line 30 of file MeshOctreeClasses.h.

Constructor & Destructor Documentation

◆ COctreeAgentNode()

TexGen::COctreeAgentNode::COctreeAgentNode ( double  dTolerance = 0)
inline

Definition at line 33 of file MeshOctreeClasses.h.

◆ ~COctreeAgentNode()

TexGen::COctreeAgentNode::~COctreeAgentNode ( )
inline

Definition at line 34 of file MeshOctreeClasses.h.

Member Function Documentation

◆ getSubcellOverlaps()

dword COctreeAgentNode::getSubcellOverlaps ( const pair< int, XYZ > &  item,
const Vector3f &  lower,
const Vector3f &  middle,
const Vector3f &  upper 
) const
protected

efficiency could (probably) be improved by doing minimal necessary checks against the dividing bounds, instead of repeatedly delegating to isOverlappingCell().

Definition at line 31 of file MeshOctreeClasses.cpp.

References isOverlappingCell().

◆ isOverlappingCell()

bool COctreeAgentNode::isOverlappingCell ( const pair< int, XYZ > &  item,
const Vector3f &  lowerCorner,
const Vector3f &  upperCorner 
) const
protected

Definition at line 25 of file MeshOctreeClasses.cpp.

References m_dTolerance.

Referenced by getSubcellOverlaps().

Member Data Documentation

◆ m_dTolerance

double TexGen::COctreeAgentNode::m_dTolerance
protected

Definition at line 40 of file MeshOctreeClasses.h.

Referenced by isOverlappingCell().


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