Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
gte::Mesh< Real > Class Template Reference

#include <GteMesh.h>

Inheritance diagram for gte::Mesh< Real >:
Inheritance graph
[legend]

Public Member Functions

MeshDescription const & GetDescription () const
 
 Mesh (MeshDescription const &description, std::vector< MeshTopology > const &validTopologies)
 
 Mesh (Mesh const &)=delete
 
Meshoperator= (Mesh const &)=delete
 
void Update ()
 
virtual ~Mesh ()
 

Protected Member Functions

Vector3< Real > & Bitangent (uint32_t i)
 
void ComputeIndices ()
 
Vector3< Real > & DPDU (uint32_t i)
 
Vector3< Real > & DPDV (uint32_t i)
 
Vector3< Real > & Normal (uint32_t i)
 
Vector3< Real > & Position (uint32_t i)
 
Vector3< Real > & Tangent (uint32_t i)
 
Vector2< Real > & TCoord (uint32_t i)
 
virtual void UpdateFrame ()
 
virtual void UpdateNormals ()
 
virtual void UpdatePositions ()
 

Protected Attributes

Vector3< Real > * mBitangents
 
size_t mBitangentStride
 
MeshDescription mDescription
 
Vector3< Real > * mDPDUs
 
size_t mDPDUStride
 
Vector3< Real > * mDPDVs
 
size_t mDPDVStride
 
std::vector< Matrix< 3, 2, Real > > mDTU
 
Vector3< Real > * mNormals
 
size_t mNormalStride
 
Vector3< Real > * mPositions
 
size_t mPositionStride
 
Vector3< Real > * mTangents
 
size_t mTangentStride
 
Vector2< Real > * mTCoords
 
size_t mTCoordStride
 
std::vector< Matrix< 2, 2, Real > > mUTU
 

Detailed Description

template<typename Real>
class gte::Mesh< Real >

Definition at line 106 of file GteMesh.h.

Constructor & Destructor Documentation

template<typename Real >
gte::Mesh< Real >::Mesh ( MeshDescription const &  description,
std::vector< MeshTopology > const &  validTopologies 
)

Definition at line 288 of file GteMesh.h.

template<typename Real >
gte::Mesh< Real >::~Mesh ( )
virtual

Definition at line 433 of file GteMesh.h.

template<typename Real >
gte::Mesh< Real >::Mesh ( Mesh< Real > const &  )
delete

Member Function Documentation

template<typename Real >
Vector3< Real > & gte::Mesh< Real >::Bitangent ( uint32_t  i)
inlineprotected

Definition at line 487 of file GteMesh.h.

template<typename Real >
void gte::Mesh< Real >::ComputeIndices ( )
protected

Definition at line 515 of file GteMesh.h.

template<typename Real >
Vector3< Real > & gte::Mesh< Real >::DPDU ( uint32_t  i)
inlineprotected

Definition at line 494 of file GteMesh.h.

template<typename Real >
Vector3< Real > & gte::Mesh< Real >::DPDV ( uint32_t  i)
inlineprotected

Definition at line 501 of file GteMesh.h.

template<typename Real >
MeshDescription const & gte::Mesh< Real >::GetDescription ( ) const
inline

Definition at line 438 of file GteMesh.h.

template<typename Real >
Vector3< Real > & gte::Mesh< Real >::Normal ( uint32_t  i)
inlineprotected

Definition at line 473 of file GteMesh.h.

template<typename Real >
Mesh& gte::Mesh< Real >::operator= ( Mesh< Real > const &  )
delete
template<typename Real >
Vector3< Real > & gte::Mesh< Real >::Position ( uint32_t  i)
inlineprotected

Definition at line 466 of file GteMesh.h.

template<typename Real >
Vector3< Real > & gte::Mesh< Real >::Tangent ( uint32_t  i)
inlineprotected

Definition at line 480 of file GteMesh.h.

template<typename Real >
Vector2< Real > & gte::Mesh< Real >::TCoord ( uint32_t  i)
inlineprotected

Definition at line 508 of file GteMesh.h.

template<typename Real >
void gte::Mesh< Real >::Update ( )

Definition at line 444 of file GteMesh.h.

template<typename Real >
void gte::Mesh< Real >::UpdateFrame ( )
protectedvirtual

Reimplemented in gte::RectanglePatchMesh< Real >.

Definition at line 630 of file GteMesh.h.

template<typename Real >
void gte::Mesh< Real >::UpdateNormals ( )
protectedvirtual

Reimplemented in gte::RectanglePatchMesh< Real >.

Definition at line 586 of file GteMesh.h.

template<typename Real >
virtual void gte::Mesh< Real >::UpdatePositions ( )
inlineprotectedvirtual

Member Data Documentation

template<typename Real >
Vector3<Real>* gte::Mesh< Real >::mBitangents
protected

Definition at line 169 of file GteMesh.h.

template<typename Real >
size_t gte::Mesh< Real >::mBitangentStride
protected

Definition at line 176 of file GteMesh.h.

template<typename Real >
MeshDescription gte::Mesh< Real >::mDescription
protected

Definition at line 163 of file GteMesh.h.

template<typename Real >
Vector3<Real>* gte::Mesh< Real >::mDPDUs
protected

Definition at line 170 of file GteMesh.h.

template<typename Real >
size_t gte::Mesh< Real >::mDPDUStride
protected

Definition at line 177 of file GteMesh.h.

template<typename Real >
Vector3<Real>* gte::Mesh< Real >::mDPDVs
protected

Definition at line 171 of file GteMesh.h.

template<typename Real >
size_t gte::Mesh< Real >::mDPDVStride
protected

Definition at line 178 of file GteMesh.h.

template<typename Real >
std::vector<Matrix<3, 2, Real> > gte::Mesh< Real >::mDTU
protected

Definition at line 190 of file GteMesh.h.

template<typename Real >
Vector3<Real>* gte::Mesh< Real >::mNormals
protected

Definition at line 167 of file GteMesh.h.

template<typename Real >
size_t gte::Mesh< Real >::mNormalStride
protected

Definition at line 174 of file GteMesh.h.

template<typename Real >
Vector3<Real>* gte::Mesh< Real >::mPositions
protected

Definition at line 166 of file GteMesh.h.

template<typename Real >
size_t gte::Mesh< Real >::mPositionStride
protected

Definition at line 173 of file GteMesh.h.

template<typename Real >
Vector3<Real>* gte::Mesh< Real >::mTangents
protected

Definition at line 168 of file GteMesh.h.

template<typename Real >
size_t gte::Mesh< Real >::mTangentStride
protected

Definition at line 175 of file GteMesh.h.

template<typename Real >
Vector2<Real>* gte::Mesh< Real >::mTCoords
protected

Definition at line 172 of file GteMesh.h.

template<typename Real >
size_t gte::Mesh< Real >::mTCoordStride
protected

Definition at line 179 of file GteMesh.h.

template<typename Real >
std::vector<Matrix<2, 2, Real> > gte::Mesh< Real >::mUTU
protected

Definition at line 189 of file GteMesh.h.


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


geometric_tools_engine
Author(s): Yijiang Huang
autogenerated on Thu Jul 18 2019 04:00:06