Public Member Functions | Private Attributes | List of all members
rviz::ScrewVisual Class Reference

#include <screw_visual.h>

Inheritance diagram for rviz::ScrewVisual:
Inheritance graph
[legend]

Public Member Functions

 ScrewVisual (Ogre::SceneManager *scene_manager, Ogre::SceneNode *parent_node)
 
void setAngularColor (float r, float g, float b, float a)
 
void setAngularScale (float s)
 
void setFrameOrientation (const Ogre::Quaternion &orientation)
 
void setFramePosition (const Ogre::Vector3 &position)
 
void setHideSmallValues (bool h)
 
void setLinearColor (float r, float g, float b, float a)
 
void setLinearScale (float s)
 
void setScrew (const geometry_msgs::Vector3 &linear, const geometry_msgs::Vector3 &angular)
 
void setScrew (const Ogre::Vector3 &linear, const Ogre::Vector3 &angular)
 
void setVisible (bool visible)
 
void setWidth (float w)
 
virtual ~ScrewVisual ()
 

Private Attributes

Ogre::SceneNode * angular_node_
 
float angular_scale_
 
rviz::Arrowarrow_angular_
 
rviz::Arrowarrow_linear_
 
rviz::BillboardLinecircle_angular_
 
rviz::Arrowcircle_arrow_angular_
 
Ogre::SceneNode * frame_node_
 
bool hide_small_values_
 
Ogre::SceneNode * linear_node_
 
float linear_scale_
 
Ogre::SceneManager * scene_manager_
 
float width_
 

Detailed Description

Definition at line 16 of file screw_visual.h.

Constructor & Destructor Documentation

◆ ScrewVisual()

rviz::ScrewVisual::ScrewVisual ( Ogre::SceneManager *  scene_manager,
Ogre::SceneNode *  parent_node 
)

Definition at line 14 of file screw_visual.cpp.

◆ ~ScrewVisual()

rviz::ScrewVisual::~ScrewVisual ( )
virtual

Definition at line 34 of file screw_visual.cpp.

Member Function Documentation

◆ setAngularColor()

void rviz::ScrewVisual::setAngularColor ( float  r,
float  g,
float  b,
float  a 
)

Definition at line 111 of file screw_visual.cpp.

◆ setAngularScale()

void rviz::ScrewVisual::setAngularScale ( float  s)

Definition at line 123 of file screw_visual.cpp.

◆ setFrameOrientation()

void rviz::ScrewVisual::setFrameOrientation ( const Ogre::Quaternion &  orientation)

Definition at line 100 of file screw_visual.cpp.

◆ setFramePosition()

void rviz::ScrewVisual::setFramePosition ( const Ogre::Vector3 &  position)

Definition at line 95 of file screw_visual.cpp.

◆ setHideSmallValues()

void rviz::ScrewVisual::setHideSmallValues ( bool  h)

Definition at line 133 of file screw_visual.cpp.

◆ setLinearColor()

void rviz::ScrewVisual::setLinearColor ( float  r,
float  g,
float  b,
float  a 
)

Definition at line 106 of file screw_visual.cpp.

◆ setLinearScale()

void rviz::ScrewVisual::setLinearScale ( float  s)

Definition at line 118 of file screw_visual.cpp.

◆ setScrew() [1/2]

void rviz::ScrewVisual::setScrew ( const geometry_msgs::Vector3 &  linear,
const geometry_msgs::Vector3 &  angular 
)

Definition at line 47 of file screw_visual.cpp.

◆ setScrew() [2/2]

void rviz::ScrewVisual::setScrew ( const Ogre::Vector3 &  linear,
const Ogre::Vector3 &  angular 
)

Definition at line 52 of file screw_visual.cpp.

◆ setVisible()

void rviz::ScrewVisual::setVisible ( bool  visible)

Definition at line 139 of file screw_visual.cpp.

◆ setWidth()

void rviz::ScrewVisual::setWidth ( float  w)

Definition at line 128 of file screw_visual.cpp.

Member Data Documentation

◆ angular_node_

Ogre::SceneNode* rviz::ScrewVisual::angular_node_
private

Definition at line 60 of file screw_visual.h.

◆ angular_scale_

float rviz::ScrewVisual::angular_scale_
private

Definition at line 53 of file screw_visual.h.

◆ arrow_angular_

rviz::Arrow* rviz::ScrewVisual::arrow_angular_
private

Definition at line 50 of file screw_visual.h.

◆ arrow_linear_

rviz::Arrow* rviz::ScrewVisual::arrow_linear_
private

Definition at line 49 of file screw_visual.h.

◆ circle_angular_

rviz::BillboardLine* rviz::ScrewVisual::circle_angular_
private

Definition at line 51 of file screw_visual.h.

◆ circle_arrow_angular_

rviz::Arrow* rviz::ScrewVisual::circle_arrow_angular_
private

Definition at line 52 of file screw_visual.h.

◆ frame_node_

Ogre::SceneNode* rviz::ScrewVisual::frame_node_
private

Definition at line 57 of file screw_visual.h.

◆ hide_small_values_

bool rviz::ScrewVisual::hide_small_values_
private

Definition at line 54 of file screw_visual.h.

◆ linear_node_

Ogre::SceneNode* rviz::ScrewVisual::linear_node_
private

Definition at line 59 of file screw_visual.h.

◆ linear_scale_

float rviz::ScrewVisual::linear_scale_
private

Definition at line 53 of file screw_visual.h.

◆ scene_manager_

Ogre::SceneManager* rviz::ScrewVisual::scene_manager_
private

Definition at line 63 of file screw_visual.h.

◆ width_

float rviz::ScrewVisual::width_
private

Definition at line 53 of file screw_visual.h.


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


rviz
Author(s): Dave Hershberger, David Gossow, Josh Faust, William Woodall
autogenerated on Fri Dec 13 2024 03:31:04