APEX Framework: IofxActor.h Source File

NVIDIA APEX

IofxActor.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 IOFX_ACTOR_H
00013 #define IOFX_ACTOR_H
00014 
00015 #include "Apex.h"
00016 #include "IofxAsset.h"
00017 #include "IofxRenderable.h"
00018 
00019 namespace nvidia
00020 {
00021 namespace apex
00022 {
00023 
00024 PX_PUSH_PACK_DEFAULT
00025 
00029 class IofxActor : public Actor
00030 {
00031 public:
00033     virtual float               getObjectRadius() const = 0;
00034     
00036     virtual uint32_t            getObjectCount() const = 0;
00037     
00039     virtual uint32_t            getVisibleCount() const = 0;
00040     
00042     virtual const char*         getIosAssetName() const = 0;
00043 
00045     virtual physx::PxBounds3    getBounds() const = 0;
00046     
00053     virtual IofxRenderable*     acquireRenderableReference() = 0;
00054 };
00055 
00056 PX_POP_PACK
00057 
00058 }
00059 } // namespace nvidia
00060 
00061 #endif // IOFX_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.