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

#include <GteTubeMesh.h>

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

Public Member Functions

std::shared_ptr< ParametricCurve< 3, Real > > const & GetMedial () const
 
std::function< Real(Real)> const & GetRadial () const
 
Vector3< Real > const & GetUpVector () const
 
bool IsClosed () const
 
bool IsSampleByArcLength () const
 
 TubeMesh (MeshDescription const &description, std::shared_ptr< ParametricCurve< 3, Real >> const &medial, std::function< Real(Real)> const &radial, bool closed, bool sampleByArcLength, Vector3< Real > upVector)
 
- 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 ()
 

Private Member Functions

void InitializeTCoords ()
 
virtual void UpdatePositions () override
 

Private Attributes

bool mClosed
 
std::vector< Real > mCosAngle
 
std::vector< Vector2< Real > > mDefaultTCoords
 
std::unique_ptr< FrenetFrame3< Real > > mFrenet
 
std::function< std::array< Vector3< Real >, 4 >Real)> mFSampler
 
std::shared_ptr< ParametricCurve< 3, Real > > mMedial
 
std::function< Real(Real)> mRadial
 
bool mSampleByArcLength
 
std::vector< Real > mSinAngle
 
std::function< Real(unsigned int)> mTSampler
 
Vector3< Real > mUpVector
 

Additional Inherited Members

- 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)
 
virtual void UpdateFrame ()
 
virtual void UpdateNormals ()
 
- 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::TubeMesh< Real >

Definition at line 20 of file GteTubeMesh.h.

Constructor & Destructor Documentation

template<typename Real >
gte::TubeMesh< Real >::TubeMesh ( MeshDescription const &  description,
std::shared_ptr< ParametricCurve< 3, Real >> const &  medial,
std::function< Real(Real)> const &  radial,
bool  closed,
bool  sampleByArcLength,
Vector3< Real >  upVector 
)

Definition at line 63 of file GteTubeMesh.h.

Member Function Documentation

template<typename Real >
std::shared_ptr< ParametricCurve< 3, Real > > const & gte::TubeMesh< Real >::GetMedial ( ) const
inline

Definition at line 187 of file GteTubeMesh.h.

template<typename Real >
std::function< Real(Real)> const & gte::TubeMesh< Real >::GetRadial ( ) const
inline

Definition at line 193 of file GteTubeMesh.h.

template<typename Real >
Vector3< Real > const & gte::TubeMesh< Real >::GetUpVector ( ) const
inline

Definition at line 211 of file GteTubeMesh.h.

template<typename Real >
void gte::TubeMesh< Real >::InitializeTCoords ( )
private

Definition at line 217 of file GteTubeMesh.h.

template<typename Real >
bool gte::TubeMesh< Real >::IsClosed ( ) const
inline

Definition at line 199 of file GteTubeMesh.h.

template<typename Real >
bool gte::TubeMesh< Real >::IsSampleByArcLength ( ) const
inline

Definition at line 205 of file GteTubeMesh.h.

template<typename Real >
void gte::TubeMesh< Real >::UpdatePositions ( )
overrideprivatevirtual

Reimplemented from gte::Mesh< Real >.

Definition at line 232 of file GteTubeMesh.h.

Member Data Documentation

template<typename Real >
bool gte::TubeMesh< Real >::mClosed
private

Definition at line 49 of file GteTubeMesh.h.

template<typename Real >
std::vector<Real> gte::TubeMesh< Real >::mCosAngle
private

Definition at line 51 of file GteTubeMesh.h.

template<typename Real >
std::vector<Vector2<Real> > gte::TubeMesh< Real >::mDefaultTCoords
private

Definition at line 58 of file GteTubeMesh.h.

template<typename Real >
std::unique_ptr<FrenetFrame3<Real> > gte::TubeMesh< Real >::mFrenet
private

Definition at line 54 of file GteTubeMesh.h.

template<typename Real >
std::function<std::array<Vector3<Real>, 4>Real)> gte::TubeMesh< Real >::mFSampler
private

Definition at line 53 of file GteTubeMesh.h.

template<typename Real >
std::shared_ptr<ParametricCurve<3, Real> > gte::TubeMesh< Real >::mMedial
private

Definition at line 47 of file GteTubeMesh.h.

template<typename Real >
std::function<Real(Real)> gte::TubeMesh< Real >::mRadial
private

Definition at line 48 of file GteTubeMesh.h.

template<typename Real >
bool gte::TubeMesh< Real >::mSampleByArcLength
private

Definition at line 49 of file GteTubeMesh.h.

template<typename Real >
std::vector<Real> gte::TubeMesh< Real >::mSinAngle
private

Definition at line 51 of file GteTubeMesh.h.

template<typename Real >
std::function<Real(unsigned int)> gte::TubeMesh< Real >::mTSampler
private

Definition at line 52 of file GteTubeMesh.h.

template<typename Real >
Vector3<Real> gte::TubeMesh< Real >::mUpVector
private

Definition at line 50 of file GteTubeMesh.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:07