The Dirtchamber
A mixed reality testing environment for real-time global illumination algorithms
Public Member Functions | List of all members
dune::mesh< V > Struct Template Referenceabstract

Basic interface of a mesh. More...

#include <mesh.h>

Inheritance diagram for dune::mesh< V >:
dune::aabb< V >

Public Member Functions

virtual size_t num_vertices ()=0
 Returns the number of vertices of a mesh.
 
virtual size_t num_faces ()=0
 Returns the number of faces of a mesh.
 
- Public Member Functions inherited from dune::aabb< V >
center () const
 Returns the center of the bounding-box.
 
bb_max () const
 Returns the maximum (upper/right/back) of the bounding-box.
 
bb_min () const
 Returns the minimum (lower/left/front) of the bounding-box.
 
virtual void set_world (const DirectX::XMFLOAT4X4 &world)
 Update the world matrix of this mesh.
 
const DirectX::XMFLOAT4X4 & world ()
 Returns the current world matrix of this mesh.
 

Additional Inherited Members

- Protected Member Functions inherited from dune::aabb< V >
void init_bb (const V &p)
 Initialize the bounding-box with a first point. More...
 
void update_bb (const V &p)
 Update the bounding-box with a new point. More...
 

Detailed Description

template<typename V>
struct dune::mesh< V >

Basic interface of a mesh.

A mesh is a bounding box with functions to determine the number of faces and vertices in it.


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