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  /// @}
45 
46  /// @{
47  /// JSON Schema for meta types
48  static const GA_PrimitiveJSON *getPrimMetaBall();
49  static const GA_PrimitiveJSON *getPrimMetaSQuad();
50  /// @}
51 
52  /// @{
53  /// JSON Schema for particle type
54  static const GA_PrimitiveJSON *getPrimParticle();
55  /// @}
56 
57  /// @{
58  static const GA_PrimitiveJSON *getPrimTriBezier();
59  static const GA_PrimitiveJSON *getTriMesh();
60  static const GA_PrimitiveJSON *getPrimTriFan();
61  static const GA_PrimitiveJSON *getPrimTriStrip();
62  static const GA_PrimitiveJSON *getPrimVolume();
63  static const GA_PrimitiveJSON *getPrimPolySoup();
64  /// @}
65 
66  static const GA_PrimitiveJSON *getPrimChannel();
67 };
68 
69 #endif
JSON interfaces for standard GEO library primitives.
Provide a JSON interface to a primitive.
#define GEO_API
Definition: GEO_API.h:14