23 : myWaterCurrentSpeed(0.)
24 , myWaterCurrentDirection(0.)
27 , mySwellStateDirection(0.)
29 , mySeaStateDirection(0.)
30 , mySurfaceTransparency(0.)
31 , myWindDrivenSeaStateEnabled(false)
47 myWaterCurrentSpeed = orig.myWaterCurrentSpeed;
48 myWaterCurrentDirection = orig.myWaterCurrentDirection;
49 myTidalOffset = orig.myTidalOffset;
50 mySwellState = orig.mySwellState;
51 mySwellStateDirection = orig.mySwellStateDirection;
52 mySeaState = orig.mySeaState;
53 mySeaStateDirection = orig.mySeaStateDirection;
54 mySurfaceTransparency = orig.mySurfaceTransparency;
55 myWindDrivenSeaStateEnabled = orig.myWindDrivenSeaStateEnabled;
56 myChoppiness = orig.myChoppiness;
57 mySurgeDepth = orig.mySurgeDepth;
58 myDepthOffset = orig.myDepthOffset;
59 myWindFetch = orig.myWindFetch;
60 myPriority = orig.myPriority;
110 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:44
Definition: stateComponentImplementationTemplate.h:68
Definition: stateComponent.h:269
DtWaterSurfaceStateComponentData(const DtWaterSurfaceStateComponentData &orig)
Definition: waterSurfaceStateComponent.h:39
3) Define the current frame class. This will be used for read access.
Definition: waterSurfaceStateComponent.h:144
#define CURRENTFRAME_ACCESSOR(MemberType, Accessor, MutatorAndMember)
Definition: stateComponentImplementationTemplate.h:61
1) Define the interface class that will be used to represent the next and current frames...
Definition: waterSurfaceStateComponent.h:82
Definition: stateComponentImplementationTemplate.h:87
The overall structure of the DtStateData mechanism is: The DtStateData contains a list of double buff...
Definition: stateData.h:398
#define DEFINE_STATE_COMPONENT_TYPE(CreatedComponent)
Definition: stateComponent.h:231
DtStateComponentCreator< DtWaterSurfaceStateComponentImplementation > DtWaterSurfaceStateComponentCreator
5) Define the creator. This will need to be registered with the REGISTER_STATE_COMPONENT macro in the...
Definition: waterSurfaceStateComponent.h:174
#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:107
DtWaterSurfaceStateComponentCurrentFrame(DtStateData *sd)
Definition: waterSurfaceStateComponent.h:147
#define ACCESSOR_MUTATOR_MEMBER(MemberType, Accessor, MutatorAndMember)
Definition: stateComponentImplementationTemplate.h:25
#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:114
Definition: stateComponent.h:101
virtual ~DtWaterSurfaceStateComponentNextFrame() override
Definition: waterSurfaceStateComponent.h:122
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:294
Definition: stateComponentImplementationTemplate.h:135
tbb::spin_rw_mutex myMutex
Definition: waterSurfaceStateComponent.h:140
DtWaterSurfaceStateComponentNextFrame(DtStateData *sd)
Definition: waterSurfaceStateComponent.h:117