Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011 #ifndef VELOCITY_SOURCE_ACTOR_H
00012 #define VELOCITY_SOURCE_ACTOR_H
00013
00014 #include "Apex.h"
00015 #include "Shape.h"
00016
00017 namespace nvidia
00018 {
00019 namespace apex
00020 {
00021
00022 class VelocitySourceAsset;
00023
00024
00028 class VelocitySourceActor : public Actor
00029 {
00030 protected:
00031 virtual ~VelocitySourceActor() {}
00032
00033 public:
00035 virtual VelocitySourceAsset* getVelocitySourceAsset() const = 0;
00036
00038 virtual void setEnabled(bool enable) = 0;
00039
00041 virtual bool isEnabled() const = 0;
00042
00044 virtual bool intersectAgainstAABB(PxBounds3) = 0;
00045
00047 virtual Shape* getShape() const = 0;
00048
00050 virtual BoxShape* getBoxShape() = 0;
00051
00053 virtual SphereShape* getSphereShape() = 0;
00054
00056 virtual float getAverageVelocity() const = 0;
00057
00059 virtual float getStdVelocity() const = 0;
00060
00062 virtual PxMat44 getPose() const = 0;
00063
00065 virtual void setVelocity(float averageVelocity, float stdVelocity) = 0;
00066
00068 virtual void setPose(PxMat44 pose) = 0;
00069
00071 virtual void setCurrentScale(float scale) = 0;
00072
00074 virtual float getCurrentScale(void) const = 0;
00075
00076 virtual void release() = 0;
00077 };
00078
00079
00080 }
00081 }
00082
00083 #endif