Lagrange
RaycasterMeshDerived< MeshType > Class Template Reference

Inherits RaycasterMesh.

Public Types

using Parent = RaycasterMesh
 
using Index = Parent::Index
 
- Public Types inherited from RaycasterMesh
using Index = size_t
 

Public Member Functions

 RaycasterMeshDerived (std::shared_ptr< MeshType > mesh)
 
std::shared_ptr< MeshTypeget_mesh_ptr () const
 
Index get_dim () const override
 
Index get_vertex_per_facet () const override
 
Index get_num_vertices () const override
 
Index get_num_facets () const override
 
std::vector< float > vertices_to_float () const override
 
std::vector< unsigned > indices_to_int () const override
 
void vertices_to_float (float *buf) const override
 
void indices_to_int (unsigned *buf) const override
 
virtual Index get_dim () const =0
 
virtual Index get_vertex_per_facet () const =0
 
virtual Index get_num_vertices () const =0
 
virtual Index get_num_facets () const =0
 
virtual std::vector< float > vertices_to_float () const =0
 
virtual std::vector< unsigned > indices_to_int () const =0
 
virtual void vertices_to_float (float *buf) const =0
 
virtual void indices_to_int (unsigned *buf) const =0
 

Public Attributes

std::shared_ptr< MeshTypem_mesh
 

Member Function Documentation

◆ get_dim()

Index get_dim ( ) const
inlineoverridevirtual

Implements RaycasterMesh.

◆ get_vertex_per_facet()

Index get_vertex_per_facet ( ) const
inlineoverridevirtual

Implements RaycasterMesh.

◆ get_num_vertices()

Index get_num_vertices ( ) const
inlineoverridevirtual

Implements RaycasterMesh.

◆ get_num_facets()

Index get_num_facets ( ) const
inlineoverridevirtual

Implements RaycasterMesh.

◆ vertices_to_float() [1/2]

std::vector< float > vertices_to_float ( ) const
inlineoverridevirtual

Implements RaycasterMesh.

◆ indices_to_int() [1/2]

std::vector< unsigned > indices_to_int ( ) const
inlineoverridevirtual

Implements RaycasterMesh.

◆ vertices_to_float() [2/2]

void vertices_to_float ( float *  buf) const
inlineoverridevirtual

Implements RaycasterMesh.

◆ indices_to_int() [2/2]

void indices_to_int ( unsigned *  buf) const
inlineoverridevirtual

Implements RaycasterMesh.


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