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

The plane representation. More...

+ Inheritance diagram for Castor3D::Plane:
+ Collaboration diagram for Castor3D::Plane:

Public Member Functions

C3D_API Plane ()
 Constructor. More...
 
C3D_API ~Plane ()
 Destructor. More...
 
real GetHeight () const
 Retrieves the plane height. More...
 
real GetWidth () const
 Retrieves the plane width. More...
 
uint32_t GetSubDivisionsX () const
 Retrieves the plane width subdivisions. More...
 
uint32_t GetSubDivisionsY () const
 Retrieves the plane height subdivisions. 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, Plane const &c)
 Stream operator. More...
 

Detailed Description

The plane representation.

Author
Sylvain DOREMUS
Date
14/02/2010
Remarks
A plane can be subdivided in width and in height.

Constructor & Destructor Documentation

◆ Plane()

C3D_API Castor3D::Plane::Plane ( )

Constructor.

◆ ~Plane()

C3D_API Castor3D::Plane::~Plane ( )

Destructor.

Member Function Documentation

◆ Create()

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

Creation function, used by Factory.

Returns
Cylinder

◆ GetHeight()

real Castor3D::Plane::GetHeight ( ) const
inline

Retrieves the plane height.

◆ GetSubDivisionsX()

uint32_t Castor3D::Plane::GetSubDivisionsX ( ) const
inline

Retrieves the plane width subdivisions.

◆ GetSubDivisionsY()

uint32_t Castor3D::Plane::GetSubDivisionsY ( ) const
inline

Retrieves the plane height subdivisions.

◆ GetWidth()

real Castor3D::Plane::GetWidth ( ) const
inline

Retrieves the plane width.

Friends And Related Function Documentation

◆ operator<<

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

Stream operator.


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