APEX Framework: BasicIosActor.h Source File

NVIDIA APEX

BasicIosActor.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 BASIC_IOS_ACTOR_H
00013 #define BASIC_IOS_ACTOR_H
00014 
00015 #include "Apex.h"
00016 
00017 namespace nvidia
00018 {
00019 namespace apex
00020 {
00021 
00022 PX_PUSH_PACK_DEFAULT
00023 
00027 class BasicIosActor : public Actor
00028 {
00029 public:
00030 
00032     virtual float                       getParticleRadius() const = 0;
00033     
00035     virtual float                       getRestDensity() const = 0;
00036 
00038     virtual uint32_t                    getParticleCount() const = 0;
00039 
00040 protected:
00041 
00042     virtual ~BasicIosActor()    {}
00043 };
00044 
00045 PX_POP_PACK
00046 
00047 }
00048 } // namespace nvidia
00049 
00050 #endif // BASIC_IOS_ACTOR_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.