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  virtual ~RBD_Visualization();
23 
24  virtual bool getShowImpacts() const;
25  virtual UT_Vector3 getImpactColor() const;
26  virtual fpreal getImpactScale() const;
27  virtual bool getImpactShowAsVector() const { return true; }
28  virtual bool getShowSubstepImpacts() const;
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:45
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:58
virtual fpreal getImpactScale() const
virtual bool getImpactShowAsVector() const
double fpreal
Definition: SYS_Types.h:270
virtual bool getShowSubstepImpacts() const