Public Member Functions | Public Attributes | List of all members
hpp::fcl::HFNodeBase Struct Reference

#include <hfield.h>

Inheritance diagram for hpp::fcl::HFNodeBase:
Inheritance graph
[legend]

Public Member Functions

 HFNodeBase ()
 Default constructor. More...
 
bool isLeaf () const
 Whether current node is a leaf node (i.e. contains a primitive index) More...
 
size_t leftChild () const
 Return the index of the first child. The index is referred to the bounding volume array (i.e. bvs) in BVHModel. More...
 
Eigen::Vector2i leftChildIndexes () const
 
bool operator!= (const HFNodeBase &other) const
 Difference operator. More...
 
bool operator== (const HFNodeBase &other) const
 Comparison operator. More...
 
size_t rightChild () const
 Return the index of the second child. The index is referred to the bounding volume array (i.e. bvs) in BVHModel. More...
 
Eigen::Vector2i rightChildIndexes () const
 

Public Attributes

size_t first_child
 An index for first child node or primitive If the value is positive, it is the index of the first child bv node If the value is negative, it is -(primitive index + 1) Zero is not used. More...
 
FCL_REAL max_height
 
Eigen::DenseIndex x_id
 
Eigen::DenseIndex x_size
 
Eigen::DenseIndex y_id
 
Eigen::DenseIndex y_size
 

Detailed Description

Definition at line 53 of file hfield.h.

Constructor & Destructor Documentation

◆ HFNodeBase()

hpp::fcl::HFNodeBase::HFNodeBase ( )
inline

Default constructor.

Definition at line 66 of file hfield.h.

Member Function Documentation

◆ isLeaf()

bool hpp::fcl::HFNodeBase::isLeaf ( ) const
inline

Whether current node is a leaf node (i.e. contains a primitive index)

Definition at line 86 of file hfield.h.

◆ leftChild()

size_t hpp::fcl::HFNodeBase::leftChild ( ) const
inline

Return the index of the first child. The index is referred to the bounding volume array (i.e. bvs) in BVHModel.

Definition at line 90 of file hfield.h.

◆ leftChildIndexes()

Eigen::Vector2i hpp::fcl::HFNodeBase::leftChildIndexes ( ) const
inline

Definition at line 96 of file hfield.h.

◆ operator!=()

bool hpp::fcl::HFNodeBase::operator!= ( const HFNodeBase other) const
inline

Difference operator.

Definition at line 82 of file hfield.h.

◆ operator==()

bool hpp::fcl::HFNodeBase::operator== ( const HFNodeBase other) const
inline

Comparison operator.

Definition at line 75 of file hfield.h.

◆ rightChild()

size_t hpp::fcl::HFNodeBase::rightChild ( ) const
inline

Return the index of the second child. The index is referred to the bounding volume array (i.e. bvs) in BVHModel.

Definition at line 94 of file hfield.h.

◆ rightChildIndexes()

Eigen::Vector2i hpp::fcl::HFNodeBase::rightChildIndexes ( ) const
inline

Definition at line 99 of file hfield.h.

Member Data Documentation

◆ first_child

size_t hpp::fcl::HFNodeBase::first_child

An index for first child node or primitive If the value is positive, it is the index of the first child bv node If the value is negative, it is -(primitive index + 1) Zero is not used.

Definition at line 58 of file hfield.h.

◆ max_height

FCL_REAL hpp::fcl::HFNodeBase::max_height

Definition at line 63 of file hfield.h.

◆ x_id

Eigen::DenseIndex hpp::fcl::HFNodeBase::x_id

Definition at line 60 of file hfield.h.

◆ x_size

Eigen::DenseIndex hpp::fcl::HFNodeBase::x_size

Definition at line 60 of file hfield.h.

◆ y_id

Eigen::DenseIndex hpp::fcl::HFNodeBase::y_id

Definition at line 61 of file hfield.h.

◆ y_size

Eigen::DenseIndex hpp::fcl::HFNodeBase::y_size

Definition at line 61 of file hfield.h.


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


hpp-fcl
Author(s):
autogenerated on Fri Jun 2 2023 02:39:03