chrono::vehicle::ChTSDAGeometry Class Reference

Description

Utility class defining visualization geometry for a vehicle TSDA.

Holds vectors of segment and spring visualization shapes.

#include <ChVehicleGeometry.h>

Collaboration diagram for chrono::vehicle::ChTSDAGeometry:

Classes

struct  SegmentShape
 Segment shape for TSDA visualization. More...
 
struct  SpringShape
 Spring shape for TSDA visualization. More...
 

Public Member Functions

void CreateVisualizationAssets (std::shared_ptr< ChLinkTSDA > tsda, VisualizationType vis)
 Create visualization assets for the specified TSDA.
 

Public Attributes

std::shared_ptr< SegmentShapem_vis_segment
 visualization segment
 
std::shared_ptr< SpringShapem_vis_spring
 visualization spring
 
bool m_has_color
 true if visualization color was provided
 
ChColor m_color
 visualization color
 

The documentation for this class was generated from the following files:
  • /builds/uwsbel/chrono/src/chrono_vehicle/ChVehicleGeometry.h
  • /builds/uwsbel/chrono/src/chrono_vehicle/ChVehicleGeometry.cpp