#include <GteRevolutionMesh.h>
Public Member Functions | |
std::shared_ptr< ParametricCurve< 2, Real > > const & | GetCurve () const |
bool | IsSampleByArcLength () const |
RevolutionMesh (MeshDescription const &description, std::shared_ptr< ParametricCurve< 2, Real >> const &curve, bool sampleByArcLength=false) | |
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 | CreateSampler () |
void | InitializeTCoords () |
void | UpdateCylinderPositions () |
void | UpdateDiskPositions () |
virtual void | UpdatePositions () override |
void | UpdateSpherePositions () |
void | UpdateTorusPositions () |
Private Attributes | |
std::vector< Real > | mCosAngle |
std::shared_ptr< ParametricCurve< 2, Real > > | mCurve |
std::vector< Vector2< Real > > | mDefaultTCoords |
bool | mSampleByArcLength |
std::vector< Vector3< Real > > | mSamples |
std::vector< Real > | mSinAngle |
std::function< Real(unsigned int)> | mTSampler |
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 19 of file GteRevolutionMesh.h.
gte::RevolutionMesh< Real >::RevolutionMesh | ( | MeshDescription const & | description, |
std::shared_ptr< ParametricCurve< 2, Real >> const & | curve, | ||
bool | sampleByArcLength = false |
||
) |
Definition at line 66 of file GteRevolutionMesh.h.
|
private |
Definition at line 150 of file GteRevolutionMesh.h.
|
inline |
Definition at line 138 of file GteRevolutionMesh.h.
|
private |
Definition at line 186 of file GteRevolutionMesh.h.
|
inline |
Definition at line 144 of file GteRevolutionMesh.h.
|
private |
Definition at line 291 of file GteRevolutionMesh.h.
|
private |
Definition at line 317 of file GteRevolutionMesh.h.
|
overrideprivatevirtual |
Reimplemented from gte::Mesh< Real >.
Definition at line 259 of file GteRevolutionMesh.h.
|
private |
Definition at line 332 of file GteRevolutionMesh.h.
|
private |
Definition at line 304 of file GteRevolutionMesh.h.
|
private |
Definition at line 55 of file GteRevolutionMesh.h.
|
private |
Definition at line 53 of file GteRevolutionMesh.h.
|
private |
Definition at line 61 of file GteRevolutionMesh.h.
|
private |
Definition at line 54 of file GteRevolutionMesh.h.
|
private |
Definition at line 57 of file GteRevolutionMesh.h.
|
private |
Definition at line 55 of file GteRevolutionMesh.h.
|
private |
Definition at line 56 of file GteRevolutionMesh.h.