APEX Framework: HeatSourceActor.h Source File

NVIDIA APEX

HeatSourceActor.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 #ifndef HEAT_SOURCE_ACTOR_H
00012 #define HEAT_SOURCE_ACTOR_H
00013 
00014 #include "Apex.h"
00015 #include "Shape.h"
00016 
00017 namespace nvidia
00018 {
00019 namespace apex
00020 {
00021 
00022 class HeatSourceAsset;
00023 
00024 
00028 class HeatSourceActor : public Actor
00029 {
00030 protected:
00031     virtual ~HeatSourceActor() {}
00032 
00033 public:
00035     virtual HeatSourceAsset*            getHeatSourceAsset() 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                       getAverageTemperature() const = 0;
00057 
00059     virtual float                       getStdTemperature() const = 0;
00060 
00062     virtual PxMat44                     getPose() const = 0;
00063 
00065     virtual void                        setTemperature(float averageTemperature, float stdTemperature) = 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 } // end namespace nvidia
00082 
00083 #endif 

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.