4 #include "RbMaterialType.h"
17 double m_dblTotalVortexStepTime;
18 long m_lStepVortexTimeCount;
23 void InitializeRobotics(
int argc,
const char **argv);
24 void SetSimulationStabilityParams();
26 virtual void StepSimulation();
27 virtual void SimulateEnd();
29 virtual void UpdateSimulationWindows() {};
36 #pragma region CreateMethods
38 virtual void GenerateCollisionMeshFile(std::string strOriginalMeshFile, std::string strCollisionMeshFile,
float fltScaleX,
float fltScaleY,
float fltScaleZ) {};
39 virtual void ConvertV1MeshFile(std::string strOriginalMeshFile, std::string strNewMeshFile, std::string strTexture) {};
43 #pragma region AccessorMutatorOverrides
45 virtual bool InSimulation();
49 #pragma region HelperMethods
51 virtual void GetPositionAndRotationFromD3DMatrix(
float (&aryTransform)[4][4], CStdFPoint &vPos, CStdFPoint &vRot) {};
54 virtual unsigned long long GetTimerTick();
55 virtual double TimerDiff_n(
unsigned long long lStart,
unsigned long long lEnd);
56 virtual double TimerDiff_u(
unsigned long long lStart,
unsigned long long lEnd);
57 virtual double TimerDiff_m(
unsigned long long lStart,
unsigned long long lEnd);
58 virtual double TimerDiff_s(
unsigned long long lStart,
unsigned long long lEnd);
59 virtual void MicroSleep(
unsigned int iMicroTime);
60 virtual void WriteToConsole(std::string strMessage);
64 #pragma region FluidMethods
69 virtual void ResetSimulation();
70 virtual void Initialize(
int argc,
const char **argv);
71 virtual void ShutdownSimulation();
72 virtual void ToggleSimulation();
73 virtual void StopSimulation();
74 virtual bool StartSimulation();
75 virtual bool PauseSimulation();
Simulates the entire environment.
virtual void SnapshotStopFrame()
Takes a snapshot of the current frame.
Records the simulation keyframes and videos.
Classes for implementing the cm-labs vortex physics engine for AnimatLab.