Privacy
An open-source, flexible 3D physical simulation framework
mars::graphics::GetVerticesFunctor Class Reference

This visitor class is used to get triangles from a mesh. More...

Public Member Functions

void operator() (const osg::Vec3 &v1, const osg::Vec3 &v2, const osg::Vec3 &v3, bool treatVertexDataAsTemporary)
 
vector< osg::Vec3 > & getVertices ()
 

Public Attributes

std::vector< osg::Vec3 > vertices
 
osg::Matrix transformMatrix
 

Detailed Description

This visitor class is used to get triangles from a mesh.

Definition at line 95 of file gui_helper_functions.cpp.

Member Function Documentation

◆ getVertices()

vector<osg::Vec3>& mars::graphics::GetVerticesFunctor::getVertices ( )
inline

Definition at line 128 of file gui_helper_functions.cpp.

◆ operator()()

void mars::graphics::GetVerticesFunctor::operator() ( const osg::Vec3 &  v1,
const osg::Vec3 &  v2,
const osg::Vec3 &  v3,
bool  treatVertexDataAsTemporary 
)
inline

Definition at line 114 of file gui_helper_functions.cpp.

Member Data Documentation

◆ transformMatrix

osg::Matrix mars::graphics::GetVerticesFunctor::transformMatrix

Definition at line 104 of file gui_helper_functions.cpp.

◆ vertices

std::vector<osg::Vec3> mars::graphics::GetVerticesFunctor::vertices

Definition at line 98 of file gui_helper_functions.cpp.


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