HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
GEO_PrimitiveJSON.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: GEO_PrimitiveJSON.h ( GEO Library, C++)
7  *
8  * COMMENTS: Methods to load/save various GEO level primitives
9  */
10 
11 #ifndef __GEO_PrimitiveJSON__
12 #define __GEO_PrimitiveJSON__
13 
14 #include "GEO_API.h"
15 
16 class GA_PrimitiveJSON;
17 
18 /// @brief JSON interfaces for standard GEO library primitives
19 ///
20 /// This class provides readers/writers for standard GEO library primitives.
21 /// For details, please see GA_PrimitiveJSON.
23 {
24 public:
25  /// @{
26  /// JSON Schema for face types
27  static const GA_PrimitiveJSON *getPrimPoly();
28  static const GA_PrimitiveJSON *getPrimRBezCurve();
29  static const GA_PrimitiveJSON *getPrimNURBCurve();
30  /// @}
31 
32  /// @{
33  /// JSON Schema for hull types
34  static const GA_PrimitiveJSON *getPrimMesh();
35  static const GA_PrimitiveJSON *getPrimRBezSurf();
36  static const GA_PrimitiveJSON *getPrimNURBSurf();
37  /// @}
38 
39  /// @{
40  /// JSON Schema for pasted surface
41  static const GA_PrimitiveJSON *getPrimPasteDAG();
42  /// @}
43 
44  /// @{
45  /// JSON Schema for quadrics
46  static const GA_PrimitiveJSON *getPrimCircle();
47  static const GA_PrimitiveJSON *getPrimSphere();
48  static const GA_PrimitiveJSON *getPrimTube();
49  /// @}
50 
51  /// @{
52  /// JSON Schema for meta types
53  static const GA_PrimitiveJSON *getPrimMetaBall();
54  static const GA_PrimitiveJSON *getPrimMetaSQuad();
55  /// @}
56 
57  /// @{
58  /// JSON Schema for particle type
59  static const GA_PrimitiveJSON *getPrimParticle();
60  /// @}
61 
62  /// @{
63  static const GA_PrimitiveJSON *getPrimTriBezier();
64  static const GA_PrimitiveJSON *getTriMesh();
65  static const GA_PrimitiveJSON *getPrimTriFan();
66  static const GA_PrimitiveJSON *getPrimTriStrip();
67  static const GA_PrimitiveJSON *getPrimVolume();
68  static const GA_PrimitiveJSON *getPrimPolySoup();
69  /// @}
70 
71 };
72 
73 #endif
JSON interfaces for standard GEO library primitives.
Provide a JSON interface to a primitive.
#define GEO_API
Definition: GEO_API.h:10