Description

Typedefs

   
   
typedef std::function< void( ExporterContext &ctxt, DescriptionMap &, Node *node)> NodeExport_Fn_t
   
typedef std::function< void( ExporterContext &ctxt, DescriptionMap &, State *state)> StateExport_Fn_t
   
typedef std::function< DescriptionMap *( ExporterContext &ctxt, AbstractBehaviour *behaviour)> BehaviourExport_Fn_t

Functions

   
   
void registerNodeExporter(const Util::StringIdentifier & classId, NodeExport_Fn_t void)
   
void registerStateExporter(const Util::StringIdentifier & classId, StateExport_Fn_t void)
   
void registerBehaviourExporter( BehaviourExport_Fn_t void)
   
void finalizeBehaviourDescription( ExporterContext & ctxt, DescriptionMap & description, AbstractBehaviour * behaviour)
   
void addAttributesToDescription( ExporterContext & ctxt, DescriptionMap & description, const Util::GenericAttribute::Map * attribs)
   
void addSRTToDescription( DescriptionMap & description, const Geometry::SRT & srt)
   
void addTransformationToDescription( DescriptionMap & description, Node * node)
   
void addChildEntry( DescriptionMap & description, std::unique_ptr< DescriptionMap > childDescription)
   
void addDataEntry( DescriptionMap & description, std::unique_ptr< DescriptionMap > dataDescription)
   
void addChildNodesToDescription( ExporterContext & ctxt, DescriptionMap & description, Node * node)
   
void addStatesToDescription( ExporterContext & ctxt, DescriptionMap & description, Node * node)
   
void addBehavioursToDescription( ExporterContext & ctxt, DescriptionMap & description, Node * node)
   
std::unique_ptr< DescriptionMap > createDescriptionForBehaviour( ExporterContext & ctxt, AbstractBehaviour * behaviour)
   
std::unique_ptr< DescriptionMap > createDescriptionForNode( ExporterContext & ctxt, Node * node)
   
std::unique_ptr< DescriptionMap > createDescriptionForScene( ExporterContext & ctxt, const std::deque< Node * > & nodes)
   
std::unique_ptr< DescriptionMap > createDescriptionForState( ExporterContext & ctxt, State * state)

Documentation

typedef
MinSG::SceneManagement::ExporterTools::NodeExport_Fn_t

public
 
 
typedef std::function< void( ExporterContext &ctxt, DescriptionMap &, Node *node)> NodeExport_Fn_t

Defined in MinSG/SceneManagement/Exporter/ExporterTools.h:36


typedef
MinSG::SceneManagement::ExporterTools::StateExport_Fn_t

public
 
 
typedef std::function< void( ExporterContext &ctxt, DescriptionMap &, State *state)> StateExport_Fn_t

Defined in MinSG/SceneManagement/Exporter/ExporterTools.h:37


typedef
MinSG::SceneManagement::ExporterTools::BehaviourExport_Fn_t

public
 
 
typedef std::function< DescriptionMap *( ExporterContext &ctxt, AbstractBehaviour *behaviour)> BehaviourExport_Fn_t

Defined in MinSG/SceneManagement/Exporter/ExporterTools.h:38


function
MinSG::SceneManagement::ExporterTools::registerNodeExporter

public
     
     
void registerNodeExporter( const Util::StringIdentifier & classId,
  NodeExport_Fn_t void
)    

Defined in MinSG/SceneManagement/Exporter/ExporterTools.h:39


function
MinSG::SceneManagement::ExporterTools::registerStateExporter

public
     
     
void registerStateExporter( const Util::StringIdentifier & classId,
  StateExport_Fn_t void
)    

Defined in MinSG/SceneManagement/Exporter/ExporterTools.h:40


function
MinSG::SceneManagement::ExporterTools::registerBehaviourExporter

public
     
     
void registerBehaviourExporter( BehaviourExport_Fn_t void )

Defined in MinSG/SceneManagement/Exporter/ExporterTools.h:41


function
MinSG::SceneManagement::ExporterTools::finalizeBehaviourDescription

public
     
     
void finalizeBehaviourDescription( ExporterContext & ctxt,
  DescriptionMap & description,
  AbstractBehaviour * behaviour
)    

Helper function that adds standard data to a description.

  • set string TYPE = TYPE_BEHAVIOUR

Defined in MinSG/SceneManagement/Exporter/ExporterTools.h:47


function
MinSG::SceneManagement::ExporterTools::addAttributesToDescription

public
     
     
void addAttributesToDescription( ExporterContext & ctxt,
  DescriptionMap & description,
  const Util::GenericAttribute::Map * attribs
)    

Defined in MinSG/SceneManagement/Exporter/ExporterTools.h:49


function
MinSG::SceneManagement::ExporterTools::addSRTToDescription

public
     
     
void addSRTToDescription( DescriptionMap & description,
  const Geometry::SRT & srt
)    

Defined in MinSG/SceneManagement/Exporter/ExporterTools.h:50


function
MinSG::SceneManagement::ExporterTools::addTransformationToDescription

public
     
     
void addTransformationToDescription( DescriptionMap & description,
  Node * node
)    

Defined in MinSG/SceneManagement/Exporter/ExporterTools.h:51


function
MinSG::SceneManagement::ExporterTools::addChildEntry

public
     
     
void addChildEntry( DescriptionMap & description,
  std::unique_ptr< DescriptionMap > childDescription
)    

Defined in MinSG/SceneManagement/Exporter/ExporterTools.h:52


function
MinSG::SceneManagement::ExporterTools::addDataEntry

public
     
     
void addDataEntry( DescriptionMap & description,
  std::unique_ptr< DescriptionMap > dataDescription
)    

Defined in MinSG/SceneManagement/Exporter/ExporterTools.h:53


function
MinSG::SceneManagement::ExporterTools::addChildNodesToDescription

public
     
     
void addChildNodesToDescription( ExporterContext & ctxt,
  DescriptionMap & description,
  Node * node
)    

Defined in MinSG/SceneManagement/Exporter/ExporterTools.h:55


function
MinSG::SceneManagement::ExporterTools::addStatesToDescription

public
     
     
void addStatesToDescription( ExporterContext & ctxt,
  DescriptionMap & description,
  Node * node
)    

Defined in MinSG/SceneManagement/Exporter/ExporterTools.h:56


function
MinSG::SceneManagement::ExporterTools::addBehavioursToDescription

public
     
     
void addBehavioursToDescription( ExporterContext & ctxt,
  DescriptionMap & description,
  Node * node
)    

Defined in MinSG/SceneManagement/Exporter/ExporterTools.h:57


function
MinSG::SceneManagement::ExporterTools::createDescriptionForBehaviour

public
     
     
std::unique_ptr< DescriptionMap > createDescriptionForBehaviour( ExporterContext & ctxt,
  AbstractBehaviour * behaviour
)    

Defined in MinSG/SceneManagement/Exporter/ExporterTools.h:59


function
MinSG::SceneManagement::ExporterTools::createDescriptionForNode

public
     
     
std::unique_ptr< DescriptionMap > createDescriptionForNode( ExporterContext & ctxt,
  Node * node
)    

Defined in MinSG/SceneManagement/Exporter/ExporterTools.h:60


function
MinSG::SceneManagement::ExporterTools::createDescriptionForScene

public
     
     
std::unique_ptr< DescriptionMap > createDescriptionForScene( ExporterContext & ctxt,
  const std::deque< Node * > & nodes
)    

Defined in MinSG/SceneManagement/Exporter/ExporterTools.h:61


function
MinSG::SceneManagement::ExporterTools::createDescriptionForState

public
     
     
std::unique_ptr< DescriptionMap > createDescriptionForState( ExporterContext & ctxt,
  State * state
)    

Defined in MinSG/SceneManagement/Exporter/ExporterTools.h:62