Castor3D
..
|
The cylinder representation. More...
Public Member Functions | |
C3D_API | Cylinder () |
Constructor. More... | |
C3D_API | ~Cylinder () |
Destructor. More... | |
uint32_t | GetFaceCount () const |
Retrieves number of faces. More... | |
real | GetHeight () const |
Retrieves cylinder's height. More... | |
real | GetRadius () const |
Retrieves cylinder's radius. 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, Cylinder const &c) |
Stream operator. More... | |
The cylinder representation.
C3D_API Castor3D::Cylinder::Cylinder | ( | ) |
Constructor.
C3D_API Castor3D::Cylinder::~Cylinder | ( | ) |
Destructor.
|
static |
Creation function, used by Factory.
|
inline |
Retrieves number of faces.
|
inline |
Retrieves cylinder's height.
|
inline |
Retrieves cylinder's radius.
|
friend |
Stream operator.