Photon Engine 2.0.0-beta
A physically based renderer.
Loading...
Searching...
No Matches
ph::TAosTriMesh< Index, Vertex, VerticesToTriFace > Class Template Reference

#include <TAosTriMesh.h>

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

Public Member Functions

 TAosTriMesh (std::vector< Vertex > vertices, std::vector< Index > indices, VerticesToTriFace verticesToTriFace)
 
 TAosTriMesh (const Vertex *vertices, std::size_t numVertices, const Index *indices, std::size_t numIndices, VerticesToTriFace verticesToTriFace)
 
TriFace getFace (std::size_t faceIndex) const override
 
- Public Member Functions inherited from ph::IndexedTriMesh
 IndexedTriMesh (std::size_t numFaces)
 
virtual ~IndexedTriMesh ()=default
 
virtual std::array< math::Vector3R, 3 > getVertices (std::size_t index) const
 
std::size_t numFaces () const
 

Additional Inherited Members

- Protected Attributes inherited from ph::IndexedTriMesh
std::size_t m_numFaces
 

Constructor & Destructor Documentation

◆ TAosTriMesh() [1/2]

template<typename Index , typename Vertex , typename VerticesToTriFace >
ph::TAosTriMesh< Index, Vertex, VerticesToTriFace >::TAosTriMesh ( std::vector< Vertex > vertices,
std::vector< Index > indices,
VerticesToTriFace verticesToTriFace )
inline

◆ TAosTriMesh() [2/2]

template<typename Index , typename Vertex , typename VerticesToTriFace >
ph::TAosTriMesh< Index, Vertex, VerticesToTriFace >::TAosTriMesh ( const Vertex * vertices,
std::size_t numVertices,
const Index * indices,
std::size_t numIndices,
VerticesToTriFace verticesToTriFace )
inline

Member Function Documentation

◆ getFace()

template<typename Index , typename Vertex , typename VerticesToTriFace >
auto ph::TAosTriMesh< Index, Vertex, VerticesToTriFace >::getFace ( std::size_t faceIndex) const
inlineoverridevirtual

Implements ph::IndexedTriMesh.


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