16 #include <vlutil/vlList.h>
17 #include <vlpi/disEnums.h>
18 #include <vl/hostStructs.h>
42 typedef std::map<DtArtPartType, DtArticulatedPartStateRepository*>
ArtPartMap;
58 DtArtPartType parentPartType);
67 virtual bool detachPart(DtArtPartType partType,
84 virtual int numParts()
const;
95 virtual void setAllPartValuesUnspecified();
99 virtual void preGetSelf()
override;
102 virtual void postGetSelf()
override;
106 virtual void prePutSelf()
override;
113 virtual void printAllParts(std::ostream& strm)
const;
121 virtual void setPublishOnLegionNetwork(
bool,
bool isWritable);
126 return myPublishOnLegionNetwork;
147 bool detatchPartFromOtherPart(DtArtPartType partType,
DtStateData * myOwner
The owning state data object for this part manager.
Definition: articulatedPartManager.h:164
The articulated part manager maintains a tree of articulated and attached parts for the state reposit...
Definition: articulatedPartManager.h:33
DtArtPartMap myTempParts
Temporary parts map used during serialization (preGetSelf/postGetSelf).
Definition: articulatedPartManager.h:169
const Coordinate_System * myCoordinateSystem
Coordinate system used by this manager and all contained parts.
Definition: articulatedPartManager.h:166
Definition: readerWriter.h:85
bool publishOnLegionNetwork() const
Returns true if this manager publishes parts on the Legion network.
Definition: articulatedPartManager.h:124
Definition: readerWriterRegistry.h:39
const DtArtPartMap & articulatedParts() const
Returns the map of top-level articulated parts indexed by part type.
Definition: articulatedPartManager.h:88
Definition: coordSystem.h:54
The overall structure of the DtStateData mechanism is: The DtStateData contains a list of double buff...
Definition: stateData.h:513
bool myPublishOnLegionNetwork
True if this manager publishes parts on the Legion network.
Definition: articulatedPartManager.h:171
std::map< DtArtPartType, DtArticulatedPartStateRepository * > ArtPartMap
Map type indexing articulated part state repositories by part type.
Definition: articulatedPartManager.h:42
A typed map of DtArticulatedPartStateRepository objects keyed by DIS/RPR part type. Used to store and access child parts attached to an entity or another articulated part.
Definition: articulatedPartStateRepository.h:46
DtArtPartMap myParts
Top-level map of articulated parts indexed by part type.
Definition: articulatedPartManager.h:162
The DtArticulatedPartStateRepository class is used to represent articulated parts for an entity...
Definition: articulatedPartStateRepository.h:40
#define DT_DLL_vrfStateData
This file is used to determine how to build Disable inconsistent dll linkage warning Visual Studio 6...
Definition: vrfStateDataDefines.h:29
bool myIsWritable
True if parts are writable on the Legion network.
Definition: articulatedPartManager.h:173