VR-Engage  2.2
Loading...
Searching...
No Matches
makVre::DtVortexSimArtPartDescriptor Class Reference

Detailed Description

DtVortexSimArtPartDescriptor extends the base simulation articulated part descriptor with Vortex-specific naming information. This allows articulated parts to be correctly mapped to their corresponding parts in the Vortex physics simulation.

#include <vortexArtPartDescriptor.h>

Inheritance diagram for makVre::DtVortexSimArtPartDescriptor:
[legend]

Public Member Functions

 DtVortexSimArtPartDescriptor ()
 
 DtVortexSimArtPartDescriptor (const DtString &partName, DtReaderWriterRegistry *parentRegistry=NULL)
 
 DtVortexSimArtPartDescriptor (const DtSymbolString &partName, DtReaderWriterRegistry *parentRegistry=NULL)
 
 DtVortexSimArtPartDescriptor (const DtString &partName, const DtVortexSimArtPartDescriptor &orig, DtReaderWriterRegistry *parentRegistry=NULL)
 
 DtVortexSimArtPartDescriptor (const DtSymbolString &partName, const DtVortexSimArtPartDescriptor &orig, DtReaderWriterRegistry *parentRegistry=NULL)
 
DtVortexSimArtPartDescriptoroperator= (const DtVortexSimArtPartDescriptor &orig)
 
virtual ~DtVortexSimArtPartDescriptor () override
 
virtual DtVortexSimArtPartDescriptorclone (const DtString &partName, DtReaderWriterRegistry *parentRegistry=NULL) const override
 
virtual DtVortexSimArtPartDescriptorclone (const DtSymbolString &partName, DtReaderWriterRegistry *parentRegistry=NULL) const override
 
virtual void setVortexPartName (const std::string &partType)
 
virtual std::string vortexPartName () const
 
virtual const char * readerWriterType () const override
 
virtual const char * xmlType () const override
 

Static Public Member Functions

static const char * theXmlType ()
 

Protected Attributes

DtRwString myVortexPartName
 

Constructor & Destructor Documentation

◆ DtVortexSimArtPartDescriptor() [1/5]

makVre::DtVortexSimArtPartDescriptor::DtVortexSimArtPartDescriptor ( )

Default constructor.

Creates an empty descriptor with default values

Referenced by clone(), clone(), DtVortexSimArtPartDescriptor(), DtVortexSimArtPartDescriptor(), and operator=().

◆ DtVortexSimArtPartDescriptor() [2/5]

makVre::DtVortexSimArtPartDescriptor::DtVortexSimArtPartDescriptor ( const DtString & partName,
DtReaderWriterRegistry * parentRegistry = NULL )

Constructor with part name and registry.

Parameters
partNameName of the articulated part
parentRegistryOptional parent registry for reader/writer operations

◆ DtVortexSimArtPartDescriptor() [3/5]

makVre::DtVortexSimArtPartDescriptor::DtVortexSimArtPartDescriptor ( const DtSymbolString & partName,
DtReaderWriterRegistry * parentRegistry = NULL )

Constructor with symbol part name and registry.

Parameters
partNameSymbol string name of the articulated part
parentRegistryOptional parent registry for reader/writer operations

◆ DtVortexSimArtPartDescriptor() [4/5]

makVre::DtVortexSimArtPartDescriptor::DtVortexSimArtPartDescriptor ( const DtString & partName,
const DtVortexSimArtPartDescriptor & orig,
DtReaderWriterRegistry * parentRegistry = NULL )

Copy constructor with new part name.

Parameters
partNameNew name for the copied articulated part
origOriginal descriptor to copy from
parentRegistryOptional parent registry for reader/writer operations

References DtVortexSimArtPartDescriptor().

◆ DtVortexSimArtPartDescriptor() [5/5]

makVre::DtVortexSimArtPartDescriptor::DtVortexSimArtPartDescriptor ( const DtSymbolString & partName,
const DtVortexSimArtPartDescriptor & orig,
DtReaderWriterRegistry * parentRegistry = NULL )

Copy constructor with new symbol part name.

Parameters
partNameNew symbol string name for the copied articulated part
origOriginal descriptor to copy from
parentRegistryOptional parent registry for reader/writer operations

References DtVortexSimArtPartDescriptor().

◆ ~DtVortexSimArtPartDescriptor()

virtual makVre::DtVortexSimArtPartDescriptor::~DtVortexSimArtPartDescriptor ( )
overridevirtual

Virtual destructor.

Member Function Documentation

◆ operator=()

DtVortexSimArtPartDescriptor & makVre::DtVortexSimArtPartDescriptor::operator= ( const DtVortexSimArtPartDescriptor & orig)

Assignment operator.

Parameters
origOriginal descriptor to copy from
Returns
Reference to this descriptor after assignment

References DtVortexSimArtPartDescriptor().

◆ clone() [1/2]

virtual DtVortexSimArtPartDescriptor * makVre::DtVortexSimArtPartDescriptor::clone ( const DtString & partName,
DtReaderWriterRegistry * parentRegistry = NULL ) const
overridevirtual

Creates a clone of this descriptor with a new part name.

Parameters
partNameNew name for the cloned articulated part
parentRegistryOptional parent registry for reader/writer operations
Returns
Pointer to a new descriptor that is a copy of this one

References DtVortexSimArtPartDescriptor().

◆ clone() [2/2]

virtual DtVortexSimArtPartDescriptor * makVre::DtVortexSimArtPartDescriptor::clone ( const DtSymbolString & partName,
DtReaderWriterRegistry * parentRegistry = NULL ) const
overridevirtual

Creates a clone of this descriptor with a new symbol part name.

Parameters
partNameNew symbol string name for the cloned articulated part
parentRegistryOptional parent registry for reader/writer operations
Returns
Pointer to a new descriptor that is a copy of this one

References DtVortexSimArtPartDescriptor().

◆ setVortexPartName()

virtual void makVre::DtVortexSimArtPartDescriptor::setVortexPartName ( const std::string & partType)
virtual

Sets the Vortex-specific part name.

Parameters
partTypeThe part name used within the Vortex physics simulation

◆ vortexPartName()

virtual std::string makVre::DtVortexSimArtPartDescriptor::vortexPartName ( ) const
virtual

Gets the Vortex-specific part name.

Returns
The part name used within the Vortex physics simulation

◆ readerWriterType()

virtual const char * makVre::DtVortexSimArtPartDescriptor::readerWriterType ( ) const
overridevirtual

Gets the type identifier for reader/writer operations.

Returns
Type identifier string

◆ theXmlType()

static const char * makVre::DtVortexSimArtPartDescriptor::theXmlType ( )
static

Gets the XML type identifier for serialization.

Returns
XML type identifier string used when archiving to an XML stream

Referenced by xmlType().

◆ xmlType()

virtual const char * makVre::DtVortexSimArtPartDescriptor::xmlType ( ) const
inlineoverridevirtual

Gets the XML type identifier for this instance.

Returns
XML type identifier string

References theXmlType().

Member Data Documentation

◆ myVortexPartName

DtRwString makVre::DtVortexSimArtPartDescriptor::myVortexPartName
protected

The Vortex-specific part name used in the physics simulation.


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