Main Page Class List Class Members

NvBlastExtAuthoringCutout.h
Go to the documentation of this file.
1 // THE MATERIALS, AND EXPRESSLY DISCLAIMS ALL IMPLIED WARRANTIES OF NONINFRINGEMENT,
2 // MERCHANTABILITY, AND FITNESS FOR A PARTICULAR PURPOSE.
3 //
4 // Information and code furnished is believed to be accurate and reliable.
5 // However, NVIDIA Corporation assumes no responsibility for the consequences of use of such
6 // information or for any infringement of patents or other rights of third parties that may
7 // result from its use. No license is granted by implication or otherwise under any patent
8 // or patent rights of NVIDIA Corporation. Details are subject to change without notice.
9 // This code supersedes and replaces all information previously supplied.
10 // NVIDIA Corporation products are not authorized for use as critical
11 // components in life support devices or systems without express written approval of
12 // NVIDIA Corporation.
13 //
14 // Copyright (c) 2016-2020 NVIDIA Corporation. All rights reserved.
15
16 #ifndef NVBLASTAUTHORINGCUTOUT_H
17 #define NVBLASTAUTHORINGCUTOUT_H
18
19 #include "NvBlastExtAuthoringTypes.h"
20
21
22 namespace Nv
23 {
24 namespace Blast
25 {
26
36 class CutoutSet
37 {
38 public:
40 virtual uint32_t getCutoutCount() const = 0;
41
46 virtual uint32_t getCutoutVertexCount(uint32_t cutoutIndex, uint32_t loopIndex) const = 0;
47
52 virtual uint32_t getCutoutLoopCount(uint32_t cutoutIndex) const = 0;
53
58 virtual const NvcVec3& getCutoutVertex(uint32_t cutoutIndex, uint32_t loopIndex, uint32_t vertexIndex) const = 0;
59
63 virtual bool isCutoutVertexToggleSmoothingGroup(uint32_t cutoutIndex, uint32_t loopIndex, uint32_t vertexIndex) const = 0;
64
68 virtual bool isPeriodic() const = 0;
69
73 virtual const NvcVec2& getDimensions() const = 0;
74
76 virtual void release() = 0;
77
78 protected:
80 virtual ~CutoutSet() {}
81 };
82
83 } // namespace Blast
84 } // namespace Nv
85
86
87 #endif // idndef NVBLASTAUTHORINGCUTOUT_H
Nv::Blast::CutoutSet::getCutoutVertex
virtual const NvcVec3 & getCutoutVertex(uint32_t cutoutIndex, uint32_t loopIndex, uint32_t vertexIndex) const =0
Nv::Blast::CutoutSet::~CutoutSet
virtual ~CutoutSet()
Definition: NvBlastExtAuthoringCutout.h:80
Nv::Blast::CutoutSet
Definition: NvBlastExtAuthoringCutout.h:36
NvBlastExtAuthoringTypes.h
Nv::Blast::CutoutSet::isCutoutVertexToggleSmoothingGroup
virtual bool isCutoutVertexToggleSmoothingGroup(uint32_t cutoutIndex, uint32_t loopIndex, uint32_t vertexIndex) const =0
Nv::Blast::CutoutSet::isPeriodic
virtual bool isPeriodic() const =0
Nv::Blast::CutoutSet::getDimensions
virtual const NvcVec2 & getDimensions() const =0
NvcVec2
Definition: NvCTypes.h:43
Nv::Blast::CutoutSet::getCutoutLoopCount
virtual uint32_t getCutoutLoopCount(uint32_t cutoutIndex) const =0
Nv::Blast::CutoutSet::getCutoutCount
virtual uint32_t getCutoutCount() const =0
Nv::Blast::CutoutSet::release
virtual void release()=0
Nv::Blast::CutoutSet::getCutoutVertexCount
virtual uint32_t getCutoutVertexCount(uint32_t cutoutIndex, uint32_t loopIndex) const =0
Nv
Definition: NvBlastExtAuthoring.h:34
NvcVec3
Definition: NvCTypes.h:49