APEX Framework: VortexFSActor.h Source File

NVIDIA APEX

VortexFSActor.h
00001 /*
00002  * Copyright (c) 2008-2017, NVIDIA CORPORATION.  All rights reserved.
00003  *
00004  * NVIDIA CORPORATION and its licensors retain all intellectual property
00005  * and proprietary rights in and to this software, related documentation
00006  * and any modifications thereto.  Any use, reproduction, disclosure or
00007  * distribution of this software and related documentation without an express
00008  * license agreement from NVIDIA CORPORATION is strictly prohibited.
00009  */
00010 
00011 
00012 #ifndef VORTEX_FSACTOR_H
00013 #define VORTEX_FSACTOR_H
00014 
00015 #include "Apex.h"
00016 
00017 namespace nvidia
00018 {
00019 namespace apex
00020 {
00021 
00022 PX_PUSH_PACK_DEFAULT
00023 
00024 class BasicFSAsset;
00025 
00026 
00030 class VortexFSActor : public Actor, public Renderable
00031 {
00032 protected:
00033     virtual ~VortexFSActor() {}
00034 
00035 public:
00036 
00040     virtual BasicFSAsset*       getVortexFSAsset() const = 0;
00041 
00045     virtual PxMat44             getCurrentPose() const = 0;
00046     
00050     virtual void                setCurrentPose(const PxTransform& pose) = 0;
00051     
00055     virtual PxVec3              getCurrentPosition() const = 0;
00056     
00060     virtual void                setCurrentPosition(const PxVec3& pos) = 0;
00061 
00065     virtual void                setAxis(const PxVec3&) = 0;
00066     
00070     virtual void                setHeight(float) = 0;
00071     
00075     virtual void                setBottomRadius(float) = 0;
00076     
00080     virtual void                setTopRadius(float) = 0;
00081 
00085     virtual void                setBottomSphericalForce(bool) = 0;
00086     
00090     virtual void                setTopSphericalForce(bool) = 0;
00091 
00095     virtual void                setRotationalStrength(float) = 0;
00096     
00100     virtual void                setRadialStrength(float) = 0;
00101     
00105     virtual void                setLiftStrength(float) = 0;
00106 
00110     virtual void                setEnabled(bool isEnabled) = 0;
00111     
00112 
00116     virtual void                setCurrentScale(float scale) = 0;
00117 
00121     virtual float               getCurrentScale(void) const = 0;
00122 
00123 };
00124 
00125 PX_POP_PACK
00126 
00127 }
00128 } // end namespace nvidia::apex
00129 
00130 #endif // VORTEX_FSACTOR_H

Generated on Fri Dec 15 2017 13:58:35
Copyright © 2012-2017 NVIDIA Corporation, 2701 San Tomas Expressway, Santa Clara, CA 95050 U.S.A. All rights reserved.