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

#include <clipping.h>

Inheritance diagram for cil::SphereClipping:
cil::Clipping

Public Member Functions

 SphereClipping ()
 
void set (float a, float b, float c, float d)
 
void set (const std::shared_ptr< Vector3f > &position, float radius)
 
Vector3f getPosition ()
 
float getRadius ()
 
- Public Member Functions inherited from cil::Clipping
 Clipping ()
 
void setScope (Scope scope)
 
Scope scope ()
 
virtual std::shared_ptr< NodegetClippedNode (const std::shared_ptr< Node > &node)
 
virtual std::shared_ptr< NodegetCapNode (const std::shared_ptr< BoundingBox > &boundingBox)
 

Protected Member Functions

virtual void addParameters (const std::shared_ptr< std::map< std::string, std::shared_ptr< Variant > > > &parameters)
 

Additional Inherited Members

- Public Types inherited from cil::Clipping
enum class  Scope { Inner = 0 , Outer = 1 }
 
- Protected Attributes inherited from cil::Clipping
Scope m_scope
 
std::shared_ptr< Cullingm_culling_front
 
std::shared_ptr< Cullingm_culling_back
 
std::shared_ptr< ColorMaskm_colorMask_back
 
std::shared_ptr< Depthm_depth_front
 
std::shared_ptr< Depthm_depth_back
 
std::shared_ptr< Stencilm_stencil_front
 
std::shared_ptr< Stencilm_stencil_back
 
std::shared_ptr< PolygonOffsetm_polygonOffset_front
 
std::shared_ptr< PolygonOffsetm_polygonOffset_back
 
std::shared_ptr< VertexSourcem_vertex_front
 
std::shared_ptr< FragmentSourcem_fragment_front
 
std::shared_ptr< VertexSourcem_vertex_back
 
std::shared_ptr< FragmentSourcem_fragment_back
 
std::shared_ptr< Stencilm_stencil_cap
 
std::shared_ptr< Cullingm_culling_cap
 
std::shared_ptr< Depthm_depth_cap
 
std::shared_ptr< VertexSourcem_vertex_cap
 
std::shared_ptr< FragmentSourcem_fragment_cap
 
std::shared_ptr< Geometrym_geometry_cap
 

Constructor & Destructor Documentation

◆ SphereClipping()

cil::SphereClipping::SphereClipping ( )

Member Function Documentation

◆ addParameters()

virtual void cil::SphereClipping::addParameters ( const std::shared_ptr< std::map< std::string, std::shared_ptr< Variant > > > & parameters)
protectedvirtual

Reimplemented from cil::Clipping.

◆ getPosition()

Vector3f cil::SphereClipping::getPosition ( )

◆ getRadius()

float cil::SphereClipping::getRadius ( )

◆ set() [1/2]

void cil::SphereClipping::set ( const std::shared_ptr< Vector3f > & position,
float radius )

◆ set() [2/2]

void cil::SphereClipping::set ( float a,
float b,
float c,
float d )