Robowflex  v0.1
Making MoveIt Easy
robowflex::darts::Window::InteractiveOptions Struct Reference

Options for creating an interactive marker. More...

#include <gui.h>

Public Member Functions

void disableLinearControls ()
 Disables all linear controls. More...
 
void disableRotationControls ()
 Disables all rotation controls. More...
 
void disablePlanarControls ()
 Disables all planar controls. More...
 
void disableControls ()
 Disables all controls. More...
 

Public Attributes

std::string name {"interactive_marker"}
 Name of marker. More...
 
Eigen::Isometry3d pose {Eigen::Isometry3d::Identity()}
 Relative pose of marker. More...
 
InteractiveCallback callback {}
 Callback function on motion. More...
 
dart::dynamics::Frame * parent {dart::dynamics::Frame::World()}
 Parent frame. More...
 
double size {0.2}
 Size of marker. More...
 
double thickness {2.}
 Thickness of marker arrows. More...
 
bool obstructable {false}
 Is this frame obstructable? More...
 
bool linear [3] {true, true, true}
 Linear position controls enabled. More...
 
bool rotation [3] {true, true, true}
 Rotation ring controls enabled. More...
 
bool planar [3] {true, true, true}
 Planar translation controls enabled. More...
 

Detailed Description

Options for creating an interactive marker.

Definition at line 87 of file gui.h.

Member Function Documentation

◆ disableControls()

void Window::InteractiveOptions::disableControls ( )

Disables all controls.

Definition at line 65 of file gui.cpp.

66 {
70 }
void disableRotationControls()
Disables all rotation controls.
Definition: gui.cpp:51
void disableLinearControls()
Disables all linear controls.
Definition: gui.cpp:44
void disablePlanarControls()
Disables all planar controls.
Definition: gui.cpp:58

◆ disableLinearControls()

void Window::InteractiveOptions::disableLinearControls ( )

Disables all linear controls.

Definition at line 44 of file gui.cpp.

45 {
46  linear[0] = false;
47  linear[1] = false;
48  linear[2] = false;
49 }
bool linear[3]
Linear position controls enabled.
Definition: gui.h:97

◆ disablePlanarControls()

void Window::InteractiveOptions::disablePlanarControls ( )

Disables all planar controls.

Definition at line 58 of file gui.cpp.

59 {
60  planar[0] = false;
61  planar[1] = false;
62  planar[2] = false;
63 }
bool planar[3]
Planar translation controls enabled.
Definition: gui.h:99

◆ disableRotationControls()

void Window::InteractiveOptions::disableRotationControls ( )

Disables all rotation controls.

Definition at line 51 of file gui.cpp.

52 {
53  rotation[0] = false;
54  rotation[1] = false;
55  rotation[2] = false;
56 }
bool rotation[3]
Rotation ring controls enabled.
Definition: gui.h:98

Member Data Documentation

◆ callback

InteractiveCallback robowflex::darts::Window::InteractiveOptions::callback {}

Callback function on motion.

Definition at line 91 of file gui.h.

◆ linear

bool robowflex::darts::Window::InteractiveOptions::linear[3] {true, true, true}

Linear position controls enabled.

Definition at line 97 of file gui.h.

◆ name

std::string robowflex::darts::Window::InteractiveOptions::name {"interactive_marker"}

Name of marker.

Definition at line 89 of file gui.h.

◆ obstructable

bool robowflex::darts::Window::InteractiveOptions::obstructable {false}

Is this frame obstructable?

Definition at line 95 of file gui.h.

◆ parent

dart::dynamics::Frame* robowflex::darts::Window::InteractiveOptions::parent {dart::dynamics::Frame::World()}

Parent frame.

Definition at line 92 of file gui.h.

◆ planar

bool robowflex::darts::Window::InteractiveOptions::planar[3] {true, true, true}

Planar translation controls enabled.

Definition at line 99 of file gui.h.

◆ pose

Eigen::Isometry3d robowflex::darts::Window::InteractiveOptions::pose {Eigen::Isometry3d::Identity()}

Relative pose of marker.

Definition at line 90 of file gui.h.

◆ rotation

bool robowflex::darts::Window::InteractiveOptions::rotation[3] {true, true, true}

Rotation ring controls enabled.

Definition at line 98 of file gui.h.

◆ size

double robowflex::darts::Window::InteractiveOptions::size {0.2}

Size of marker.

Definition at line 93 of file gui.h.

◆ thickness

double robowflex::darts::Window::InteractiveOptions::thickness {2.}

Thickness of marker arrows.

Definition at line 94 of file gui.h.


The documentation for this struct was generated from the following files: