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

#include <clipping.h>

Inheritance diagram for cil::Clipping:
cil::PlaneClipping cil::SphereClipping cil::TwoPlaneClipping

Public Types

enum class  Scope { Inner = 0 , Outer = 1 }
 

Public Member Functions

 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)
 

Protected Attributes

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
 

Member Enumeration Documentation

◆ Scope

enum class cil::Clipping::Scope
strong
Enumerator
Inner 
Outer 

Constructor & Destructor Documentation

◆ Clipping()

cil::Clipping::Clipping ( )

Member Function Documentation

◆ addParameters()

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

◆ getCapNode()

virtual std::shared_ptr< Node > cil::Clipping::getCapNode ( const std::shared_ptr< BoundingBox > & boundingBox)
virtual

Reimplemented in cil::TwoPlaneClipping.

◆ getClippedNode()

virtual std::shared_ptr< Node > cil::Clipping::getClippedNode ( const std::shared_ptr< Node > & node)
virtual

◆ scope()

Scope cil::Clipping::scope ( )

◆ setScope()

void cil::Clipping::setScope ( Scope scope)

Member Data Documentation

◆ m_colorMask_back

std::shared_ptr<ColorMask> cil::Clipping::m_colorMask_back
protected

◆ m_culling_back

std::shared_ptr<Culling> cil::Clipping::m_culling_back
protected

◆ m_culling_cap

std::shared_ptr<Culling> cil::Clipping::m_culling_cap
protected

◆ m_culling_front

std::shared_ptr<Culling> cil::Clipping::m_culling_front
protected

◆ m_depth_back

std::shared_ptr<Depth> cil::Clipping::m_depth_back
protected

◆ m_depth_cap

std::shared_ptr<Depth> cil::Clipping::m_depth_cap
protected

◆ m_depth_front

std::shared_ptr<Depth> cil::Clipping::m_depth_front
protected

◆ m_fragment_back

std::shared_ptr<FragmentSource> cil::Clipping::m_fragment_back
protected

◆ m_fragment_cap

std::shared_ptr<FragmentSource> cil::Clipping::m_fragment_cap
protected

◆ m_fragment_front

std::shared_ptr<FragmentSource> cil::Clipping::m_fragment_front
protected

◆ m_geometry_cap

std::shared_ptr<Geometry> cil::Clipping::m_geometry_cap
protected

◆ m_polygonOffset_back

std::shared_ptr<PolygonOffset> cil::Clipping::m_polygonOffset_back
protected

◆ m_polygonOffset_front

std::shared_ptr<PolygonOffset> cil::Clipping::m_polygonOffset_front
protected

◆ m_scope

Scope cil::Clipping::m_scope
protected

◆ m_stencil_back

std::shared_ptr<Stencil> cil::Clipping::m_stencil_back
protected

◆ m_stencil_cap

std::shared_ptr<Stencil> cil::Clipping::m_stencil_cap
protected

◆ m_stencil_front

std::shared_ptr<Stencil> cil::Clipping::m_stencil_front
protected

◆ m_vertex_back

std::shared_ptr<VertexSource> cil::Clipping::m_vertex_back
protected

◆ m_vertex_cap

std::shared_ptr<VertexSource> cil::Clipping::m_vertex_cap
protected

◆ m_vertex_front

std::shared_ptr<VertexSource> cil::Clipping::m_vertex_front
protected