TTK
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | List of all members
ttk::BoundingVolumeHierarchy< IT >::Node Struct Reference

#include <BoundingVolumeHierarchy.h>

Public Member Functions

 Node ()=default
 
 Node (const std::vector< int > &triangleIndices, const size_t nTriangles, const float *pMin, const float *pMax)
 
 Node (const int axis, const std::shared_ptr< Node > &left, const std::shared_ptr< Node > &right)
 
 ~Node ()=default
 

Public Attributes

std::vector< int > indices
 
int numTriangles
 
float m_minX
 
float m_minY
 
float m_minZ
 
float m_maxX
 
float m_maxY
 
float m_maxZ
 
std::shared_ptr< Nodem_left
 
std::shared_ptr< Nodem_right
 
int m_splitAxis
 

Detailed Description

template<typename IT>
struct ttk::BoundingVolumeHierarchy< IT >::Node

Definition at line 26 of file BoundingVolumeHierarchy.h.

Constructor & Destructor Documentation

◆ Node() [1/3]

template<typename IT >
ttk::BoundingVolumeHierarchy< IT >::Node::Node ( )
default

◆ Node() [2/3]

template<typename IT >
ttk::BoundingVolumeHierarchy< IT >::Node::Node ( const std::vector< int > &  triangleIndices,
const size_t  nTriangles,
const float *  pMin,
const float *  pMax 
)
inline

Definition at line 29 of file BoundingVolumeHierarchy.h.

◆ Node() [3/3]

template<typename IT >
ttk::BoundingVolumeHierarchy< IT >::Node::Node ( const int  axis,
const std::shared_ptr< Node > &  left,
const std::shared_ptr< Node > &  right 
)
inline

Definition at line 43 of file BoundingVolumeHierarchy.h.

◆ ~Node()

template<typename IT >
ttk::BoundingVolumeHierarchy< IT >::Node::~Node ( )
default

Member Data Documentation

◆ indices

template<typename IT >
std::vector<int> ttk::BoundingVolumeHierarchy< IT >::Node::indices

Definition at line 60 of file BoundingVolumeHierarchy.h.

◆ m_left

template<typename IT >
std::shared_ptr<Node> ttk::BoundingVolumeHierarchy< IT >::Node::m_left

Definition at line 64 of file BoundingVolumeHierarchy.h.

◆ m_maxX

template<typename IT >
float ttk::BoundingVolumeHierarchy< IT >::Node::m_maxX

Definition at line 63 of file BoundingVolumeHierarchy.h.

◆ m_maxY

template<typename IT >
float ttk::BoundingVolumeHierarchy< IT >::Node::m_maxY

Definition at line 63 of file BoundingVolumeHierarchy.h.

◆ m_maxZ

template<typename IT >
float ttk::BoundingVolumeHierarchy< IT >::Node::m_maxZ

Definition at line 63 of file BoundingVolumeHierarchy.h.

◆ m_minX

template<typename IT >
float ttk::BoundingVolumeHierarchy< IT >::Node::m_minX

Definition at line 62 of file BoundingVolumeHierarchy.h.

◆ m_minY

template<typename IT >
float ttk::BoundingVolumeHierarchy< IT >::Node::m_minY

Definition at line 62 of file BoundingVolumeHierarchy.h.

◆ m_minZ

template<typename IT >
float ttk::BoundingVolumeHierarchy< IT >::Node::m_minZ

Definition at line 62 of file BoundingVolumeHierarchy.h.

◆ m_right

template<typename IT >
std::shared_ptr<Node> ttk::BoundingVolumeHierarchy< IT >::Node::m_right

Definition at line 65 of file BoundingVolumeHierarchy.h.

◆ m_splitAxis

template<typename IT >
int ttk::BoundingVolumeHierarchy< IT >::Node::m_splitAxis

Definition at line 66 of file BoundingVolumeHierarchy.h.

◆ numTriangles

template<typename IT >
int ttk::BoundingVolumeHierarchy< IT >::Node::numTriangles

Definition at line 61 of file BoundingVolumeHierarchy.h.


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