HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros 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  virtual ~GT_PrimNull();
22 
23  virtual const char *className() const { return "GT_PrimNull"; }
24 
25  /// @{
26  /// API from GT_Primitive
27  virtual void enlargeBounds(UT_BoundingBox boxes[],
28  int nsegments) const;
29  virtual int getMotionSegments() const;
30  virtual int64 getMemoryUsage() const;
32  { return new GT_PrimNull(); }
33  /// @}
34 };
35 
36 #endif
virtual int getMotionSegments() const =0
#define GT_API
Definition: GT_API.h:11
long long int64
Definition: SYS_Types.h:100
virtual GT_PrimitiveHandle doSoftCopy() const
Definition: GT_PrimNull.h:31
A null primitive (no geometry, just a placeholder)
Definition: GT_PrimNull.h:18
virtual const char * className() const
Definition: GT_PrimNull.h:23
The base class for all GT primitive types.
Definition: GT_Primitive.h:41
virtual int64 getMemoryUsage() const =0
virtual void enlargeBounds(UT_BoundingBox boxes[], int nsegments) const =0