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

#include <legend.h>

Inheritance diagram for cil::Legend:
cil::Node cil::Object

Public Member Functions

 Legend ()
 
virtual ~Legend ()
 
void generate ()
 
- Public Member Functions inherited from cil::Object
 Object ()
 
virtual ~Object ()
 

Public Attributes

std::shared_ptr< Image2Dimage
 
std::string title
 
float minimum = 0
 
float maximum = 1
 
float levels = 4
 
- Public Attributes inherited from cil::Node
std::string name
 This memeber stores the name of the node.
 
std::shared_ptr< Meshmesh
 This member is a shared pointer to a Mesh object, which means the node has a 3D object with its geometry defined by a mesh.
 
std::shared_ptr< std::vector< std::shared_ptr< Node > > > children
 This member is a dynamic array of shared pointers to the child Node objects. This allows the node to have a tree-like hierarchical structure.
 
std::shared_ptr< Matrix4ftransform
 This member is a shared pointer to a Matrix4f object. This matrix represents the transformation(position, rotation, scale) applied to the current node and its descendants.
 
std::shared_ptr< BoundingBoxboundingBox
 This member is a shared pointer to a BoundingBox.
 
std::shared_ptr< Materialmaterial
 This member is a shared pointer to a Mateiral object, which means the node can have its own material properties defining its appearance(color, texture, etc).
 
std::shared_ptr< Geometrygeometry
 This member is a shared pointer to a Geometry object, which maybe used for specific geometric data relevant to the node, potentially associated with the mesh or for other rendering purposes.
 
std::shared_ptr< Queryquery
 This member is a shared pointer to a Query object, and it is some type of query operation performed on the node or its descendants.
 

Static Public Attributes

static int Width
 
static int Height
 
static int Spacing
 
static int BarWidth
 
static int TitleFontSize
 
static std::string TitleFontFamily
 
static std::shared_ptr< Color3fTitleFontColor
 
static int LabelFontSize
 
static std::string LabelFontFamily
 
static std::shared_ptr< Color3fLabelFontColor
 

Constructor & Destructor Documentation

◆ Legend()

cil::Legend::Legend ( )

◆ ~Legend()

virtual cil::Legend::~Legend ( )
virtual

Member Function Documentation

◆ generate()

void cil::Legend::generate ( )

Member Data Documentation

◆ BarWidth

int cil::Legend::BarWidth
static

◆ Height

int cil::Legend::Height
static

◆ image

std::shared_ptr<Image2D> cil::Legend::image

◆ LabelFontColor

std::shared_ptr<Color3f> cil::Legend::LabelFontColor
static

◆ LabelFontFamily

std::string cil::Legend::LabelFontFamily
static

◆ LabelFontSize

int cil::Legend::LabelFontSize
static

◆ levels

float cil::Legend::levels = 4

◆ maximum

float cil::Legend::maximum = 1

◆ minimum

float cil::Legend::minimum = 0

◆ Spacing

int cil::Legend::Spacing
static

◆ title

std::string cil::Legend::title

◆ TitleFontColor

std::shared_ptr<Color3f> cil::Legend::TitleFontColor
static

◆ TitleFontFamily

std::string cil::Legend::TitleFontFamily
static

◆ TitleFontSize

int cil::Legend::TitleFontSize
static

◆ Width

int cil::Legend::Width
static