APEX Framework: WindFSActor.h Source File

NVIDIA APEX

WindFSActor.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 WIND_FSACTOR_H
00013 #define WIND_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 WindFSActor : public Actor, public Renderable
00031 {
00032 protected:
00033     virtual ~WindFSActor() {}
00034 
00035 public:
00036 
00040     virtual BasicFSAsset*       getWindFSAsset() 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                setFieldStrength(float) = 0;
00066     
00070     virtual void                setFieldDirection(const PxVec3&) = 0;
00071 
00075     virtual void                setEnabled(bool isEnabled) = 0;
00076 
00080     virtual void                setCurrentScale(float scale) = 0;
00081 
00085     virtual float               getCurrentScale(void) const = 0;
00086 };
00087 
00088 PX_POP_PACK
00089 
00090 }
00091 } // end namespace nvidia::apex
00092 
00093 #endif // WIND_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.