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::AbstractLocator Class Reference

The AbstractLocator class inheriting from Node class and EventWatcher class, representing the abstract locator. More...

#include <abstractlocator.h>

Inheritance diagram for cil::AbstractLocator:
cil::Node cil::Object cil::CompositeLocator cil::Locator cil::ArrowLocator cil::PlaneLocator cil::PositionLocator cil::ShapeLocator cil::DiskLocator cil::OrientationLocator cil::BoxLocator cil::CylinderLocator cil::SphereLocator cil::BottomBoxLocator cil::BottomCylinderLocator

Public Member Functions

 AbstractLocator ()
 
virtual ~AbstractLocator ()
 
void bind (const std::string &name, std::function< void()> callback)
 
void unbind (const std::string &name)
 
void send (const std::string &name)
 
- Public Member Functions inherited from cil::Object
 Object ()
 
virtual ~Object ()
 

Additional Inherited Members

- Public Attributes inherited from cil::Node
std::string name
 This memeber stores the name of the node.
 
MeshPtr mesh
 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< NodePtr > > 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.
 
Matrix4fPtr transform
 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.
 
BoundingBoxPtr boundingBox
 This member is a shared pointer to a BoundingBox.
 
MaterialPtr material
 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).
 
GeometryPtr geometry
 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.
 
QueryPtr query
 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.
 

Detailed Description

The AbstractLocator class inheriting from Node class and EventWatcher class, representing the abstract locator.

Constructor & Destructor Documentation

◆ AbstractLocator()

cil::AbstractLocator::AbstractLocator ( )

◆ ~AbstractLocator()

virtual cil::AbstractLocator::~AbstractLocator ( )
virtual

Member Function Documentation

◆ bind()

void cil::AbstractLocator::bind ( const std::string & name,
std::function< void()> callback )

◆ send()

void cil::AbstractLocator::send ( const std::string & name)

◆ unbind()

void cil::AbstractLocator::unbind ( const std::string & name)