00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025
00026
00027
00028
00029
00030 #ifndef VORTEX_FSACTOR_H
00031 #define VORTEX_FSACTOR_H
00032
00033 #include "Apex.h"
00034
00035 namespace nvidia
00036 {
00037 namespace apex
00038 {
00039
00040 PX_PUSH_PACK_DEFAULT
00041
00042 class BasicFSAsset;
00043
00044
00048 class VortexFSActor : public Actor, public Renderable
00049 {
00050 protected:
00051 virtual ~VortexFSActor() {}
00052
00053 public:
00054
00058 virtual BasicFSAsset* getVortexFSAsset() const = 0;
00059
00063 virtual PxMat44 getCurrentPose() const = 0;
00064
00068 virtual void setCurrentPose(const PxTransform& pose) = 0;
00069
00073 virtual PxVec3 getCurrentPosition() const = 0;
00074
00078 virtual void setCurrentPosition(const PxVec3& pos) = 0;
00079
00083 virtual void setAxis(const PxVec3&) = 0;
00084
00088 virtual void setHeight(float) = 0;
00089
00093 virtual void setBottomRadius(float) = 0;
00094
00098 virtual void setTopRadius(float) = 0;
00099
00103 virtual void setBottomSphericalForce(bool) = 0;
00104
00108 virtual void setTopSphericalForce(bool) = 0;
00109
00113 virtual void setRotationalStrength(float) = 0;
00114
00118 virtual void setRadialStrength(float) = 0;
00119
00123 virtual void setLiftStrength(float) = 0;
00124
00128 virtual void setEnabled(bool isEnabled) = 0;
00129
00130
00134 virtual void setCurrentScale(float scale) = 0;
00135
00139 virtual float getCurrentScale(void) const = 0;
00140
00141 };
00142
00143 PX_POP_PACK
00144
00145 }
00146 }
00147
00148 #endif // VORTEX_FSACTOR_H