Public Types | Public Member Functions | Public Attributes | List of all members
coal::HFNodeBase Struct Reference

#include <hfield.h>

Inheritance diagram for coal::HFNodeBase:
Inheritance graph
[legend]

Public Types

enum  FaceOrientation {
  FaceOrientation::TOP = 1, FaceOrientation::BOTTOM = 1, FaceOrientation::NORTH = 2, FaceOrientation::EAST = 4,
  FaceOrientation::SOUTH = 8, FaceOrientation::WEST = 16
}
 

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

int contact_active_faces
 
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...
 
CoalScalar 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 coal/hfield.h.

Member Enumeration Documentation

◆ FaceOrientation

Enumerator
TOP 
BOTTOM 
NORTH 
EAST 
SOUTH 
WEST 

Definition at line 56 of file coal/hfield.h.

Constructor & Destructor Documentation

◆ HFNodeBase()

coal::HFNodeBase::HFNodeBase ( )
inline

Default constructor.

Definition at line 78 of file coal/hfield.h.

Member Function Documentation

◆ isLeaf()

bool coal::HFNodeBase::isLeaf ( ) const
inline

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

Definition at line 100 of file coal/hfield.h.

◆ leftChild()

size_t coal::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 104 of file coal/hfield.h.

◆ leftChildIndexes()

Eigen::Vector2i coal::HFNodeBase::leftChildIndexes ( ) const
inline

Definition at line 110 of file coal/hfield.h.

◆ operator!=()

bool coal::HFNodeBase::operator!= ( const HFNodeBase other) const
inline

Difference operator.

Definition at line 96 of file coal/hfield.h.

◆ operator==()

bool coal::HFNodeBase::operator== ( const HFNodeBase other) const
inline

Comparison operator.

Definition at line 88 of file coal/hfield.h.

◆ rightChild()

size_t coal::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 108 of file coal/hfield.h.

◆ rightChildIndexes()

Eigen::Vector2i coal::HFNodeBase::rightChildIndexes ( ) const
inline

Definition at line 113 of file coal/hfield.h.

Member Data Documentation

◆ contact_active_faces

int coal::HFNodeBase::contact_active_faces

Definition at line 75 of file coal/hfield.h.

◆ first_child

size_t coal::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 69 of file coal/hfield.h.

◆ max_height

CoalScalar coal::HFNodeBase::max_height

Definition at line 74 of file coal/hfield.h.

◆ x_id

Eigen::DenseIndex coal::HFNodeBase::x_id

Definition at line 71 of file coal/hfield.h.

◆ x_size

Eigen::DenseIndex coal::HFNodeBase::x_size

Definition at line 71 of file coal/hfield.h.

◆ y_id

Eigen::DenseIndex coal::HFNodeBase::y_id

Definition at line 72 of file coal/hfield.h.

◆ y_size

Eigen::DenseIndex coal::HFNodeBase::y_size

Definition at line 72 of file coal/hfield.h.


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


hpp-fcl
Author(s):
autogenerated on Sat Nov 23 2024 03:45:00