17 #define DtDEC_APPEARANCE( P, p, T, N, n, E ) \
19 void set##N( const T& val ) {\
20 set##P##AppearanceAttribute( E, DtAppearAttrVal( val << E##BitShift ) );\
22 T n() const { return (T)( p##AppearanceAttribute(E) >> E##BitShift ); }\
24 namespace MAKVrExchange
67 virtual void setGeneralAppearanceAttribute(
68 DtAppearAttribute attr, DtAppearAttrVal val );
70 virtual DtAppearAttrVal generalAppearanceAttribute(
71 DtAppearAttribute attr )
const;
74 percentComplete, DtAppObjectPercentComplete );
76 damagedAppearance, DtAppObjectDamage );
78 objectPreDistributed, DtAppObjectPredistributed );
80 deactivated, DtAppObjectState );
82 smoking, DtAppObjectSmoking );
84 flaming,DtAppObjectFlaming );
92 virtual void setSpecificAppearanceAttribute(
93 DtAppearAttribute attr, DtAppearAttrVal val );
95 virtual DtU32 specificAppearanceAttribute(
96 DtAppearAttribute attr )
const;
102 breachedStatus, DtAppObjectMinefieldBreach );
110 percentOpacity, DtAppObjectBurstOpacity );
112 cylinderSize, DtAppObjectBurstSize );
114 cylinderHeight, DtAppObjectBurstHeight );
116 numberOfBursts, DtAppObjectBurstNumOfBursts );
118 chemicalContent, DtAppObjectBurstChemicalSmoke );
126 craterSize, DtAppObjectCraterSize );
134 numberOfSegments, DtAppObjectRibbonBridgeNumOfSegments );
148 virtual unsigned int netSize()
const;
149 virtual void writeSelfToBuffer(
void* buffer,
int bufferSize )
const;
150 virtual void readSelfFromBuffer(
const void* buffer,
int bufferSize );
152 virtual std::ostream& printDataToStream( std::ostream& str )
const;
Portal point object will be used to send all point object types: breachable, burst, crater, other, ribbon, structure.
Definition: pPointObject.h:30
#define DT_DLL_LIBPORTAL
Definition: include/portal/dllExport.h:20
#define DtDEC_ATTRIBUTE(T, N, n)
A Macro to define an attribute; as well as make an accessor and mutator for that attribute.
Definition: addAttribute.h:49
#define DtDEC_APPEARANCE(P, p, T, N, n, E)
This macro defines a setter and getter for a specific attribute within the appearance attribute...
Definition: pPointObject.h:17
static const DtPortalMessageKind theKind
Definition: pPointObject.h:144
The base class for all messages passed through the portal.
Definition: pMessage.h:66
Contains the DtPortalReflectedObjectManager class declaration.
Represents Environment Objects in a simulation.
Definition: pEnvironmentObject.h:20
DtPortalPointObject()
CTOR.
Contains the DtPortalEnvironmentObject class declaration.
DtPortalMessageKind
A List of message kinds distributed with the Portal.
Definition: pMessageKinds.h:23
static DtPortalMessage * create()
Definition: pPointObject.h:157