HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
RBD_Visualization.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  */
7 
8 #ifndef __RBD_Visualization_h__
9 #define __RBD_Visualization_h__
10 
11 #include "RBD_API.h"
12 #include <SIM/SIM_Visualization.h>
13 
14 /// Class for inspecting the state of a cloth simulation.
15 /// Using prim/point/vertex attributes on the cloth geometry, it generates
16 /// guide geometry showing internal forces, energy and impacts.
17 ///
19 {
20 protected:
21  explicit RBD_Visualization(const SIM_DataFactory *factory);
22  ~RBD_Visualization() override;
23 
24  bool getShowImpacts() const override;
25  UT_Vector3 getImpactColor() const override;
26  fpreal getImpactScale() const override;
27  bool getImpactShowAsVector() const override { return true; }
28  bool getShowSubstepImpacts() const override;
29 
30 private:
31  static const SIM_DopDescription *getVisualizationDopDescription();
32 
35  SIM_Data,
36  "RBD Visualization",
37  getVisualizationDopDescription());
38 };
39 #endif
#define DECLARE_STANDARD_GETCASTTOTYPE()
Definition: SIM_DataUtils.h:50
virtual UT_Vector3 getImpactColor() const
#define RBD_API
Definition: RBD_API.h:10
virtual bool getShowImpacts() const
#define DECLARE_DATAFACTORY(DataClass, SuperClass, Description, DopParms)
Definition: SIM_DataUtils.h:63
virtual fpreal getImpactScale() const
bool getImpactShowAsVector() const override
fpreal64 fpreal
Definition: SYS_Types.h:277
virtual bool getShowSubstepImpacts() const