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 
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
virtual const NvcVec3 & getCutoutVertex(uint32_t cutoutIndex, uint32_t loopIndex, uint32_t vertexIndex) const =0
virtual ~CutoutSet()
Definition: NvBlastExtAuthoringCutout.h:80
Definition: NvBlastExtAuthoringCutout.h:36
virtual bool isCutoutVertexToggleSmoothingGroup(uint32_t cutoutIndex, uint32_t loopIndex, uint32_t vertexIndex) const =0
virtual bool isPeriodic() const =0
virtual const NvcVec2 & getDimensions() const =0
Definition: NvCTypes.h:43
virtual uint32_t getCutoutLoopCount(uint32_t cutoutIndex) const =0
virtual uint32_t getCutoutCount() const =0
virtual void release()=0
virtual uint32_t getCutoutVertexCount(uint32_t cutoutIndex, uint32_t loopIndex) const =0
Definition: NvBlastArray.h:37
Definition: NvCTypes.h:49