#include <ColladaWriter.h>
|
virtual boost::shared_ptr< instance_kinematics_model_output > | _WriteInstance_kinematics_model (BodyInfo_impl *bodyInfo, daeElementRef parent, const string &sidscope) |
| Write kinematic body in a given scene. More...
|
|
virtual boost::shared_ptr< instance_physics_model_output > | _WriteInstance_physics_model (BodyInfo_impl *bodyInfo, daeElementRef parent, const string &sidscope) |
|
virtual boost::shared_ptr< instance_articulated_system_output > | _WriteRobot (BodyInfo_impl *bodyInfo) |
| Write kinematic body in a given scene. More...
|
|
| ColladaWriter (const std::list< ManipulatorInfo > &listmanipulators, const char *comment_str) |
|
virtual void | Save (const string &filename) |
| Write down a COLLADA file. More...
|
|
virtual bool | Write (BodyInfo_impl *bodyInfo) |
|
virtual daeElementRef | WriteActuator (const LinkInfo &plink, const string &parentid) |
|
virtual domEffectRef | WriteEffect (const MaterialInfo &material) |
|
virtual domGeometryRef | WriteGeometry (BodyInfo_impl *bodyInfo, const ShapeInfo &shapeInfo, const DblArray12 &transformMatrix, const string &parentid) |
| Write geometry properties. More...
|
|
virtual boost::shared_ptr< kinematics_model_output > | WriteKinematics_model (BodyInfo_impl *bodyInfo) |
|
virtual boost::shared_ptr< physics_model_output > | WritePhysics_model (BodyInfo_impl *bodyInfo) |
|
virtual daeElementRef | WriteSensor (const SensorInfo &sensor, const string &parentid) |
|
virtual domImageRef | WriteTexture (const TextureInfo &texture) |
| Write texture. More...
|
|
virtual | ~ColladaWriter () |
|
|
virtual void | _AddKinematics_model (BodyInfo_impl *bodyInfo, boost::shared_ptr< kinematics_model_output > kmout) |
|
virtual void | _AddPhysics_model (BodyInfo_impl *bodyInfo, boost::shared_ptr< physics_model_output > pmout) |
|
virtual void | _CreateScene () |
| save all the loaded scene models and their current state. More...
|
|
virtual std::string | _GetGeometryId (BodyInfo_impl *bodyInfo, int ilink, int igeom) |
|
virtual std::string | _GetJointNodeSid (int ijoint, int iaxis) |
|
virtual boost::shared_ptr< kinematics_model_output > | _GetKinematics_model (BodyInfo_impl *bodyInfo) |
|
virtual std::string | _GetLinkSid (int ilink) |
|
virtual std::string | _GetNodeId (BodyInfo_impl *bodyInfo) |
|
virtual std::string | _GetNodeId (BodyInfo_impl *bodyInfo, int ilink) |
|
virtual boost::shared_ptr< physics_model_output > | _GetPhysics_model (BodyInfo_impl *bodyInfo) |
|
virtual int | _GetRobotId (BodyInfo_impl *bodyInfo) |
|
void | _SetRotate (domTargetable_float4Ref prot, const DblArray4 &rotation) |
|
void | _WriteBindingsInstance_kinematics_scene (domInstance_kinematics_sceneRef ikscene, BodyInfo_impl *bodyInfo, const std::vector< axis_sids > &vaxissids, const std::vector< std::pair< std::string, std::string > > &vkinematicsbindings) |
|
virtual LINKOUTPUT | _WriteLink (BodyInfo_impl *bodyInfo, int ilink, daeElementRef pkinparent, domNodeRef pnodeparent, const string &strModelUri, std::map< std::string, int > mapjointnames) |
| Write link of a kinematic body. More...
|
|
void | _WriteTransformation (daeElementRef pelt, const DblArray4 &rotation, const DblArray3 &translation) |
| Write transformation. More...
|
|
virtual void | handleError (daeString msg) |
|
virtual void | handleWarning (daeString msg) |
|
Definition at line 55 of file ColladaWriter.h.
◆ ColladaWriter()
◆ ~ColladaWriter()
virtual ColladaWriter::~ColladaWriter |
( |
| ) |
|
|
inlinevirtual |
◆ _AddKinematics_model()
◆ _AddPhysics_model()
◆ _CreateScene()
virtual void ColladaWriter::_CreateScene |
( |
| ) |
|
|
inlineprivatevirtual |
save all the loaded scene models and their current state.
Definition at line 1177 of file ColladaWriter.h.
◆ _GetGeometryId()
virtual std::string ColladaWriter::_GetGeometryId |
( |
BodyInfo_impl * |
bodyInfo, |
|
|
int |
ilink, |
|
|
int |
igeom |
|
) |
| |
|
inlineprivatevirtual |
◆ _GetJointNodeSid()
virtual std::string ColladaWriter::_GetJointNodeSid |
( |
int |
ijoint, |
|
|
int |
iaxis |
|
) |
| |
|
inlineprivatevirtual |
◆ _GetKinematics_model()
◆ _GetLinkSid()
virtual std::string ColladaWriter::_GetLinkSid |
( |
int |
ilink | ) |
|
|
inlineprivatevirtual |
◆ _GetNodeId() [1/2]
virtual std::string ColladaWriter::_GetNodeId |
( |
BodyInfo_impl * |
bodyInfo | ) |
|
|
inlineprivatevirtual |
◆ _GetNodeId() [2/2]
virtual std::string ColladaWriter::_GetNodeId |
( |
BodyInfo_impl * |
bodyInfo, |
|
|
int |
ilink |
|
) |
| |
|
inlineprivatevirtual |
◆ _GetPhysics_model()
◆ _GetRobotId()
◆ _SetRotate()
void ColladaWriter::_SetRotate |
( |
domTargetable_float4Ref |
prot, |
|
|
const DblArray4 & |
rotation |
|
) |
| |
|
inlineprivate |
◆ _SetVector3()
template<typename T >
static void ColladaWriter::_SetVector3 |
( |
T & |
t, |
|
|
const DblArray3 & |
v |
|
) |
| |
|
inlinestaticprivate |
◆ _WriteBindingsInstance_kinematics_scene()
void ColladaWriter::_WriteBindingsInstance_kinematics_scene |
( |
domInstance_kinematics_sceneRef |
ikscene, |
|
|
BodyInfo_impl * |
bodyInfo, |
|
|
const std::vector< axis_sids > & |
vaxissids, |
|
|
const std::vector< std::pair< std::string, std::string > > & |
vkinematicsbindings |
|
) |
| |
|
inlineprivate |
◆ _WriteInstance_kinematics_model()
◆ _WriteInstance_physics_model()
◆ _WriteLink()
virtual LINKOUTPUT ColladaWriter::_WriteLink |
( |
BodyInfo_impl * |
bodyInfo, |
|
|
int |
ilink, |
|
|
daeElementRef |
pkinparent, |
|
|
domNodeRef |
pnodeparent, |
|
|
const string & |
strModelUri, |
|
|
std::map< std::string, int > |
mapjointnames |
|
) |
| |
|
inlineprivatevirtual |
Write link of a kinematic body.
- Parameters
-
link | Link to write |
pkinparent | Kinbody parent |
pnodeparent | Node parent |
strModelUri | |
vjoints | Vector of joints |
Definition at line 1215 of file ColladaWriter.h.
◆ _WriteRobot()
◆ _WriteTransformation()
void ColladaWriter::_WriteTransformation |
( |
daeElementRef |
pelt, |
|
|
const DblArray4 & |
rotation, |
|
|
const DblArray3 & |
translation |
|
) |
| |
|
inlineprivate |
Write transformation.
- Parameters
-
pelt | Element to transform |
t | Transform to write |
Definition at line 1338 of file ColladaWriter.h.
◆ ComparePair()
◆ handleError()
virtual void ColladaWriter::handleError |
( |
daeString |
msg | ) |
|
|
inlineprivatevirtual |
◆ handleWarning()
virtual void ColladaWriter::handleWarning |
( |
daeString |
msg | ) |
|
|
inlineprivatevirtual |
◆ Save()
virtual void ColladaWriter::Save |
( |
const string & |
filename | ) |
|
|
inlinevirtual |
◆ Write()
◆ WriteActuator()
virtual daeElementRef ColladaWriter::WriteActuator |
( |
const LinkInfo & |
plink, |
|
|
const string & |
parentid |
|
) |
| |
|
inlinevirtual |
◆ WriteEffect()
virtual domEffectRef ColladaWriter::WriteEffect |
( |
const MaterialInfo & |
material | ) |
|
|
inlinevirtual |
Write light effect vambient Ambient light color vdiffuse Diffuse light color
Definition at line 1018 of file ColladaWriter.h.
◆ WriteGeometry()
virtual domGeometryRef ColladaWriter::WriteGeometry |
( |
BodyInfo_impl * |
bodyInfo, |
|
|
const ShapeInfo & |
shapeInfo, |
|
|
const DblArray12 & |
transformMatrix, |
|
|
const string & |
parentid |
|
) |
| |
|
inlinevirtual |
Write geometry properties.
- Parameters
-
geom | Link geometry |
parentid | Parent Identifier |
Definition at line 806 of file ColladaWriter.h.
◆ WriteKinematics_model()
◆ WritePhysics_model()
◆ WriteSensor()
virtual daeElementRef ColladaWriter::WriteSensor |
( |
const SensorInfo & |
sensor, |
|
|
const string & |
parentid |
|
) |
| |
|
inlinevirtual |
◆ WriteTexture()
virtual domImageRef ColladaWriter::WriteTexture |
( |
const TextureInfo & |
texture | ) |
|
|
inlinevirtual |
◆ _actuatorsLib
domTechniqueRef ColladaWriter::_actuatorsLib |
|
private |
◆ _articulatedSystemsLib
domLibrary_articulated_systemsRef ColladaWriter::_articulatedSystemsLib |
|
private |
◆ _collada
boost::shared_ptr<DAE> ColladaWriter::_collada |
|
private |
◆ _doc
daeDocument* ColladaWriter::_doc |
|
private |
◆ _dom
domCOLLADA* ColladaWriter::_dom |
|
private |
◆ _effectsLib
domLibrary_effectsRef ColladaWriter::_effectsLib |
|
private |
◆ _geometriesLib
domLibrary_geometriesRef ColladaWriter::_geometriesLib |
|
private |
◆ _globalscene
domCOLLADA::domSceneRef ColladaWriter::_globalscene |
|
private |
◆ _imagesLib
domLibrary_imagesRef ColladaWriter::_imagesLib |
|
private |
◆ _kinematicsModelsLib
domLibrary_kinematics_modelsRef ColladaWriter::_kinematicsModelsLib |
|
private |
◆ _kinematicsScenesLib
domLibrary_kinematics_scenesRef ColladaWriter::_kinematicsScenesLib |
|
private |
◆ _listkinbodies
◆ _listmanipulators
◆ _materialsLib
domLibrary_materialsRef ColladaWriter::_materialsLib |
|
private |
◆ _nextactuatorid
int ColladaWriter::_nextactuatorid |
|
private |
◆ _nextsensorid
int ColladaWriter::_nextsensorid |
|
private |
◆ _physicsModelsLib
domLibrary_physics_modelsRef ColladaWriter::_physicsModelsLib |
|
private |
◆ _physicsScenesLib
domLibrary_physics_scenesRef ColladaWriter::_physicsScenesLib |
|
private |
◆ _scene
SCENE ColladaWriter::_scene |
|
private |
◆ _sensorsLib
domTechniqueRef ColladaWriter::_sensorsLib |
|
private |
◆ _visualScenesLib
domLibrary_visual_scenesRef ColladaWriter::_visualScenesLib |
|
private |
The documentation for this class was generated from the following file: