HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
SIM_SopGuide.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: SIM_SopGuide.h ( SIM Library, C++)
7  *
8  * COMMENTS:
9  * Used to visualize a field of particles within DOPs
10  *
11  */
12 
13 #ifndef __SIM_SopGuide_H__
14 #define __SIM_SopGuide_H__
15 
16 #include "SIMZ_Utils.h"
17 
18 #include <UT/UT_Vector2.h>
19 #include <UT/UT_Vector3.h>
20 #include <UT/UT_Color.h>
21 
22 #include <SIM/SIM_OptionsUser.h>
23 #include <SIM/SIM_DataUtils.h>
24 #include <SIM/SIM_Data.h>
25 
26 class SIM_Geometry;
28 
29 #define SIM_SOPGEOMETRY_USESOPPATH "usesoppath"
31  public SIM_OptionsUser
32 {
33 public:
34  GET_GUIDE_FUNC_B(SIM_NAME_SHOWGUIDE, ShowGuide, true);
36 
37  GET_GUIDE_FUNC_B("wireframe", Wireframe, true);
38  GET_GUIDE_FUNC_B(SIM_SOPGEOMETRY_USESOPPATH, UseSopPath, false);
39  GET_GUIDE_FUNC_S(SIM_NAME_SOPPATH, SopPath, "");
40 
41 protected:
42  explicit SIM_SopGuide(const SIM_DataFactory *factory);
43  ~SIM_SopGuide() override;
44 
45  SIM_Guide *createGuideObjectSubclass() const override;
47  const SIM_Options &options,
48  const GU_DetailHandle &gdh,
49  UT_DMatrix4 *xform,
50  const SIM_Time &t
51  ) const override;
52 
53 private:
54  static const SIM_DopDescription *getSopGuideDopDescription();
55 
57 
59  SIM_Data,
60  "SopGuide",
61  getSopGuideDopDescription());
62 };
63 
64 #endif
#define SIM_NAME_SHOWGUIDE
Definition: SIM_Names.h:186
#define SIMZ_API
Definition: SIMZ_API.h:10
#define DECLARE_STANDARD_GETCASTTOTYPE()
Definition: SIM_DataUtils.h:50
#define SIM_SOPGEOMETRY_USESOPPATH
Definition: SIM_SopGuide.h:29
#define GET_GUIDE_FUNC_V3(DataName, FuncName, Default)
virtual void buildGuideGeometrySubclass(const SIM_RootData &root, const SIM_Options &options, const GU_DetailHandle &gdh, UT_DMatrix4 *xform, const SIM_Time &t) const
#define DECLARE_DATAFACTORY(DataClass, SuperClass, Description, DopParms)
Definition: SIM_DataUtils.h:63
GLdouble t
Definition: glad.h:2397
#define GET_GUIDE_FUNC_S(DataName, FuncName, Default)
#define SIM_NAME_COLOR
Definition: SIM_Names.h:87
#define GET_GUIDE_FUNC_B(DataName, FuncName, Default)
virtual SIM_Guide * createGuideObjectSubclass() const
#define SIM_NAME_SOPPATH
Definition: SIMZ_Utils.h:31