Castor3D 0.16.0
Multiplatform 3D engine
Public Member Functions | Static Public Member Functions | List of all members
castor3d::Projection Class Reference

#include <Projection.hpp>

Inheritance diagram for castor3d::Projection:
Inheritance graph
[legend]
Collaboration diagram for castor3d::Projection:
Collaboration graph
[legend]

Public Member Functions

C3D_API Projection ()
 Constructor.
 
C3D_API void setPoints (Pattern< castor::Point3f > const &pattern, castor::Point3f const &axis, bool closed)
 Defines the pattern used to build the projection.
 
- Public Member Functions inherited from castor3d::MeshGenerator
C3D_API MeshGenerator (castor::String const &meshType)
 Constructor.
 
virtual C3D_API ~MeshGenerator () noexcept=default
 Destructor.
 
virtual C3D_API void generate (Mesh &mesh, Parameters const &parameters)
 Generates the mesh.
 
virtual C3D_API void computeNormals (Mesh &mesh, bool reverted=false)
 Generates normals and tangents.
 

Static Public Member Functions

static C3D_API MeshGeneratorUPtr create ()
 Creation function, used by Factory.
 
- Static Public Member Functions inherited from castor3d::MeshGenerator
static MeshGeneratorUPtr create ()
 Creation function, used by Factory.
 

Constructor & Destructor Documentation

◆ Projection()

C3D_API castor3d::Projection::Projection ( )

Constructor.

Member Function Documentation

◆ create()

static C3D_API MeshGeneratorUPtr castor3d::Projection::create ( )
static

Creation function, used by Factory.

Returns
Cylinder

◆ setPoints()

C3D_API void castor3d::Projection::setPoints ( Pattern< castor::Point3f > const & pattern,
castor::Point3f const & axis,
bool closed )

Defines the pattern used to build the projection.

Parameters
[in]patternThe arc to project.
[in]axisThe projection axis.
[in]closedTells if the projection must be closed.

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