Public Types | Public Member Functions | Public Attributes
hrp::ModelNodeSetImpl Class Reference

List of all members.

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

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.

Definition at line 424 of file ModelNodeSet.cpp.

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.

Definition at line 382 of file ModelNodeSet.cpp.

Definition at line 293 of file ModelNodeSet.cpp.

Definition at line 316 of file ModelNodeSet.cpp.

Definition at line 365 of file ModelNodeSet.cpp.

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.

Definition at line 208 of file ModelNodeSet.cpp.

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.

Definition at line 242 of file ModelNodeSet.cpp.


Member Data Documentation

Definition at line 74 of file ModelNodeSet.cpp.

Definition at line 57 of file ModelNodeSet.cpp.

Definition at line 59 of file ModelNodeSet.cpp.

Definition at line 56 of file ModelNodeSet.cpp.

Definition at line 61 of file ModelNodeSet.cpp.

Definition at line 58 of file ModelNodeSet.cpp.

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 Thu Apr 11 2019 03:30:22