API Documentation
Loading...
Searching...
No Matches
TriangleIterator< t_dims, t_type > Class Template Reference

#include <Geometry.h>

Collaboration diagram for TriangleIterator< t_dims, t_type >:
[legend]

Public Member Functions

 TriangleIterator (PrimitiveProperty primitive_property, VertexProperty vertex_property, Geometry mesh)
 
 TriangleIterator (PrimitiveProperty primitive_property, const String &vertex_property, Geometry mesh)
 
Triangle< t_dims, t_type > operator[] (uint04 index) const
 
Vector< 3, uint04vertexIndex (uint04 index) const
 
uint04 size () const
 

Protected Member Functions

Vector< 3, uint04rawIndex (uint04 index) const
 

Protected Attributes

Geometry::OptimizedPrimitiveDef m_primitive_def
 
const TableColumnm_vertex_column
 
uint04 m_primitive_count
 
const uint04 m_vertex_offset
 

Constructor & Destructor Documentation

◆ TriangleIterator() [1/2]

template<uint01 t_dims, class t_type >
TriangleIterator ( PrimitiveProperty primitive_property,
VertexProperty vertex_property,
Geometry mesh )
inline

◆ TriangleIterator() [2/2]

template<uint01 t_dims, class t_type >
TriangleIterator ( PrimitiveProperty primitive_property,
const String & vertex_property,
Geometry mesh )
inline

Member Function Documentation

◆ operator[]()

template<uint01 t_dims, class t_type >
Triangle< t_dims, t_type > operator[] ( uint04 index) const
inline

◆ rawIndex()

template<uint01 t_dims, class t_type >
Vector< 3, uint04 > rawIndex ( uint04 index) const
inlineprotected

◆ size()

template<uint01 t_dims, class t_type >
uint04 size ( ) const
inline

◆ vertexIndex()

template<uint01 t_dims, class t_type >
Vector< 3, uint04 > vertexIndex ( uint04 index) const
inline

Member Data Documentation

◆ m_primitive_count

template<uint01 t_dims, class t_type >
uint04 m_primitive_count
protected

◆ m_primitive_def

template<uint01 t_dims, class t_type >
Geometry::OptimizedPrimitiveDef m_primitive_def
protected

◆ m_vertex_column

template<uint01 t_dims, class t_type >
const TableColumn& m_vertex_column
protected

◆ m_vertex_offset

template<uint01 t_dims, class t_type >
const uint04 m_vertex_offset
protected

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