Castor3D  ..
Public Member Functions | Static Public Member Functions | Friends | List of all members
Castor3D::Projection Class Reference

Projection mesh representation. More...

+ Inheritance diagram for Castor3D::Projection:
+ Collaboration diagram for Castor3D::Projection:

Public Member Functions

C3D_API Projection ()
 Constructor. More...
 
C3D_API ~Projection ()
 Destructor. More...
 
C3D_API void SetPoints (Point3rPatternSPtr p_pPattern, Castor::Point3r const &p_vAxis, bool p_bClosed)
 Defines the pattern used to build the projection. More...
 
uint32_t GetFaceCount () const
 Retrieves number of faces. More...
 
- Public Member Functions inherited from Castor3D::MeshGenerator
 MeshGenerator (eMESH_TYPE p_eMeshType=eMESH_TYPE_CUSTOM)
 Constructor. More...
 
virtual ~MeshGenerator ()
 Destructor. More...
 
virtual void Generate (Mesh &p_mesh, UIntArray const &p_faces, RealArray const &p_dimensions)
 Generates the mesh. More...
 
virtual void ComputeNormals (Mesh &p_mesh, bool p_reverted=false)
 Generates normals and tangents. More...
 
eMESH_TYPE GetMeshType () const
 Retrieves the mesh type. More...
 

Static Public Member Functions

static C3D_API MeshGeneratorSPtr Create ()
 Creation function, used by Factory. More...
 
- Static Public Member Functions inherited from Castor3D::MeshGenerator
static MeshGeneratorSPtr Create ()
 Creation function, used by Factory. More...
 

Friends

std::ostream & operator<< (std::ostream &o, Projection const &c)
 Stream operator. More...
 

Detailed Description

Projection mesh representation.

Author
Sylvain DOREMUS
Date
26/08/2010
Remarks
The projection mesh is the projection of an arc over along axis on a given distance

Constructor & Destructor Documentation

◆ Projection()

C3D_API Castor3D::Projection::Projection ( )

Constructor.

◆ ~Projection()

C3D_API Castor3D::Projection::~Projection ( )

Destructor.

Member Function Documentation

◆ Create()

static C3D_API MeshGeneratorSPtr Castor3D::Projection::Create ( )
static

Creation function, used by Factory.

Returns
Cylinder

◆ GetFaceCount()

uint32_t Castor3D::Projection::GetFaceCount ( ) const
inline

Retrieves number of faces.

◆ SetPoints()

C3D_API void Castor3D::Projection::SetPoints ( Point3rPatternSPtr  p_pPattern,
Castor::Point3r const &  p_vAxis,
bool  p_bClosed 
)

Defines the pattern used to build the projection.

Parameters
[in]p_pPatternThe arc to project
[in]p_vAxisThe projection axis
[in]p_bClosedTells if the projection must be closed

Friends And Related Function Documentation

◆ operator<<

std::ostream& operator<< ( std::ostream &  o,
Projection const &  c 
)
friend

Stream operator.


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