Open CASCADE Technology  7.0.0
Public Member Functions | Data Fields
BVH_QueueBuilder< T, N >::BVH_ChildNodes Struct Reference

Stores parameters of constructed child nodes. More...

#include <BVH_QueueBuilder.hxx>

Public Member Functions

 BVH_ChildNodes ()
 Creates new parameters of BVH child nodes. More...
 
 BVH_ChildNodes (const BVH_Box< T, N > &theLftBox, const BVH_Box< T, N > &theRghBox, const BVH_PrimitiveRange &theLftRange, const BVH_PrimitiveRange &theRghRange)
 Creates new parameters of BVH child nodes. More...
 
Standard_Integer NbPrims (const Standard_Integer theChild) const
 Returns number of primitives in the given child. More...
 
Standard_Boolean IsValid () const
 Checks if the parameters is initialized. More...
 

Data Fields

BVH_Box< T, N > Boxes [2]
 Bounding boxes of child nodes. More...
 
BVH_PrimitiveRange Ranges [2]
 Primitive ranges of child nodes. More...
 

Detailed Description

template<class T, int N>
struct BVH_QueueBuilder< T, N >::BVH_ChildNodes

Stores parameters of constructed child nodes.

Constructor & Destructor Documentation

template<class T , int N>
BVH_QueueBuilder< T, N >::BVH_ChildNodes::BVH_ChildNodes ( )
inline

Creates new parameters of BVH child nodes.

template<class T , int N>
BVH_QueueBuilder< T, N >::BVH_ChildNodes::BVH_ChildNodes ( const BVH_Box< T, N > &  theLftBox,
const BVH_Box< T, N > &  theRghBox,
const BVH_PrimitiveRange theLftRange,
const BVH_PrimitiveRange theRghRange 
)
inline

Creates new parameters of BVH child nodes.

Member Function Documentation

template<class T , int N>
Standard_Boolean BVH_QueueBuilder< T, N >::BVH_ChildNodes::IsValid ( ) const
inline

Checks if the parameters is initialized.

template<class T , int N>
Standard_Integer BVH_QueueBuilder< T, N >::BVH_ChildNodes::NbPrims ( const Standard_Integer  theChild) const
inline

Returns number of primitives in the given child.

Field Documentation

template<class T , int N>
BVH_Box<T, N> BVH_QueueBuilder< T, N >::BVH_ChildNodes::Boxes[2]

Bounding boxes of child nodes.

template<class T , int N>
BVH_PrimitiveRange BVH_QueueBuilder< T, N >::BVH_ChildNodes::Ranges[2]

Primitive ranges of child nodes.


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