Public Member Functions | Private Member Functions | Private Attributes | List of all members
VoteViewer Class Reference

Public Member Functions

void generateVisualization ()
 
void loadObjectsFromXML ()
 
void printObjects ()
 
void spinSelectionMode ()
 
 VoteViewer ()
 

Private Member Functions

void addObjectAndVotes (ISM::ObjectPtr object, bool recursive=false)
 
void getNodeParameters (std::string &db_filename, std::string &base_frame, std::string &visualization_topic)
 
void init (ISM::TableHelperPtr table_helper)
 
bool objectExist (std::string &obj_name, std::string &obj_id)
 
bool parsePoseString (std::string pose_in, ISM::PosePtr &pose_out, std::string delim, std::string angles)
 
void refreshVisualization (const ros::TimerEvent &e)
 

Private Attributes

std::string config_file_path_
 
ros::NodeHandle nh_
 
unsigned int number_of_subscriber_
 
VIZ::ObjectModelVisualizerRVIZ * object_model_visualizer_
 
std::map< ISM::ObjectPtr, std::vector< ISM::VoteSpecifierPtr > > object_to_votes_
 
std::vector< ISM::ObjectPtr > objects_
 
ISM::PatternToObjectToVoteMap pattern_to_object_to_votes_
 
std::string scene_name_
 
ros::Timer timer_
 
std::map< std::string, boost::filesystem::path > type_to_resource_path_
 
ros::Publisher visualization_publisher_
 
VIZ::VoteVisualizerRVIZ * vote_visualizer_
 

Detailed Description

Copyright (c) 2016, Borella Jocelyn, Hanselmann Fabian, Heller Florian, Heizmann Heinrich, Kübler Marcel, Mehlhaus Jonas, Meißner Pascal, Qattan Mohamad, Reckling Reno, Stroh Daniel All rights reserved.

Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:

  1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
  2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.
  3. Neither the name of the copyright holder nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission.

THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

Definition at line 39 of file voteViewer.cpp.

Constructor & Destructor Documentation

VoteViewer::VoteViewer ( )
inline

Definition at line 42 of file voteViewer.cpp.

Member Function Documentation

void VoteViewer::addObjectAndVotes ( ISM::ObjectPtr  object,
bool  recursive = false 
)
inlineprivate

Definition at line 310 of file voteViewer.cpp.

void VoteViewer::generateVisualization ( )
inline

Definition at line 147 of file voteViewer.cpp.

void VoteViewer::getNodeParameters ( std::string &  db_filename,
std::string &  base_frame,
std::string &  visualization_topic 
)
inlineprivate

Definition at line 198 of file voteViewer.cpp.

void VoteViewer::init ( ISM::TableHelperPtr  table_helper)
inlineprivate

Definition at line 232 of file voteViewer.cpp.

void VoteViewer::loadObjectsFromXML ( )
inline

Definition at line 84 of file voteViewer.cpp.

bool VoteViewer::objectExist ( std::string &  obj_name,
std::string &  obj_id 
)
inlineprivate

Definition at line 350 of file voteViewer.cpp.

bool VoteViewer::parsePoseString ( std::string  pose_in,
ISM::PosePtr &  pose_out,
std::string  delim,
std::string  angles 
)
inlineprivate

Definition at line 259 of file voteViewer.cpp.

void VoteViewer::printObjects ( )
inline

Definition at line 65 of file voteViewer.cpp.

void VoteViewer::refreshVisualization ( const ros::TimerEvent e)
inlineprivate

Definition at line 369 of file voteViewer.cpp.

void VoteViewer::spinSelectionMode ( )
inline

Definition at line 158 of file voteViewer.cpp.

Member Data Documentation

std::string VoteViewer::config_file_path_
private

Definition at line 393 of file voteViewer.cpp.

ros::NodeHandle VoteViewer::nh_
private

Definition at line 384 of file voteViewer.cpp.

unsigned int VoteViewer::number_of_subscriber_
private

Definition at line 399 of file voteViewer.cpp.

VIZ::ObjectModelVisualizerRVIZ* VoteViewer::object_model_visualizer_
private

Definition at line 397 of file voteViewer.cpp.

std::map<ISM::ObjectPtr, std::vector<ISM::VoteSpecifierPtr> > VoteViewer::object_to_votes_
private

Definition at line 390 of file voteViewer.cpp.

std::vector<ISM::ObjectPtr> VoteViewer::objects_
private

Definition at line 389 of file voteViewer.cpp.

ISM::PatternToObjectToVoteMap VoteViewer::pattern_to_object_to_votes_
private

Definition at line 388 of file voteViewer.cpp.

std::string VoteViewer::scene_name_
private

Definition at line 387 of file voteViewer.cpp.

ros::Timer VoteViewer::timer_
private

Definition at line 385 of file voteViewer.cpp.

std::map<std::string, boost::filesystem::path> VoteViewer::type_to_resource_path_
private

Definition at line 391 of file voteViewer.cpp.

ros::Publisher VoteViewer::visualization_publisher_
private

Definition at line 396 of file voteViewer.cpp.

VIZ::VoteVisualizerRVIZ* VoteViewer::vote_visualizer_
private

Definition at line 398 of file voteViewer.cpp.


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


asr_ism
Author(s): Borella Jocelyn, Hanselmann Fabian, Heller Florian, Heizmann Heinrich, Kübler Marcel, Mehlhaus Jonas, Meißner Pascal, Qattan Mohamad, Reckling Reno, Stroh Daniel
autogenerated on Thu Jan 9 2020 07:20:58