Octree visitor used to get a list of elements near given line.
More...
#include <MeshOctreeClasses.h>
|
void | visitRoot (const OctreeCell *pRootCell, const OctreeData &octreeData) |
|
void | visitBranch (const OctreeCell *subCells[8], const OctreeData &octreeData) |
|
void | visitLeaf (const Array< const MESH_ELEMENT * > &items, const OctreeData &octreeData) |
|
Octree visitor used to get a list of elements near given line.
Definition at line 132 of file MeshOctreeClasses.h.
◆ COctreeVisitorElementNearLine()
TexGen::COctreeVisitorElementNearLine::COctreeVisitorElementNearLine |
( |
const XYZ & |
P1, |
|
|
const XYZ & |
P2, |
|
|
list< vector< int > > & |
Elements, |
|
|
pair< bool, bool > |
TrimLine |
|
) |
| |
|
inline |
Get a list of elements that are likely to intersect with the given line.
- Parameters
-
P1 | Origin of the line |
P2 | End of the line |
Elements | A list of elements near the line |
TrimLine | If true the line ends at the origin and end respecitively |
Definition at line 142 of file MeshOctreeClasses.h.
◆ ~COctreeVisitorElementNearLine()
TexGen::COctreeVisitorElementNearLine::~COctreeVisitorElementNearLine |
( |
| ) |
|
|
inline |
◆ visitBranch()
void COctreeVisitorElementNearLine::visitBranch |
( |
const OctreeCell * |
subCells[8], |
|
|
const OctreeData & |
octreeData |
|
) |
| |
|
protected |
◆ visitLeaf()
void COctreeVisitorElementNearLine::visitLeaf |
( |
const Array< const MESH_ELEMENT * > & |
items, |
|
|
const OctreeData & |
octreeData |
|
) |
| |
|
protected |
◆ visitRoot()
void COctreeVisitorElementNearLine::visitRoot |
( |
const OctreeCell * |
pRootCell, |
|
|
const OctreeData & |
octreeData |
|
) |
| |
|
protected |
◆ m_Elements
list< vector<int> >& TexGen::COctreeVisitorElementNearLine::m_Elements |
|
protected |
◆ m_P1
const XYZ& TexGen::COctreeVisitorElementNearLine::m_P1 |
|
protected |
◆ m_P2
const XYZ& TexGen::COctreeVisitorElementNearLine::m_P2 |
|
protected |
◆ m_TrimLine
pair<bool, bool> TexGen::COctreeVisitorElementNearLine::m_TrimLine |
|
protected |
◆ m_Used
vector<bool> TexGen::COctreeVisitorElementNearLine::m_Used |
|
protected |
The documentation for this class was generated from the following files: