#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.
virtual ColladaWriter::~ColladaWriter |
( |
| ) |
|
|
inlinevirtual |
virtual void ColladaWriter::_CreateScene |
( |
| ) |
|
|
inlineprivatevirtual |
save all the loaded scene models and their current state.
Definition at line 1177 of file ColladaWriter.h.
virtual std::string ColladaWriter::_GetGeometryId |
( |
BodyInfo_impl * |
bodyInfo, |
|
|
int |
ilink, |
|
|
int |
igeom |
|
) |
| |
|
inlineprivatevirtual |
virtual std::string ColladaWriter::_GetJointNodeSid |
( |
int |
ijoint, |
|
|
int |
iaxis |
|
) |
| |
|
inlineprivatevirtual |
virtual std::string ColladaWriter::_GetLinkSid |
( |
int |
ilink | ) |
|
|
inlineprivatevirtual |
virtual std::string ColladaWriter::_GetNodeId |
( |
BodyInfo_impl * |
bodyInfo | ) |
|
|
inlineprivatevirtual |
virtual std::string ColladaWriter::_GetNodeId |
( |
BodyInfo_impl * |
bodyInfo, |
|
|
int |
ilink |
|
) |
| |
|
inlineprivatevirtual |
void ColladaWriter::_SetRotate |
( |
domTargetable_float4Ref |
prot, |
|
|
const DblArray4 & |
rotation |
|
) |
| |
|
inlineprivate |
template<typename T >
static void ColladaWriter::_SetVector3 |
( |
T & |
t, |
|
|
const DblArray3 & |
v |
|
) |
| |
|
inlinestaticprivate |
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 |
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.
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.
virtual void ColladaWriter::handleError |
( |
daeString |
msg | ) |
|
|
inlineprivatevirtual |
virtual void ColladaWriter::handleWarning |
( |
daeString |
msg | ) |
|
|
inlineprivatevirtual |
virtual void ColladaWriter::Save |
( |
const string & |
filename | ) |
|
|
inlinevirtual |
virtual daeElementRef ColladaWriter::WriteActuator |
( |
const LinkInfo & |
plink, |
|
|
const string & |
parentid |
|
) |
| |
|
inlinevirtual |
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.
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.
virtual daeElementRef ColladaWriter::WriteSensor |
( |
const SensorInfo & |
sensor, |
|
|
const string & |
parentid |
|
) |
| |
|
inlinevirtual |
virtual domImageRef ColladaWriter::WriteTexture |
( |
const TextureInfo & |
texture | ) |
|
|
inlinevirtual |
domTechniqueRef ColladaWriter::_actuatorsLib |
|
private |
domLibrary_articulated_systemsRef ColladaWriter::_articulatedSystemsLib |
|
private |
boost::shared_ptr<DAE> ColladaWriter::_collada |
|
private |
daeDocument* ColladaWriter::_doc |
|
private |
domCOLLADA* ColladaWriter::_dom |
|
private |
domLibrary_effectsRef ColladaWriter::_effectsLib |
|
private |
domLibrary_geometriesRef ColladaWriter::_geometriesLib |
|
private |
domCOLLADA::domSceneRef ColladaWriter::_globalscene |
|
private |
domLibrary_imagesRef ColladaWriter::_imagesLib |
|
private |
domLibrary_kinematics_modelsRef ColladaWriter::_kinematicsModelsLib |
|
private |
domLibrary_kinematics_scenesRef ColladaWriter::_kinematicsScenesLib |
|
private |
domLibrary_materialsRef ColladaWriter::_materialsLib |
|
private |
int ColladaWriter::_nextactuatorid |
|
private |
int ColladaWriter::_nextsensorid |
|
private |
domLibrary_physics_modelsRef ColladaWriter::_physicsModelsLib |
|
private |
domLibrary_physics_scenesRef ColladaWriter::_physicsScenesLib |
|
private |
SCENE ColladaWriter::_scene |
|
private |
domTechniqueRef ColladaWriter::_sensorsLib |
|
private |
domLibrary_visual_scenesRef ColladaWriter::_visualScenesLib |
|
private |
The documentation for this class was generated from the following file: