Public Types | Public Member Functions | Public Attributes | List of all members
hrp::ModelNodeSetImpl Class Reference

Public Types

enum  {
  PROTO_UNDEFINED = 0, PROTO_HUMANOID, PROTO_JOINT, PROTO_SEGMENT,
  PROTO_SENSOR, PROTO_HARDWARECOMPONENT, PROTO_EXTRAJOINT, NUM_PROTOS
}
 
typedef std::bitset< NUM_PROTOSProtoIdSet
 

Public Member Functions

VrmlVariantFieldaddField (const std::string &name, VrmlFieldTypeId type)
 
void addFloatField (const std::string &name, double defaultValue)
 
JointNodeSetPtr addJointNodeSet (VrmlProtoInstancePtr jointNode)
 
void checkExtraJointProto ()
 
void checkFieldType (const std::string &name, VrmlFieldTypeId type)
 
void checkHardwareComponentProto ()
 
void checkHumanoidProto ()
 
void checkJointProto ()
 
void checkSegmentProto ()
 
void checkSensorProtoCommon ()
 
void extractChildNodes (JointNodeSetPtr jointNodeSet, MFNode &childNodes, const ProtoIdSet acceptableProtoIds, const Matrix44 &T)
 
void extractHumanoidNode (VrmlParser &parser)
 
void extractJointNodes ()
 
bool loadModelFile (const std::string &filename)
 
 ModelNodeSetImpl (ModelNodeSet *self)
 
void putMessage (const std::string &message)
 
void requireField (const std::string &name, VrmlFieldTypeId type)
 
void throwExceptionOfIllegalField (const std::string &name, VrmlFieldTypeId typeId)
 

Public Attributes

std::vector< VrmlProtoInstancePtrextraJointNodes
 
VrmlProtoInstancePtr humanoidNode
 
int messageIndent
 
int numJointNodes
 
VrmlProtoPtr protoToCheck
 
JointNodeSetPtr rootJointNodeSet
 
ModelNodeSetself
 

Detailed Description

Definition at line 47 of file ModelNodeSet.cpp.

Member Typedef Documentation

Definition at line 76 of file ModelNodeSet.cpp.

Member Enumeration Documentation

anonymous enum
Enumerator
PROTO_UNDEFINED 
PROTO_HUMANOID 
PROTO_JOINT 
PROTO_SEGMENT 
PROTO_SENSOR 
PROTO_HARDWARECOMPONENT 
PROTO_EXTRAJOINT 
NUM_PROTOS 

Definition at line 63 of file ModelNodeSet.cpp.

Constructor & Destructor Documentation

ModelNodeSetImpl::ModelNodeSetImpl ( ModelNodeSet self)

Definition at line 108 of file ModelNodeSet.cpp.

Member Function Documentation

VrmlVariantField * ModelNodeSetImpl::addField ( const std::string &  name,
VrmlFieldTypeId  type 
)

Definition at line 269 of file ModelNodeSet.cpp.

void ModelNodeSetImpl::addFloatField ( const std::string &  name,
double  defaultValue 
)

Definition at line 281 of file ModelNodeSet.cpp.

JointNodeSetPtr ModelNodeSetImpl::addJointNodeSet ( VrmlProtoInstancePtr  jointNode)

Definition at line 424 of file ModelNodeSet.cpp.

void ModelNodeSetImpl::checkExtraJointProto ( )

Definition at line 390 of file ModelNodeSet.cpp.

void ModelNodeSetImpl::checkFieldType ( const std::string &  name,
VrmlFieldTypeId  type 
)

Definition at line 260 of file ModelNodeSet.cpp.

void ModelNodeSetImpl::checkHardwareComponentProto ( )

Definition at line 382 of file ModelNodeSet.cpp.

void ModelNodeSetImpl::checkHumanoidProto ( )

Definition at line 293 of file ModelNodeSet.cpp.

void ModelNodeSetImpl::checkJointProto ( )

Definition at line 316 of file ModelNodeSet.cpp.

void ModelNodeSetImpl::checkSegmentProto ( )

Definition at line 365 of file ModelNodeSet.cpp.

void ModelNodeSetImpl::checkSensorProtoCommon ( )

Definition at line 374 of file ModelNodeSet.cpp.

void ModelNodeSetImpl::extractChildNodes ( JointNodeSetPtr  jointNodeSet,
MFNode childNodes,
const ProtoIdSet  acceptableProtoIds,
const Matrix44 T 
)

Definition at line 449 of file ModelNodeSet.cpp.

void ModelNodeSetImpl::extractHumanoidNode ( VrmlParser parser)

Definition at line 208 of file ModelNodeSet.cpp.

void ModelNodeSetImpl::extractJointNodes ( )

Definition at line 400 of file ModelNodeSet.cpp.

bool ModelNodeSetImpl::loadModelFile ( const std::string &  filename)

Definition at line 187 of file ModelNodeSet.cpp.

void ModelNodeSetImpl::putMessage ( const std::string &  message)

Definition at line 542 of file ModelNodeSet.cpp.

void ModelNodeSetImpl::requireField ( const std::string &  name,
VrmlFieldTypeId  type 
)

Definition at line 251 of file ModelNodeSet.cpp.

void ModelNodeSetImpl::throwExceptionOfIllegalField ( const std::string &  name,
VrmlFieldTypeId  typeId 
)

Definition at line 242 of file ModelNodeSet.cpp.

Member Data Documentation

std::vector<VrmlProtoInstancePtr> hrp::ModelNodeSetImpl::extraJointNodes

Definition at line 74 of file ModelNodeSet.cpp.

VrmlProtoInstancePtr hrp::ModelNodeSetImpl::humanoidNode

Definition at line 57 of file ModelNodeSet.cpp.

int hrp::ModelNodeSetImpl::messageIndent

Definition at line 59 of file ModelNodeSet.cpp.

int hrp::ModelNodeSetImpl::numJointNodes

Definition at line 56 of file ModelNodeSet.cpp.

VrmlProtoPtr hrp::ModelNodeSetImpl::protoToCheck

Definition at line 61 of file ModelNodeSet.cpp.

JointNodeSetPtr hrp::ModelNodeSetImpl::rootJointNodeSet

Definition at line 58 of file ModelNodeSet.cpp.

ModelNodeSet* hrp::ModelNodeSetImpl::self

Definition at line 54 of file ModelNodeSet.cpp.


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


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:45