16 #ifndef SURGSIM_BLOCKS_VISUALIZECONTACTSBEHAVIOR_H 17 #define SURGSIM_BLOCKS_VISUALIZECONTACTSBEHAVIOR_H 30 class VectorFieldRepresentation;
41 SURGSIM_STATIC_REGISTRATION(VisualizeContactsBehavior);
56 std::shared_ptr<SurgSim::Framework::Component> getSource();
60 void setSource(std::shared_ptr<SurgSim::Framework::Component> source);
62 void update(
double dt)
override;
64 int getTargetManagerType()
const override;
67 double getVectorFieldScale();
71 void setVectorFieldScale(
double scale);
74 bool doInitialize()
override;
76 bool doWakeUp()
override;
80 std::shared_ptr<SurgSim::Collision::Representation>
m_source;
83 std::shared_ptr<SurgSim::Graphics::VectorFieldRepresentation>
m_vectorField;
89 #endif // SURGSIM_BLOCKS_VISUALIZECONTACTSBEHAVIOR_H Definition: CompoundShapeToGraphics.cpp:29
#define SURGSIM_CLASSNAME(ClassName)
Declare the class name of a class with the appropriate function header, do not use quotes...
Definition: Macros.h:21
Behaviors perform actions.
Definition: Behavior.h:40
The type of collision detection.
Definition: Representation.h:60