Public Member Functions | Private Member Functions | Private Attributes | Friends | List of all members
ColInfo Class Reference

#include <colinfo.h>

Public Member Functions

int AddCharPairs (const char *char1, const char *char2, Chain *chain, SceneGraph *sg)
 
int AddJointPair (const char *joint1, const char *joint2, Chain *chain, SceneGraph *sg)
 
ColModelAddModel (Joint *jref, SceneGraph *sg)
 
 ColInfo ()
 
ColModelModel (int i)
 
ColModelModel (Joint *jref)
 
int NumModels ()
 
int NumPairs ()
 
int NumTriangles ()
 
ColPairPair (int i)
 
ColPairPair (Joint *jref1, Joint *jref2)
 
 ~ColInfo ()
 

Private Member Functions

int add_char_pairs (Joint *cur, const char *char1, const char *char2, Chain *chain, SceneGraph *sg)
 
int add_char_pairs (Joint *j1, Joint *j2, const char *char2, SceneGraph *sg)
 
int add_joint_pair (Joint *j1, Joint *j2, SceneGraph *sg)
 
void add_model (ColModel *m)
 
void add_pair (ColPair *p)
 
void allocate_model (int n_new_alloc)
 
void allocate_pair (int n_new_alloc)
 

Private Attributes

ColModel ** models
 
int n_allocated_models
 
int n_allocated_pairs
 
int n_models
 
int n_pairs
 
int n_total_tri
 
ColPair ** pairs
 

Friends

class ColModel
 
class ColPair
 

Detailed Description

Definition at line 38 of file colinfo.h.

Constructor & Destructor Documentation

ColInfo::ColInfo ( )
inline

Definition at line 43 of file colinfo.h.

ColInfo::~ColInfo ( )
inline

Definition at line 52 of file colinfo.h.

Member Function Documentation

int ColInfo::add_char_pairs ( Joint cur,
const char *  char1,
const char *  char2,
Chain chain,
SceneGraph *  sg 
)
private

Definition at line 438 of file colinfo.cpp.

int ColInfo::add_char_pairs ( Joint j1,
Joint j2,
const char *  char2,
SceneGraph *  sg 
)
private

Definition at line 451 of file colinfo.cpp.

int ColInfo::add_joint_pair ( Joint j1,
Joint j2,
SceneGraph *  sg 
)
private

Definition at line 475 of file colinfo.cpp.

void ColInfo::add_model ( ColModel m)
private

Definition at line 423 of file colinfo.cpp.

void ColInfo::add_pair ( ColPair p)
private

ColInfo functions

Definition at line 416 of file colinfo.cpp.

int ColInfo::AddCharPairs ( const char *  char1,
const char *  char2,
Chain chain,
SceneGraph *  sg 
)

Definition at line 431 of file colinfo.cpp.

int ColInfo::AddJointPair ( const char *  joint1,
const char *  joint2,
Chain chain,
SceneGraph *  sg 
)

Definition at line 464 of file colinfo.cpp.

ColModel * ColInfo::AddModel ( Joint jref,
SceneGraph *  sg 
)

Definition at line 500 of file colinfo.cpp.

void ColInfo::allocate_model ( int  n_new_alloc)
inlineprivate

Definition at line 122 of file colinfo.h.

void ColInfo::allocate_pair ( int  n_new_alloc)
inlineprivate

Definition at line 112 of file colinfo.h.

ColModel* ColInfo::Model ( int  i)
inline

Definition at line 91 of file colinfo.h.

ColModel* ColInfo::Model ( Joint jref)
inline

Definition at line 94 of file colinfo.h.

int ColInfo::NumModels ( )
inline

Definition at line 82 of file colinfo.h.

int ColInfo::NumPairs ( )
inline

Definition at line 79 of file colinfo.h.

int ColInfo::NumTriangles ( )
inline

Definition at line 85 of file colinfo.h.

ColPair* ColInfo::Pair ( int  i)
inline

Definition at line 88 of file colinfo.h.

ColPair* ColInfo::Pair ( Joint jref1,
Joint jref2 
)
inline

Definition at line 101 of file colinfo.h.

Friends And Related Function Documentation

friend class ColModel
friend

Definition at line 41 of file colinfo.h.

friend class ColPair
friend

Definition at line 40 of file colinfo.h.

Member Data Documentation

ColModel** ColInfo::models
private

Definition at line 145 of file colinfo.h.

int ColInfo::n_allocated_models
private

Definition at line 144 of file colinfo.h.

int ColInfo::n_allocated_pairs
private

Definition at line 140 of file colinfo.h.

int ColInfo::n_models
private

Definition at line 143 of file colinfo.h.

int ColInfo::n_pairs
private

Definition at line 139 of file colinfo.h.

int ColInfo::n_total_tri
private

Definition at line 146 of file colinfo.h.

ColPair** ColInfo::pairs
private

Definition at line 141 of file colinfo.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 Sat May 8 2021 02:42:42