API Documentation
Loading...
Searching...
No Matches
GridMesh< t_dims > Class Template Reference

Stores a uniform grid of data in N dimensions into a Geometry object. More...

#include <GriddedMesh.h>

Inheritance diagram for GridMesh< t_dims >:
[legend]
Collaboration diagram for GridMesh< t_dims >:
[legend]

Public Member Functions

Geometry geometry () const
 
const Vector< t_dims, uint04 > & getIndexSize () const
 
template<class t_type >
t_type getVertexProperty (uint04 property_index, Vector< t_dims, uint04 > index) const
 
 GridMesh ()
 
 GridMesh (const Geometry &model)
 
template<class t_type >
t_type interpolateVertex (VertexProperty property, const Vector< t_dims, fltp08 > &index, InterpolationValues interpolation=InterpolationValues::e_linear) const
 
bool isValid () const
 
void setupVertexTable (Vector< t_dims, uint04 > index_size, Geometry::VertexMode position, Geometry::VertexMode normal=Geometry::VertexMode::e_no_vertex, Geometry::VertexMode color=Geometry::VertexMode::e_no_vertex, Geometry::VertexMode texture=Geometry::VertexMode::e_no_vertex, Geometry::VertexMode tangent=Geometry::VertexMode::e_no_vertex, Geometry::VertexMode bitangent=Geometry::VertexMode::e_no_vertex, Geometry::VertexMode bones=Geometry::VertexMode::e_no_vertex)
 
template<class t_type >
void setVertex (VertexProperty property, Vector< t_dims, uint04 > index, const t_type &vector)
 
template<class t_type >
void setVertexProperty (uint04 property_index, Vector< t_dims, uint04 > index, const t_type &value)
 
template<class t_type >
t_type vertex (VertexProperty property, Vector< t_dims, uint04 > index) const
 
- Public Member Functions inherited from GridIndexing< t_dims >
Vector< t_dims, uint04convertFromIndex (const uint04 &location) const
 
uint04 convertToIndex (const Vector< t_dims, uint04 > &location) const
 
void setSize (Vector< t_dims, uint04 > index_size)
 

Protected Attributes

Geometry m_geo
 
- Protected Attributes inherited from GridIndexing< t_dims >
Vector< t_dims, uint04m_size
 

Additional Inherited Members

- Static Public Member Functions inherited from GridIndexing< t_dims >
static constexpr uint01 getNumberOfCorners ()
 

Detailed Description

template<uint01 t_dims>
class NDEVR::GridMesh< t_dims >

Stores a uniform grid of data in N dimensions into a Geometry object.


Constructor & Destructor Documentation

◆ GridMesh() [1/2]

template<uint01 t_dims>
GridMesh ( )
inline

◆ GridMesh() [2/2]

template<uint01 t_dims>
GridMesh ( const Geometry & model)
inlineexplicit

Member Function Documentation

◆ geometry()

template<uint01 t_dims>
Geometry geometry ( ) const
inline

◆ getIndexSize()

template<uint01 t_dims>
const Vector< t_dims, uint04 > & getIndexSize ( ) const
inline

◆ getVertexProperty()

template<uint01 t_dims>
template<class t_type >
t_type getVertexProperty ( uint04 property_index,
Vector< t_dims, uint04 > index ) const
inline

◆ interpolateVertex()

template<uint01 t_dims>
template<class t_type >
t_type interpolateVertex ( VertexProperty property,
const Vector< t_dims, fltp08 > & index,
InterpolationValues interpolation = InterpolationValues::e_linear ) const
inline

◆ isValid()

template<uint01 t_dims>
bool isValid ( ) const
inline

◆ setupVertexTable()

◆ setVertex()

template<uint01 t_dims>
template<class t_type >
void setVertex ( VertexProperty property,
Vector< t_dims, uint04 > index,
const t_type & vector )
inline

◆ setVertexProperty()

template<uint01 t_dims>
template<class t_type >
void setVertexProperty ( uint04 property_index,
Vector< t_dims, uint04 > index,
const t_type & value )
inline

◆ vertex()

template<uint01 t_dims>
template<class t_type >
t_type vertex ( VertexProperty property,
Vector< t_dims, uint04 > index ) const
inline

Member Data Documentation

◆ m_geo

template<uint01 t_dims>
Geometry m_geo
protected

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