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

#include <clipping.h>

Inheritance diagram for cil::TwoPlaneClipping:
cil::Clipping

Public Member Functions

 TwoPlaneClipping ()
 
void setPlane1 (float a, float b, float c, float d)
 
void setPlane1 (const std::shared_ptr< Vector3f > &origin, const std::shared_ptr< Vector3f > &normal)
 
Vector3f getPlane1Normal ()
 
Vector3f getPlane1Origin ()
 
void setPlane2 (float a, float b, float c, float d)
 
void setPlane2 (const std::shared_ptr< Vector3f > &origin, const std::shared_ptr< Vector3f > &normal)
 
Vector3f getPlane2Normal ()
 
Vector3f getPlane2Origin ()
 
virtual std::shared_ptr< NodegetCapNode (const std::shared_ptr< BoundingBox > &boundingBox)
 
- 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)
 

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

◆ TwoPlaneClipping()

cil::TwoPlaneClipping::TwoPlaneClipping ( )

Member Function Documentation

◆ addParameters()

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

Reimplemented from cil::Clipping.

◆ getCapNode()

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

Reimplemented from cil::Clipping.

◆ getPlane1Normal()

Vector3f cil::TwoPlaneClipping::getPlane1Normal ( )

◆ getPlane1Origin()

Vector3f cil::TwoPlaneClipping::getPlane1Origin ( )

◆ getPlane2Normal()

Vector3f cil::TwoPlaneClipping::getPlane2Normal ( )

◆ getPlane2Origin()

Vector3f cil::TwoPlaneClipping::getPlane2Origin ( )

◆ setPlane1() [1/2]

void cil::TwoPlaneClipping::setPlane1 ( const std::shared_ptr< Vector3f > & origin,
const std::shared_ptr< Vector3f > & normal )

◆ setPlane1() [2/2]

void cil::TwoPlaneClipping::setPlane1 ( float a,
float b,
float c,
float d )

◆ setPlane2() [1/2]

void cil::TwoPlaneClipping::setPlane2 ( const std::shared_ptr< Vector3f > & origin,
const std::shared_ptr< Vector3f > & normal )

◆ setPlane2() [2/2]

void cil::TwoPlaneClipping::setPlane2 ( float a,
float b,
float c,
float d )