16 #ifndef SURGSIM_BLOCKS_VISUALIZECONTACTSBEHAVIOR_H 17 #define SURGSIM_BLOCKS_VISUALIZECONTACTSBEHAVIOR_H 22 #include "SurgSim/Framework/Behavior.h" 23 #include "SurgSim/Framework/ObjectFactory.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 Wraps glewInit() to separate the glew opengl definitions from the osg opengl definitions only imgui n...
Definition: AddRandomSphereBehavior.cpp:36
Behaviors perform actions.
Definition: Behavior.h:40