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

#include <GteRectanglePatchMesh.h>

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

Public Member Functions

std::shared_ptr< ParametricSurface< 3, Real > > const & GetSurface () const
 
 RectanglePatchMesh (MeshDescription const &description, std::shared_ptr< ParametricSurface< 3, Real >> const &surface)
 
- Public Member Functions inherited from gte::Mesh< Real >
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

void InitializeFrame ()
 
void InitializeNormals ()
 
void InitializePositions ()
 
void InitializeTCoords ()
 
virtual void UpdateFrame () override
 
virtual void UpdateNormals () override
 
virtual void UpdatePositions () override
 
- Protected Member Functions inherited from gte::Mesh< Real >
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)
 

Protected Attributes

std::vector< Vector2< Real > > mDefaultTCoords
 
std::shared_ptr< ParametricSurface< 3, Real > > mSurface
 
- Protected Attributes inherited from gte::Mesh< Real >
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::RectanglePatchMesh< Real >

Definition at line 18 of file GteRectanglePatchMesh.h.

Constructor & Destructor Documentation

template<typename Real >
gte::RectanglePatchMesh< Real >::RectanglePatchMesh ( MeshDescription const &  description,
std::shared_ptr< ParametricSurface< 3, Real >> const &  surface 
)

Definition at line 47 of file GteRectanglePatchMesh.h.

Member Function Documentation

template<typename Real >
std::shared_ptr< ParametricSurface< 3, Real > > const & gte::RectanglePatchMesh< Real >::GetSurface ( ) const
inline

Definition at line 104 of file GteRectanglePatchMesh.h.

template<typename Real >
void gte::RectanglePatchMesh< Real >::InitializeFrame ( )
protected

Definition at line 159 of file GteRectanglePatchMesh.h.

template<typename Real >
void gte::RectanglePatchMesh< Real >::InitializeNormals ( )
protected

Definition at line 142 of file GteRectanglePatchMesh.h.

template<typename Real >
void gte::RectanglePatchMesh< Real >::InitializePositions ( )
protected

Definition at line 129 of file GteRectanglePatchMesh.h.

template<typename Real >
void gte::RectanglePatchMesh< Real >::InitializeTCoords ( )
protected

Definition at line 110 of file GteRectanglePatchMesh.h.

template<typename Real >
void gte::RectanglePatchMesh< Real >::UpdateFrame ( )
overrideprotectedvirtual

Reimplemented from gte::Mesh< Real >.

Definition at line 218 of file GteRectanglePatchMesh.h.

template<typename Real >
void gte::RectanglePatchMesh< Real >::UpdateNormals ( )
overrideprotectedvirtual

Reimplemented from gte::Mesh< Real >.

Definition at line 209 of file GteRectanglePatchMesh.h.

template<typename Real >
void gte::RectanglePatchMesh< Real >::UpdatePositions ( )
overrideprotectedvirtual

Reimplemented from gte::Mesh< Real >.

Definition at line 200 of file GteRectanglePatchMesh.h.

Member Data Documentation

template<typename Real >
std::vector<Vector2<Real> > gte::RectanglePatchMesh< Real >::mDefaultTCoords
protected

Definition at line 42 of file GteRectanglePatchMesh.h.

template<typename Real >
std::shared_ptr<ParametricSurface<3, Real> > gte::RectanglePatchMesh< Real >::mSurface
protected

Definition at line 38 of file GteRectanglePatchMesh.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