Cumulia Illustrator Rendering Engine v2.1.0
A Rendering engine for industrial CAD/CAE model and optimized for greatest performance
 
Loading...
Searching...
No Matches
cil::Axis Class Reference

#include <axis.h>

Inheritance diagram for cil::Axis:
cil::Pass cil::Object

Public Member Functions

 Axis (const std::shared_ptr< Vector2i > &coordinate, const std::shared_ptr< Vector2i > &backgroundSize)
 
virtual ~Axis ()
 
int fontSize () const
 
void setFontSize (int size)
 
Color3f fontColor () const
 
void setFontColor (const Color3f &color)
 
std::string fontFamily () const
 
void setFontFamily (const std::string &family)
 
void generate ()
 
void sync (const std::shared_ptr< Camera > &camera)
 
- Public Member Functions inherited from cil::Pass
 Pass ()
 
void update (UpdateMode mode=UpdateMode::All)
 
void updateAsset ()
 
void updateBatch ()
 
void updateTrans ()
 
- Public Member Functions inherited from cil::Object
 Object ()
 
virtual ~Object ()
 

Additional Inherited Members

- Public Types inherited from cil::Pass
enum class  UpdateMode {
  None = 0 , Asset = 1 , Batch = 2 , Trans = 4 ,
  All = Asset | Batch | Trans
}
 
- Public Attributes inherited from cil::Pass
std::string name
 This memeber stores the name of the pass.
 
bool enabled
 This member indicates whether the pass is currently enabled. Disabled passes are skipped during rendering.
 
BackgroundPtr background
 This member holds a shared pointer to a Background object which defines the scene background.
 
CameraPtr camera
 This member holds a shared pointer to a Camera object which the current pass uses for rendering.
 
NodePtr node
 This member holds a shared pointer to a Node object which represents the rendering objects of the current pass.
 
TargetPtr target
 This member holds a shared pointer to a Target object which stores the rendering results, such as a buffer or texture.
 
int assetVersion
 
int batchVersion
 
int transVersion
 

Constructor & Destructor Documentation

◆ Axis()

cil::Axis::Axis ( const std::shared_ptr< Vector2i > & coordinate,
const std::shared_ptr< Vector2i > & backgroundSize )

◆ ~Axis()

virtual cil::Axis::~Axis ( )
virtual

Member Function Documentation

◆ fontColor()

Color3f cil::Axis::fontColor ( ) const

◆ fontFamily()

std::string cil::Axis::fontFamily ( ) const

◆ fontSize()

int cil::Axis::fontSize ( ) const

◆ generate()

void cil::Axis::generate ( )

◆ setFontColor()

void cil::Axis::setFontColor ( const Color3f & color)

◆ setFontFamily()

void cil::Axis::setFontFamily ( const std::string & family)

◆ setFontSize()

void cil::Axis::setFontSize ( int size)

◆ sync()

void cil::Axis::sync ( const std::shared_ptr< Camera > & camera)