Public Member Functions | Private Member Functions | Private Attributes
rviz_interaction_tools::MeshObjectSwitcher Class Reference

#include <mesh_object_switcher.h>

List of all members.

Public Member Functions

void addObject (MeshObject *mesh_object)
unsigned getVisible ()
unsigned isSelected ()
unsigned isValid ()
 MeshObjectSwitcher (std::string valid_mat_name, std::string valid_sel_mat_name, std::string invalid_mat_name, std::string invalid_sel_mat_name)
 the material names must exist and will be used for the different modes
void next ()
 increment the visible index by one
void setSelected (bool selected)
void setValid (bool valid)
void setVisible (unsigned index)
unsigned size ()
virtual ~MeshObjectSwitcher ()

Private Member Functions

 MeshObjectSwitcher (const MeshObjectSwitcher &)
MeshObjectSwitcheroperator= (const MeshObjectSwitcher &)
void updateMaterials ()

Private Attributes

std::string invalid_mat_name_
std::string invalid_sel_mat_name_
std::vector< boost::shared_ptr
< MeshObject > > 
mesh_objects_
bool selected_
bool valid_
std::string valid_mat_name_
std::string valid_sel_mat_name_
unsigned visible_mesh_

Detailed Description

Definition at line 44 of file mesh_object_switcher.h.


Constructor & Destructor Documentation

rviz_interaction_tools::MeshObjectSwitcher::MeshObjectSwitcher ( std::string  valid_mat_name,
std::string  valid_sel_mat_name,
std::string  invalid_mat_name,
std::string  invalid_sel_mat_name 
)

the material names must exist and will be used for the different modes

Definition at line 42 of file mesh_object_switcher.cpp.

Definition at line 57 of file mesh_object_switcher.cpp.


Member Function Documentation

Definition at line 62 of file mesh_object_switcher.cpp.

Returns:
currently visible mesh object

Definition at line 72 of file mesh_object_switcher.h.

Definition at line 75 of file mesh_object_switcher.h.

Definition at line 74 of file mesh_object_switcher.h.

increment the visible index by one

Definition at line 104 of file mesh_object_switcher.cpp.

MeshObjectSwitcher& rviz_interaction_tools::MeshObjectSwitcher::operator= ( const MeshObjectSwitcher ) [private]

Definition at line 70 of file mesh_object_switcher.cpp.

Definition at line 76 of file mesh_object_switcher.cpp.

Definition at line 83 of file mesh_object_switcher.cpp.

Returns:
number of meshes being managed

Definition at line 78 of file mesh_object_switcher.h.

Definition at line 109 of file mesh_object_switcher.cpp.


Member Data Documentation

Definition at line 96 of file mesh_object_switcher.h.

Definition at line 97 of file mesh_object_switcher.h.

Definition at line 87 of file mesh_object_switcher.h.

Definition at line 92 of file mesh_object_switcher.h.

Definition at line 91 of file mesh_object_switcher.h.

Definition at line 94 of file mesh_object_switcher.h.

Definition at line 95 of file mesh_object_switcher.h.

Definition at line 89 of file mesh_object_switcher.h.


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


rviz_interaction_tools
Author(s): David Gossow
autogenerated on Thu Jan 2 2014 11:37:58