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

#include <clipping.h>

Inheritance diagram for cil::PlaneClipping:
cil::Clipping

Public Member Functions

 PlaneClipping ()
 
void set (float a, float b, float c, float d)
 
void set (const std::shared_ptr< Vector3f > &origin, const std::shared_ptr< Vector3f > &normal)
 
Vector3f getNormal ()
 
Vector3f getOrigin ()
 
- 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

◆ PlaneClipping()

cil::PlaneClipping::PlaneClipping ( )

Member Function Documentation

◆ addParameters()

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

Reimplemented from cil::Clipping.

◆ getNormal()

Vector3f cil::PlaneClipping::getNormal ( )

◆ getOrigin()

Vector3f cil::PlaneClipping::getOrigin ( )

◆ set() [1/2]

void cil::PlaneClipping::set ( const std::shared_ptr< Vector3f > & origin,
const std::shared_ptr< Vector3f > & normal )

◆ set() [2/2]

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