ForceFieldPreview.h
Go to the documentation of this file.
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 FORCE_FIELD_PREVIEW_H
00013 #define FORCE_FIELD_PREVIEW_H
00014 
00015 #include "Apex.h"
00016 #include "AssetPreview.h"
00017 
00018 namespace nvidia
00019 {
00020 namespace apex
00021 {
00022 
00023 PX_PUSH_PACK_DEFAULT
00024 
00025 class RenderDebugInterface;
00026 
00027 namespace APEX_FORCEFIELD
00028 {
00033 static const uint32_t FORCEFIELD_DRAW_NOTHING = (0x00);
00038 static const uint32_t FORCEFIELD_DRAW_ICON = (0x01);
00043 static const uint32_t FORCEFIELD_DRAW_BOUNDARIES = (0x2);
00048 static const uint32_t FORCEFIELD_DRAW_WITH_CYLINDERS = (0x4);
00053 static const uint32_t FORCEFIELD_DRAW_FULL_DETAIL = (FORCEFIELD_DRAW_ICON + FORCEFIELD_DRAW_BOUNDARIES);
00058 static const uint32_t FORCEFIELD_DRAW_FULL_DETAIL_BOLD = (FORCEFIELD_DRAW_FULL_DETAIL + FORCEFIELD_DRAW_WITH_CYLINDERS);
00059 }
00060 
00064 class ForceFieldPreview : public AssetPreview
00065 {
00066 public:
00072     virtual void    setIconScale(float scale) = 0;
00080     virtual void    setDetailLevel(uint32_t detail) = 0;
00081 
00082 protected:
00083     ForceFieldPreview() {};
00084 };
00085 
00086 
00087 PX_POP_PACK
00088 
00089 } // namespace apex
00090 } // namespace nvidia
00091 
00092 #endif // FORCE_FIELD_PREVIEW_H

Generated on Tue Aug 1 2017 22:44:02

Copyright © 2012-2017 NVIDIA Corporation, 2701 San Tomas Expressway, Santa Clara, CA 95050 U.S.A. All rights reserved.