HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups 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 quadrics
41  static const GA_PrimitiveJSON *getPrimCircle();
42  static const GA_PrimitiveJSON *getPrimSphere();
43  static const GA_PrimitiveJSON *getPrimTube();
44  static const GA_PrimitiveJSON *getPrimPlane();
45  /// @}
46 
47  /// @{
48  /// JSON Schema for meta types
49  static const GA_PrimitiveJSON *getPrimMetaBall();
50  static const GA_PrimitiveJSON *getPrimMetaSQuad();
51  /// @}
52 
53  /// @{
54  /// JSON Schema for particle type
55  static const GA_PrimitiveJSON *getPrimParticle();
56  /// @}
57 
58  /// @{
59  static const GA_PrimitiveJSON *getPrimTriBezier();
60  static const GA_PrimitiveJSON *getTriMesh();
61  static const GA_PrimitiveJSON *getPrimTriFan();
62  static const GA_PrimitiveJSON *getPrimTriStrip();
63  static const GA_PrimitiveJSON *getPrimVolume();
64  static const GA_PrimitiveJSON *getPrimPolySoup();
65  /// @}
66 
67  static const GA_PrimitiveJSON *getPrimChannel();
68  static const GA_PrimitiveJSON *getPrimCamera();
69 };
70 
71 #endif
JSON interfaces for standard GEO library primitives.
Provide a JSON interface to a primitive.
#define GEO_API
Definition: GEO_API.h:14