#include <GteTubeMesh.h>
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 | |
Mesh & | operator= (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 |
Definition at line 20 of file GteTubeMesh.h.
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.
|
inline |
Definition at line 187 of file GteTubeMesh.h.
|
inline |
Definition at line 193 of file GteTubeMesh.h.
|
inline |
Definition at line 211 of file GteTubeMesh.h.
|
private |
Definition at line 217 of file GteTubeMesh.h.
|
inline |
Definition at line 199 of file GteTubeMesh.h.
|
inline |
Definition at line 205 of file GteTubeMesh.h.
|
overrideprivatevirtual |
Reimplemented from gte::Mesh< Real >.
Definition at line 232 of file GteTubeMesh.h.
|
private |
Definition at line 49 of file GteTubeMesh.h.
|
private |
Definition at line 51 of file GteTubeMesh.h.
|
private |
Definition at line 58 of file GteTubeMesh.h.
|
private |
Definition at line 54 of file GteTubeMesh.h.
|
private |
Definition at line 53 of file GteTubeMesh.h.
|
private |
Definition at line 47 of file GteTubeMesh.h.
|
private |
Definition at line 48 of file GteTubeMesh.h.
|
private |
Definition at line 49 of file GteTubeMesh.h.
|
private |
Definition at line 51 of file GteTubeMesh.h.
|
private |
Definition at line 52 of file GteTubeMesh.h.
|
private |
Definition at line 50 of file GteTubeMesh.h.