Photon Engine 2.0.0-beta
A physically based renderer.
Loading...
Searching...
No Matches
ph::IndexedTriMesh Class Referenceabstract

#include <IndexedTriMesh.h>

Inheritance diagram for ph::IndexedTriMesh:
ph::TAosTriMesh< Index, Vertex, VerticesToTriFace >

Public Member Functions

 IndexedTriMesh (std::size_t numFaces)
 
virtual ~IndexedTriMesh ()=default
 
virtual TriFace getFace (std::size_t index) const =0
 
virtual std::array< math::Vector3R, 3 > getVertices (std::size_t index) const
 
std::size_t numFaces () const
 

Protected Attributes

std::size_t m_numFaces
 

Constructor & Destructor Documentation

◆ IndexedTriMesh()

ph::IndexedTriMesh::IndexedTriMesh ( std::size_t numFaces)
inlineexplicit

◆ ~IndexedTriMesh()

virtual ph::IndexedTriMesh::~IndexedTriMesh ( )
virtualdefault

Member Function Documentation

◆ getFace()

virtual TriFace ph::IndexedTriMesh::getFace ( std::size_t index) const
pure virtual

◆ getVertices()

std::array< math::Vector3R, 3 > ph::IndexedTriMesh::getVertices ( std::size_t index) const
inlinevirtual

◆ numFaces()

std::size_t ph::IndexedTriMesh::numFaces ( ) const
inline

Member Data Documentation

◆ m_numFaces

std::size_t ph::IndexedTriMesh::m_numFaces
protected

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