diff options
Diffstat (limited to 'APEX_1.4/include/AssetPreviewScene.h')
| -rw-r--r-- | APEX_1.4/include/AssetPreviewScene.h | 86 |
1 files changed, 86 insertions, 0 deletions
diff --git a/APEX_1.4/include/AssetPreviewScene.h b/APEX_1.4/include/AssetPreviewScene.h new file mode 100644 index 00000000..721787f8 --- /dev/null +++ b/APEX_1.4/include/AssetPreviewScene.h @@ -0,0 +1,86 @@ +/* + * Copyright (c) 2008-2015, NVIDIA CORPORATION. All rights reserved. + * + * NVIDIA CORPORATION and its licensors retain all intellectual property + * and proprietary rights in and to this software, related documentation + * and any modifications thereto. Any use, reproduction, disclosure or + * distribution of this software and related documentation without an express + * license agreement from NVIDIA CORPORATION is strictly prohibited. + */ + + +#ifndef ASSET_PREVIEW_SCENE_H +#define ASSET_PREVIEW_SCENE_H + +/*! +\file +\brief classes Scene, SceneStats, SceneDesc +*/ + +#include "ApexDesc.h" +#include "Renderable.h" +#include "Context.h" +#include "foundation/PxVec3.h" +#include <ApexDefs.h> + +#if PX_PHYSICS_VERSION_MAJOR == 3 +#include "PxFiltering.h" +#endif +namespace physx +{ + class PxActor; + class PxScene; + class PxRenderBuffer; + + class PxCpuDispatcher; + class PxGpuDispatcher; + class PxTaskManager; + class PxBaseTask; +} + +namespace NvParameterized +{ +class Interface; +} + +namespace nvidia +{ +namespace apex +{ + +PX_PUSH_PACK_DEFAULT + + +/** +\brief An APEX class for +*/ +class AssetPreviewScene : public ApexInterface +{ +public: + /** + \brief Sets the view matrix. Should be called whenever the view matrix needs to be updated. + */ + virtual void setCameraMatrix(const PxMat44& viewTransform) = 0; + + /** + \brief Returns the view matrix set by the user for the given viewID. + */ + virtual PxMat44 getCameraMatrix() const = 0; + + /** + \brief Sets whether the asset preview should simply show asset names or many other parameter values + */ + virtual void setShowFullInfo(bool showFullInfo) = 0; + + /** + \brief Get the bool which determines whether the asset preview shows just asset names or parameter values + */ + virtual bool getShowFullInfo() const = 0; +}; + + +PX_POP_PACK +} +} // end namespace nvidia::apex + +#endif // ASSET_PREVIEW_SCENE_H |