Classes | Public Types | Public Member Functions | Public Attributes | Private Member Functions | Private Attributes | Friends | List of all members
hrp::ColdetModelSharedDataSet Class Reference

#include <ColdetModelSharedDataSet.h>

Classes

struct  NeighborTriangleSet
 

Public Types

typedef std::vector< NeighborTriangleSetNeighborTriangleSetArray
 

Public Member Functions

bool build ()
 
 ColdetModelSharedDataSet ()
 
int getAABBTreeDepth ()
 
int getmaxNumofBB ()
 
int getNumofBB (int depth)
 

Public Attributes

Opcode::MeshInterface iMesh
 
Opcode::Model model
 
NeighborTriangleSetArray neighbor
 
std::vector< float > pParams
 
ColdetModel::PrimitiveType pType
 
vector< IceMaths::IndexedTriangletriangles
 
vector< IceMaths::Pointvertices
 

Private Member Functions

int computeDepth (const Opcode::AABBCollisionNode *node, int currentDepth, int max)
 

Private Attributes

int AABBTreeMaxDepth
 
std::vector< intnumBBMap
 
std::vector< intnumLeafMap
 
int refCounter
 

Friends

class ColdetModel
 

Detailed Description

Definition at line 29 of file ColdetModelSharedDataSet.h.

Member Typedef Documentation

◆ NeighborTriangleSetArray

Definition at line 59 of file ColdetModelSharedDataSet.h.

Constructor & Destructor Documentation

◆ ColdetModelSharedDataSet()

ColdetModelSharedDataSet::ColdetModelSharedDataSet ( )

Definition at line 55 of file ColdetModel.cpp.

Member Function Documentation

◆ build()

bool ColdetModelSharedDataSet::build ( )

Definition at line 159 of file ColdetModel.cpp.

◆ computeDepth()

int ColdetModelSharedDataSet::computeDepth ( const Opcode::AABBCollisionNode node,
int  currentDepth,
int  max 
)
private

Definition at line 230 of file ColdetModel.cpp.

◆ getAABBTreeDepth()

int hrp::ColdetModelSharedDataSet::getAABBTreeDepth ( )
inline

Definition at line 78 of file ColdetModelSharedDataSet.h.

◆ getmaxNumofBB()

int hrp::ColdetModelSharedDataSet::getmaxNumofBB ( )
inline

Definition at line 84 of file ColdetModelSharedDataSet.h.

◆ getNumofBB()

int hrp::ColdetModelSharedDataSet::getNumofBB ( int  depth)
inline

Definition at line 81 of file ColdetModelSharedDataSet.h.

Friends And Related Function Documentation

◆ ColdetModel

friend class ColdetModel
friend

Definition at line 98 of file ColdetModelSharedDataSet.h.

Member Data Documentation

◆ AABBTreeMaxDepth

int hrp::ColdetModelSharedDataSet::AABBTreeMaxDepth
private

Definition at line 93 of file ColdetModelSharedDataSet.h.

◆ iMesh

Opcode::MeshInterface hrp::ColdetModelSharedDataSet::iMesh

Definition at line 68 of file ColdetModelSharedDataSet.h.

◆ model

Opcode::Model hrp::ColdetModelSharedDataSet::model

Definition at line 66 of file ColdetModelSharedDataSet.h.

◆ neighbor

NeighborTriangleSetArray hrp::ColdetModelSharedDataSet::neighbor

Definition at line 76 of file ColdetModelSharedDataSet.h.

◆ numBBMap

std::vector<int> hrp::ColdetModelSharedDataSet::numBBMap
private

Definition at line 94 of file ColdetModelSharedDataSet.h.

◆ numLeafMap

std::vector<int> hrp::ColdetModelSharedDataSet::numLeafMap
private

Definition at line 95 of file ColdetModelSharedDataSet.h.

◆ pParams

std::vector<float> hrp::ColdetModelSharedDataSet::pParams

Definition at line 74 of file ColdetModelSharedDataSet.h.

◆ pType

ColdetModel::PrimitiveType hrp::ColdetModelSharedDataSet::pType

Definition at line 73 of file ColdetModelSharedDataSet.h.

◆ refCounter

int hrp::ColdetModelSharedDataSet::refCounter
private

Definition at line 89 of file ColdetModelSharedDataSet.h.

◆ triangles

vector<IceMaths::IndexedTriangle> hrp::ColdetModelSharedDataSet::triangles

Definition at line 71 of file ColdetModelSharedDataSet.h.

◆ vertices

vector<IceMaths::Point> hrp::ColdetModelSharedDataSet::vertices

Definition at line 70 of file ColdetModelSharedDataSet.h.


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


openhrp3
Author(s): AIST, General Robotix Inc., Nakamura Lab of Dept. of Mechano Informatics at University of Tokyo
autogenerated on Thu Sep 8 2022 02:24:08