33 #ifndef DART_GUI_OSG_INTERACTIVEFRAME_HPP_
34 #define DART_GUI_OSG_INTERACTIVEFRAME_HPP_
47 class InteractiveFrame;
95 const std::vector<const dart::dynamics::SimpleFrame*>
getShapeFrames()
const;
117 const std::string&
name =
"interactive_frame",
118 const Eigen::Isometry3d& relativeTransform
119 = Eigen::Isometry3d::Identity(),
120 double size_scale = 0.2,
121 double thickness_scale = 2.0);
129 double size_scale = 0.2,
double thickness_scale = 2.0);
143 const std::vector<const dart::dynamics::SimpleFrame*>
getShapeFrames()
const;
#define DART_DEFINE_ALIGNED_SHARED_OBJECT_CREATOR(class_name)
Definition: Memory.hpp:155
std::string * name
Definition: SkelParser.cpp:1697
The Frame class serves as the backbone of DART's kinematic tree structure.
Definition: Frame.hpp:58
The SimpleFrame class offers a user-friendly way of creating arbitrary Frames within the kinematic tr...
Definition: SimpleFrame.hpp:52
Definition: InteractiveFrame.hpp:110
virtual void resizeStandardVisuals(double size_scale=0.2, double thickness_scale=2.0)
Recreate the visuals for this InteractiveFrame according to the specified scales.
Definition: InteractiveFrame.cpp:188
void deleteAllVisualizationShapes()
Deletes all the visualization shapes held by the InteractiveFrame.
Definition: InteractiveFrame.cpp:586
dart::dynamics::SimpleFrame * addShapeFrame(const dart::dynamics::ShapePtr &shape)
Definition: InteractiveFrame.cpp:226
std::vector< std::unique_ptr< dart::dynamics::SimpleFrame > > mSimpleFrames
Definition: InteractiveFrame.hpp:161
const std::vector< dart::dynamics::SimpleFrame * > getShapeFrames()
Definition: InteractiveFrame.cpp:242
void deleteAllTools()
Delete all the tool entities belonging to this InteractiveFrame.
Definition: InteractiveFrame.cpp:601
InteractiveFrame(dart::dynamics::Frame *referenceFrame, const std::string &name="interactive_frame", const Eigen::Isometry3d &relativeTransform=Eigen::Isometry3d::Identity(), double size_scale=0.2, double thickness_scale=2.0)
Constructor.
Definition: InteractiveFrame.cpp:155
void removeAllShapeFrames()
Definition: InteractiveFrame.cpp:265
virtual ~InteractiveFrame()
Destructor.
Definition: InteractiveFrame.cpp:181
void createStandardVisualizationShapes(double size, double thickness)
Creates the standard visualization shapes for InteractiveFrames.
Definition: InteractiveFrame.cpp:271
InteractiveTool * getTool(InteractiveTool::Type tool, std::size_t coordinate)
Get the specified tool.
Definition: InteractiveFrame.cpp:196
InteractiveTool * mTools[InteractiveTool::NUM_TYPES][3]
Array of tools belonging to this InteractiveFrame.
Definition: InteractiveFrame.hpp:159
std::shared_ptr< Shape > ShapePtr
Definition: SmartPointer.hpp:81
std::shared_ptr< InteractiveFrame > InteractiveFramePtr
Definition: InteractiveFrame.hpp:164
Definition: BulletCollisionDetector.cpp:65