Tesseract
Motion Planning Environment
Loading...
Searching...
No Matches
Classes | Typedefs | Enumerations | Functions | Variables
tesseract_visualization Namespace Reference

Classes

class  ArrowMarker
 An arrow marker. More...
 
class  AxisMarker
 An axis. More...
 
class  ContactResultsMarker
 A contact results marker. More...
 
class  EntityManager
 
class  GeometryMarker
 An geometry marker. More...
 
class  Marker
 
class  TesseractIgnitionVisualization
 The Tesseract Ignition Vizualization class. More...
 
class  ToolpathMarker
 An arrow defined by two points. More...
 
class  TrajectoryInterpolator
 
class  TrajectoryPlayer
 Enables the ability to play a trajectory provided by the set program. More...
 
class  Visualization
 The Vizualization class. More...
 
class  VisualizationLoader
 This is used to dynamically load tesseract visualizer. This class must remain around for the life of the loaded visualization class. More...
 

Typedefs

using EntityID = int
 
using EntityMap = std::unordered_map< std::string, EntityID >
 

Enumerations

enum class  MarkerType : int {
  NONE = 0 , GEOMETRY = 1 , AXIS = 2 , ARROW = 3 ,
  LINE_STRIP = 4 , LINE_LIST = 5 , POINTS = 6 , TEXT = 7 ,
  TRIANGLE_FAN = 8 , TRIANGLE_LIST = 9 , TRIANGLE_STRIP = 10 , TOOLPATH = 11 ,
  CONTACT_RESULTS = 12 , USER_DEFINED = 1000
}
 

Functions

bool isMeshWithColor (const std::string &file_path)
 
bool toMsg (ignition::msgs::Scene &scene_msg, EntityManager &entity_manager, const tesseract_scene_graph::SceneGraph &scene_graph, const tesseract_common::TransformMap &link_transforms)
 
ignition::msgs::Material convert (const Eigen::Vector4d &rgba)
 
void addArrow (EntityManager &entity_manager, ignition::msgs::Link &link, long &sub_index, const ArrowMarker &marker)
 
void addCylinder (EntityManager &entity_manager, ignition::msgs::Link &link, long &sub_index, const Eigen::Ref< const Eigen::Vector3d > &pt1, const Eigen::Ref< const Eigen::Vector3d > &pt2, const tesseract_scene_graph::Material &material, const Eigen::Vector3d &)
 
void addAxis (EntityManager &entity_manager, ignition::msgs::Link &link, long &sub_index, const AxisMarker &m)
 

Variables

static const int NULL_ENTITY_ID = -1
 

Typedef Documentation

◆ EntityID

using tesseract_visualization::EntityID = typedef int

◆ EntityMap

using tesseract_visualization::EntityMap = typedef std::unordered_map<std::string, EntityID>

Enumeration Type Documentation

◆ MarkerType

enum class tesseract_visualization::MarkerType : int
strong
Enumerator
NONE 

No type.

GEOMETRY 

Tesseract geometry.

AXIS 

Axis primitive.

ARROW 

Arrow primitive.

LINE_STRIP 

Line strip primitive.

LINE_LIST 

Line list primitive.

POINTS 

Points primitive.

TEXT 

Text geometry.

TRIANGLE_FAN 

Triangle fan primitive.

TRIANGLE_LIST 

Triangle list primitive.

TRIANGLE_STRIP 

Triangle strip primitive.

TOOLPATH 

Toolpath marker.

CONTACT_RESULTS 

Contact results marker.

USER_DEFINED 

Function Documentation

◆ addArrow()

void tesseract_visualization::addArrow ( EntityManager entity_manager,
ignition::msgs::Link &  link,
long &  sub_index,
const ArrowMarker marker 
)

◆ addAxis()

void tesseract_visualization::addAxis ( EntityManager entity_manager,
ignition::msgs::Link &  link,
long &  sub_index,
const AxisMarker m 
)

◆ addCylinder()

void tesseract_visualization::addCylinder ( EntityManager entity_manager,
ignition::msgs::Link &  link,
long &  sub_index,
const Eigen::Ref< const Eigen::Vector3d > &  pt1,
const Eigen::Ref< const Eigen::Vector3d > &  pt2,
const tesseract_scene_graph::Material material,
const Eigen::Vector3d &   
)
Todo:
LEVI fix

◆ convert()

ignition::msgs::Material tesseract_visualization::convert ( const Eigen::Vector4d &  rgba)

◆ isMeshWithColor()

bool tesseract_visualization::isMeshWithColor ( const std::string &  file_path)

◆ toMsg()

bool tesseract_visualization::toMsg ( ignition::msgs::Scene &  scene_msg,
EntityManager entity_manager,
const tesseract_scene_graph::SceneGraph scene_graph,
const tesseract_common::TransformMap link_transforms 
)

Variable Documentation

◆ NULL_ENTITY_ID

const int tesseract_visualization::NULL_ENTITY_ID = -1
static