#include <clipping.h>
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< Node > | getClippedNode (const std::shared_ptr< Node > &node) |
| virtual std::shared_ptr< Node > | getCapNode (const std::shared_ptr< BoundingBox > &boundingBox) |
Protected Member Functions | |
| virtual void | addParameters (const std::shared_ptr< std::map< std::string, std::shared_ptr< Variant > > > ¶meters) |
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< Culling > | m_culling_front |
| std::shared_ptr< Culling > | m_culling_back |
| std::shared_ptr< ColorMask > | m_colorMask_back |
| std::shared_ptr< Depth > | m_depth_front |
| std::shared_ptr< Depth > | m_depth_back |
| std::shared_ptr< Stencil > | m_stencil_front |
| std::shared_ptr< Stencil > | m_stencil_back |
| std::shared_ptr< PolygonOffset > | m_polygonOffset_front |
| std::shared_ptr< PolygonOffset > | m_polygonOffset_back |
| std::shared_ptr< VertexSource > | m_vertex_front |
| std::shared_ptr< FragmentSource > | m_fragment_front |
| std::shared_ptr< VertexSource > | m_vertex_back |
| std::shared_ptr< FragmentSource > | m_fragment_back |
| std::shared_ptr< Stencil > | m_stencil_cap |
| std::shared_ptr< Culling > | m_culling_cap |
| std::shared_ptr< Depth > | m_depth_cap |
| std::shared_ptr< VertexSource > | m_vertex_cap |
| std::shared_ptr< FragmentSource > | m_fragment_cap |
| std::shared_ptr< Geometry > | m_geometry_cap |
| cil::SphereClipping::SphereClipping | ( | ) |
|
protectedvirtual |
Reimplemented from cil::Clipping.
| Vector3f cil::SphereClipping::getPosition | ( | ) |
| float cil::SphereClipping::getRadius | ( | ) |
| void cil::SphereClipping::set | ( | const std::shared_ptr< Vector3f > & | position, |
| float | radius ) |
| void cil::SphereClipping::set | ( | float | a, |
| float | b, | ||
| float | c, | ||
| float | d ) |