walberla::mesh::ColorVertexDataSource< MeshType > Class Template Reference

#include <CommonDataSources.h>

+ Inheritance diagram for walberla::mesh::ColorVertexDataSource< MeshType >:

Public Types

typedef VTKMeshWriter< MeshType >::Vertices Vertices
 
typedef VTKMeshWriter< MeshType >::template VertexDataSource< uint8_t >::value_type value_type
 

Public Member Functions

 ColorVertexDataSource (const std::string &_name="color")
 
virtual uint_t numComponents ()
 
virtual void getData (const MeshType &mesh, const Vertices &vertices, std::vector< value_type > &data)
 

Member Typedef Documentation

◆ value_type

template<typename MeshType >
typedef VTKMeshWriter<MeshType>::template VertexDataSource< uint8_t >::value_type walberla::mesh::ColorVertexDataSource< MeshType >::value_type

◆ Vertices

Constructor & Destructor Documentation

◆ ColorVertexDataSource()

template<typename MeshType >
walberla::mesh::ColorVertexDataSource< MeshType >::ColorVertexDataSource ( const std::string &  _name = "color")
inline

Member Function Documentation

◆ getData()

template<typename MeshType >
virtual void walberla::mesh::ColorVertexDataSource< MeshType >::getData ( const MeshType mesh,
const Vertices vertices,
std::vector< value_type > &  data 
)
inlinevirtual

◆ numComponents()

template<typename MeshType >
virtual uint_t walberla::mesh::ColorVertexDataSource< MeshType >::numComponents ( )
inlinevirtual

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