HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
GT_PrimNull.h
Go to the documentation of this file.
1 /*
2  * PROPRIETARY INFORMATION. This software is proprietary to
3  * Side Effects Software Inc., and is not to be reproduced,
4  * transmitted, or disclosed in any way without written permission.
5  *
6  * NAME: GT_PrimNull.h ( GT Library, C++)
7  *
8  * COMMENTS:
9  */
10 
11 #ifndef __GT_PrimNull__
12 #define __GT_PrimNull__
13 
14 #include "GT_API.h"
15 #include "GT_Primitive.h"
16 
17 /// A null primitive (no geometry, just a placeholder)
19 public:
20  GT_PrimNull();
21  ~GT_PrimNull() override;
22 
23  const char *className() const override { return "GT_PrimNull"; }
24 
25  /// @{
26  /// API from GT_Primitive
27  void enlargeBounds(UT_BoundingBox boxes[],
28  int nsegments) const override;
29  int getMotionSegments() const override;
30  int64 getMemoryUsage() const override;
31  GT_PrimitiveHandle doSoftCopy() const override
32  { return new GT_PrimNull(); }
33  /// @}
34 };
35 
36 #endif
virtual int getMotionSegments() const =0
const char * className() const override
Definition: GT_PrimNull.h:23
#define GT_API
Definition: GT_API.h:13
GT_PrimitiveHandle doSoftCopy() const override
Definition: GT_PrimNull.h:31
long long int64
Definition: SYS_Types.h:116
A null primitive (no geometry, just a placeholder)
Definition: GT_PrimNull.h:18
The base class for all GT primitive types.
Definition: GT_Primitive.h:43
virtual int64 getMemoryUsage() const =0
virtual void enlargeBounds(UT_BoundingBox boxes[], int nsegments) const =0