APEX Framework: SubstanceSourceActor.h Source File

NVIDIA APEX

SubstanceSourceActor.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 SUBSTANCE_SOURCE_ACTOR_H
00012 #define SUBSTANCE_SOURCE_ACTOR_H
00013 
00014 #include "Apex.h"
00015 #include "Shape.h"
00016 
00017 namespace nvidia
00018 {
00019 namespace apex
00020 {
00021 
00022 class SubstanceSourceAsset;
00023 
00024 
00028 class SubstanceSourceActor : public Actor
00029 {
00030 protected:
00031     virtual ~SubstanceSourceActor() {}
00032 
00033 public:
00035     virtual SubstanceSourceAsset*       getSubstanceSourceAsset() const = 0;
00036 
00042     virtual void                        setEnabled(bool enable) = 0;
00043 
00045     virtual bool                        isEnabled() const = 0;
00046 
00048     virtual bool                        intersectAgainstAABB(PxBounds3) = 0;
00049 
00051     virtual  Shape*                     getShape() const = 0;
00052 
00054     virtual BoxShape*                   getBoxShape() = 0;
00055 
00057     virtual SphereShape*                getSphereShape() = 0;
00058 
00060     virtual float                       getAverageDensity() const = 0;
00061 
00063     virtual float                       getStdDensity() const = 0;
00064 
00066     virtual void                        setDensity(float averageDensity, float stdDensity) = 0;
00067 
00069     virtual void                        setCurrentScale(float scale) = 0;
00070 
00072     virtual float                       getCurrentScale(void) const = 0;
00073 
00074     virtual void                        release() = 0;
00075 };
00076 
00077 
00078 }
00079 } // end namespace nvidia
00080 
00081 #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.