23 : myWaterCurrentSpeed(0.)
24 , myWaterCurrentDirection(0.)
27 , mySwellStateDirection(0.)
29 , mySeaStateDirection(0.)
30 , mySurfaceTransparency(0.)
31 , myWindDrivenSeaStateEnabled(false)
45 myWaterCurrentSpeed = orig.myWaterCurrentSpeed;
46 myWaterCurrentDirection = orig.myWaterCurrentDirection;
47 myTidalOffset = orig.myTidalOffset;
48 mySwellState = orig.mySwellState;
49 mySwellStateDirection = orig.mySwellStateDirection;
50 mySeaState = orig.mySeaState;
51 mySeaStateDirection = orig.mySeaStateDirection;
52 mySurfaceTransparency = orig.mySurfaceTransparency;
53 myWindDrivenSeaStateEnabled = orig.myWindDrivenSeaStateEnabled;
54 myChoppiness = orig.myChoppiness;
55 mySurgeDepth = orig.mySurgeDepth;
56 myPriority = orig.myPriority;
102 bool myIsRemoteComponent =
false;
#define NEXTFRAME_ACCESSOR_MUTATOR_WITHLOCK(MemberType, Accessor, MutatorAndMember)
Definition: stateComponentImplementationTemplate.h:53
DtWaterSurfaceStateComponentData()
Definition: waterSurfaceStateComponent.h:22
DtWaterSurfaceStateComponentData & operator=(const DtWaterSurfaceStateComponentData &orig)
Definition: waterSurfaceStateComponent.h:42
Definition: stateComponentImplementationTemplate.h:68
Definition: stateComponent.h:266
DtWaterSurfaceStateComponentData(const DtWaterSurfaceStateComponentData &orig)
Definition: waterSurfaceStateComponent.h:37
3) Define the current frame class. This will be used for read access.
Definition: waterSurfaceStateComponent.h:135
#define CURRENTFRAME_ACCESSOR(MemberType, Accessor, MutatorAndMember)
Definition: stateComponentImplementationTemplate.h:61
ACCESSOR_MUTATOR_MEMBER(double, waterCurrentSpeed, WaterCurrentSpeed)
1) Define the interface class that will be used to represent the next and current frames...
Definition: waterSurfaceStateComponent.h:76
Definition: stateComponentImplementationTemplate.h:89
The overall structure of the DtStateData mechanism is: The DtStateData contains a list of double buff...
Definition: stateData.h:339
#define DEFINE_STATE_COMPONENT_TYPE(CreatedComponent)
Definition: stateComponent.h:228
DtStateComponentCreator< DtWaterSurfaceStateComponentImplementation > DtWaterSurfaceStateComponentCreator
5) Define the creator. This will need to be registered with the REGISTER_STATE_COMPONENT macro in the...
Definition: waterSurfaceStateComponent.h:163
#define UNDEFINED_RETURNVALUE_ACCESSOR_MUTATOR(Type, Member, Set)
Definition: doubleBufferedDataStorage.h:53
0) Define the State Component Data. This struct replaces the legion stuff
Definition: waterSurfaceStateComponent.h:20
void setIsRemoteComponent(bool b)
Definition: waterSurfaceStateComponent.h:99
DtWaterSurfaceStateComponentCurrentFrame(DtStateData *sd)
Definition: waterSurfaceStateComponent.h:138
#define DT_DLL_vrfStateData
This file is used to determine how to build Disable inconsistent dll linkage warning Visual Studio 6...
Definition: vrfStateDataDefines.h:26
2) Define the next frame class. This will be used for write access.
Definition: waterSurfaceStateComponent.h:106
Definition: stateComponent.h:98
virtual ~DtWaterSurfaceStateComponentNextFrame()
Definition: waterSurfaceStateComponent.h:114
DtStateComponentImplementationTemplate< DtWaterSurfaceStateComponent, DtWaterSurfaceStateComponentCurrentFrame, DtWaterSurfaceStateComponentNextFrame > DtWaterSurfaceStateComponentImplementation
4) Define the state component that will contain the wrappers to the next and current frame states tha...
Definition: waterSurfaceStateComponent.h:159
Contains the DtStateComponent class declaration.
This is a simple base class that will be used to return a pointer to current or next frame state...
Definition: stateComponent.h:291
Definition: stateComponentImplementationTemplate.h:137
tbb::spin_rw_mutex myMutex
Definition: waterSurfaceStateComponent.h:131
DtWaterSurfaceStateComponentNextFrame(DtStateData *sd)
Definition: waterSurfaceStateComponent.h:109