chrono::vsg3d Namespace Reference

Description

Namespace with classes for the VSG module.

Classes

class  ChEventHandlerVSG
 Base class for a user-defined event handler for the VSG run-time visualization system. More...
 
class  ChGuiComponentVSG
 Base class for a GUI component for the VSG run-time visualization system. More...
 
class  ChVisualSystemVSG
 VSG-based Chrono run-time visualization system. More...
 

Functions

ChFrame PointPointFrame (const ChVector<> &P1, const ChVector<> &P2, double &dist)
 
void GetDieShapeData (vsg::ref_ptr< vsg::vec3Array > &vertices, vsg::ref_ptr< vsg::vec3Array > &normals, vsg::ref_ptr< vsg::vec2Array > &texcoords, vsg::ref_ptr< vsg::ushortArray > &indices)
 
void GetSurfaceShapeData (std::shared_ptr< ChVisualShapeSurface > surface, vsg::ref_ptr< vsg::vec3Array > &vertices, vsg::ref_ptr< vsg::vec3Array > &normals, vsg::ref_ptr< vsg::vec2Array > &texcoords, vsg::ref_ptr< vsg::ushortArray > &indices)
 
vsg::ref_ptr< vsg::ShaderSet > createLineShaderSet (vsg::ref_ptr< const vsg::Options > options)
 
vsg::ref_ptr< vsg::ShaderSet > createPbrShaderSet (vsg::ref_ptr< const vsg::Options > options, std::shared_ptr< ChVisualMaterial > material)
 
vsg::ref_ptr< vsg::StateGroup > createLineStateGroup (vsg::ref_ptr< const vsg::Options > options, VkPrimitiveTopology topology)
 
vsg::ref_ptr< vsg::StateGroup > createPbrStateGroup (vsg::ref_ptr< const vsg::Options > options, std::shared_ptr< ChVisualMaterial > material, bool wireframe)
 
vsg::ref_ptr< vsg::PbrMaterialValue > createPbrMaterialFromChronoMaterial (std::shared_ptr< ChVisualMaterial > chronoMat)
 
vsg::ref_ptr< vsg::PhongMaterialValue > createPhongMaterialFromChronoMaterial (std::shared_ptr< chrono::ChVisualMaterial > chronoMat)
 
vsg::ref_ptr< vsg::PhongMaterialValue > createPhongMaterialFromChronoMaterial (std::shared_ptr< ChVisualMaterial > chronoMat)
 
vsg::ref_ptr< vsg::Node > createQuad (const vsg::vec3 &origin, const vsg::vec3 &horizontal, const vsg::vec3 &vertical, vsg::ref_ptr< vsg::Data > sourceData)
 
vsg::ref_ptr< vsg::Node > createSkybox (const vsg::Path &filename, vsg::ref_ptr< vsg::Options > options, bool yup)