\hypertarget{classACG_1_1SceneGraph_1_1ClippingNode}{}\section{A\+CG\+:\+:Scene\+Graph\+:\+:Clipping\+Node Class Reference}
\label{classACG_1_1SceneGraph_1_1ClippingNode}\index{A\+C\+G\+::\+Scene\+Graph\+::\+Clipping\+Node@{A\+C\+G\+::\+Scene\+Graph\+::\+Clipping\+Node}}


{\ttfamily \#include $<$A\+C\+G/\+Scenegraph/\+Clipping\+Node.\+hh$>$}

Inheritance diagram for A\+CG\+:\+:Scene\+Graph\+:\+:Clipping\+Node\+:\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[height=2.000000cm]{classACG_1_1SceneGraph_1_1ClippingNode}
\end{center}
\end{figure}
\subsection*{Classes}
\begin{DoxyCompactItemize}
\item 
class \hyperlink{classACG_1_1SceneGraph_1_1ClippingNode_1_1ClippingObjectModifier}{Clipping\+Object\+Modifier}
\item 
class \hyperlink{classACG_1_1SceneGraph_1_1ClippingNode_1_1ClippingShaderModifier}{Clipping\+Shader\+Modifier}
\end{DoxyCompactItemize}
\subsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
\mbox{\Hypertarget{classACG_1_1SceneGraph_1_1ClippingNode_a3d16b94da39f4844ff2df2c6a4d11500}\label{classACG_1_1SceneGraph_1_1ClippingNode_a3d16b94da39f4844ff2df2c6a4d11500}} 
\hyperlink{classACG_1_1SceneGraph_1_1ClippingNode_a3d16b94da39f4844ff2df2c6a4d11500}{Clipping\+Node} (\hyperlink{classACG_1_1SceneGraph_1_1BaseNode}{Base\+Node} $\ast$\+\_\+parent=0, const std\+::string \&\+\_\+name=\char`\"{}$<$Clipping\+Node$>$\char`\"{})
\begin{DoxyCompactList}\small\item\em Default constructor. Applies all properties. \end{DoxyCompactList}\item 
\mbox{\Hypertarget{classACG_1_1SceneGraph_1_1ClippingNode_add72c464dada1c1ca6aea641fe6bb08e}\label{classACG_1_1SceneGraph_1_1ClippingNode_add72c464dada1c1ca6aea641fe6bb08e}} 
virtual \hyperlink{classACG_1_1SceneGraph_1_1ClippingNode_add72c464dada1c1ca6aea641fe6bb08e}{$\sim$\+Clipping\+Node} ()
\begin{DoxyCompactList}\small\item\em Destructor. \end{DoxyCompactList}\item 
\mbox{\Hypertarget{classACG_1_1SceneGraph_1_1ClippingNode_a953143c49548fb9f881c9bf4ccd905d2}\label{classACG_1_1SceneGraph_1_1ClippingNode_a953143c49548fb9f881c9bf4ccd905d2}} 
\hyperlink{classACG_1_1SceneGraph_1_1ClippingNode_a953143c49548fb9f881c9bf4ccd905d2}{A\+C\+G\+\_\+\+C\+L\+A\+S\+S\+N\+A\+ME} (\hyperlink{classACG_1_1SceneGraph_1_1ClippingNode}{Clipping\+Node})
\begin{DoxyCompactList}\small\item\em set class name \end{DoxyCompactList}\item 
\mbox{\Hypertarget{classACG_1_1SceneGraph_1_1ClippingNode_a688fadbb41c90335dfdaf4e89ca8108e}\label{classACG_1_1SceneGraph_1_1ClippingNode_a688fadbb41c90335dfdaf4e89ca8108e}} 
void \hyperlink{classACG_1_1SceneGraph_1_1ClippingNode_a688fadbb41c90335dfdaf4e89ca8108e}{enter} (\hyperlink{classACG_1_1IRenderer}{I\+Renderer} $\ast$\+\_\+renderer, \hyperlink{classACG_1_1GLState}{G\+L\+State} \&\+\_\+state, const \hyperlink{classACG_1_1SceneGraph_1_1DrawModes_1_1DrawMode}{Draw\+Modes\+::\+Draw\+Mode} \&\+\_\+drawmode) override
\begin{DoxyCompactList}\small\item\em enable clipping plane \end{DoxyCompactList}\item 
\mbox{\Hypertarget{classACG_1_1SceneGraph_1_1ClippingNode_a19abce88e7f9effbf9a907371f843479}\label{classACG_1_1SceneGraph_1_1ClippingNode_a19abce88e7f9effbf9a907371f843479}} 
void \hyperlink{classACG_1_1SceneGraph_1_1ClippingNode_a19abce88e7f9effbf9a907371f843479}{leave} (\hyperlink{classACG_1_1IRenderer}{I\+Renderer} $\ast$\+\_\+renderer, \hyperlink{classACG_1_1GLState}{G\+L\+State} \&\+\_\+state, const \hyperlink{classACG_1_1SceneGraph_1_1DrawModes_1_1DrawMode}{Draw\+Modes\+::\+Draw\+Mode} \&\+\_\+drawmode) override
\begin{DoxyCompactList}\small\item\em disable clipping plane \end{DoxyCompactList}\item 
\mbox{\Hypertarget{classACG_1_1SceneGraph_1_1ClippingNode_a511615ae7330ea31022296617eda98f1}\label{classACG_1_1SceneGraph_1_1ClippingNode_a511615ae7330ea31022296617eda98f1}} 
void \hyperlink{classACG_1_1SceneGraph_1_1ClippingNode_a511615ae7330ea31022296617eda98f1}{enter} (\hyperlink{classACG_1_1GLState}{G\+L\+State} \&\+\_\+state, const \hyperlink{classACG_1_1SceneGraph_1_1DrawModes_1_1DrawMode}{Draw\+Modes\+::\+Draw\+Mode} \&\+\_\+drawmode) override
\begin{DoxyCompactList}\small\item\em enable clipping plane \end{DoxyCompactList}\item 
\mbox{\Hypertarget{classACG_1_1SceneGraph_1_1ClippingNode_a633673ca67e1e7ceefb7d55d6de70629}\label{classACG_1_1SceneGraph_1_1ClippingNode_a633673ca67e1e7ceefb7d55d6de70629}} 
void \hyperlink{classACG_1_1SceneGraph_1_1ClippingNode_a633673ca67e1e7ceefb7d55d6de70629}{leave} (\hyperlink{classACG_1_1GLState}{G\+L\+State} \&\+\_\+state, const \hyperlink{classACG_1_1SceneGraph_1_1DrawModes_1_1DrawMode}{Draw\+Modes\+::\+Draw\+Mode} \&\+\_\+drawmode) override
\begin{DoxyCompactList}\small\item\em disable clipping plane \end{DoxyCompactList}\item 
\mbox{\Hypertarget{classACG_1_1SceneGraph_1_1ClippingNode_a48b28aa0968dc8490b525f004c22e813}\label{classACG_1_1SceneGraph_1_1ClippingNode_a48b28aa0968dc8490b525f004c22e813}} 
void \hyperlink{classACG_1_1SceneGraph_1_1ClippingNode_a48b28aa0968dc8490b525f004c22e813}{set\+\_\+plane} (const \hyperlink{namespaceACG_a86c28120e8596ee7d03e58b7300f59bc}{Vec3f} \&\+\_\+position, const \hyperlink{namespaceACG_a86c28120e8596ee7d03e58b7300f59bc}{Vec3f} \&\+\_\+normal, float \+\_\+eps=0.\+0)
\begin{DoxyCompactList}\small\item\em set position and normal of plane \end{DoxyCompactList}\item 
\mbox{\Hypertarget{classACG_1_1SceneGraph_1_1ClippingNode_a76173be161321ade097532fa6ba53608}\label{classACG_1_1SceneGraph_1_1ClippingNode_a76173be161321ade097532fa6ba53608}} 
const \hyperlink{namespaceACG_a86c28120e8596ee7d03e58b7300f59bc}{Vec3f} \& \hyperlink{classACG_1_1SceneGraph_1_1ClippingNode_a76173be161321ade097532fa6ba53608}{position} () const
\begin{DoxyCompactList}\small\item\em get position \end{DoxyCompactList}\item 
\mbox{\Hypertarget{classACG_1_1SceneGraph_1_1ClippingNode_a76866434ffaa4e241cdea203a52e6d96}\label{classACG_1_1SceneGraph_1_1ClippingNode_a76866434ffaa4e241cdea203a52e6d96}} 
const \hyperlink{namespaceACG_a86c28120e8596ee7d03e58b7300f59bc}{Vec3f} \& \hyperlink{classACG_1_1SceneGraph_1_1ClippingNode_a76866434ffaa4e241cdea203a52e6d96}{normal} () const
\begin{DoxyCompactList}\small\item\em get normal \end{DoxyCompactList}\item 
\mbox{\Hypertarget{classACG_1_1SceneGraph_1_1ClippingNode_a4bfb4e87b72025a3c710f07165d09b26}\label{classACG_1_1SceneGraph_1_1ClippingNode_a4bfb4e87b72025a3c710f07165d09b26}} 
float \hyperlink{classACG_1_1SceneGraph_1_1ClippingNode_a4bfb4e87b72025a3c710f07165d09b26}{slice\+\_\+width} () const
\begin{DoxyCompactList}\small\item\em get slice width \end{DoxyCompactList}\item 
\mbox{\Hypertarget{classACG_1_1SceneGraph_1_1ClippingNode_a94e2301c0eb3102a405825ce24166127}\label{classACG_1_1SceneGraph_1_1ClippingNode_a94e2301c0eb3102a405825ce24166127}} 
void \hyperlink{classACG_1_1SceneGraph_1_1ClippingNode_a94e2301c0eb3102a405825ce24166127}{set\+\_\+offset} (float \+\_\+dist)
\begin{DoxyCompactList}\small\item\em sweep plane along normal by \+\_\+dist \end{DoxyCompactList}\item 
\mbox{\Hypertarget{classACG_1_1SceneGraph_1_1ClippingNode_aa1a41a7eed714ef8744c9ba7959471ae}\label{classACG_1_1SceneGraph_1_1ClippingNode_aa1a41a7eed714ef8744c9ba7959471ae}} 
\hyperlink{namespaceACG_a2ba4d05b21aa0247255d38e770bcc255}{Vec4d} \hyperlink{classACG_1_1SceneGraph_1_1ClippingNode_aa1a41a7eed714ef8744c9ba7959471ae}{plane0} () const
\begin{DoxyCompactList}\small\item\em get first plane equation \end{DoxyCompactList}\item 
\mbox{\Hypertarget{classACG_1_1SceneGraph_1_1ClippingNode_a9496e157aeb645c5b6ce04342825e458}\label{classACG_1_1SceneGraph_1_1ClippingNode_a9496e157aeb645c5b6ce04342825e458}} 
\hyperlink{namespaceACG_a2ba4d05b21aa0247255d38e770bcc255}{Vec4d} \hyperlink{classACG_1_1SceneGraph_1_1ClippingNode_a9496e157aeb645c5b6ce04342825e458}{plane1} () const
\begin{DoxyCompactList}\small\item\em get second plane equation \end{DoxyCompactList}\end{DoxyCompactItemize}
\subsection*{Private Attributes}
\begin{DoxyCompactItemize}
\item 
\mbox{\Hypertarget{classACG_1_1SceneGraph_1_1ClippingNode_a85fd037ff344f0c1bd16b165bc846b19}\label{classACG_1_1SceneGraph_1_1ClippingNode_a85fd037ff344f0c1bd16b165bc846b19}} 
\hyperlink{namespaceACG_a86c28120e8596ee7d03e58b7300f59bc}{Vec3f} {\bfseries position\+\_\+}
\item 
\mbox{\Hypertarget{classACG_1_1SceneGraph_1_1ClippingNode_a993785c5059c492cce72e2fde090a258}\label{classACG_1_1SceneGraph_1_1ClippingNode_a993785c5059c492cce72e2fde090a258}} 
\hyperlink{namespaceACG_a86c28120e8596ee7d03e58b7300f59bc}{Vec3f} {\bfseries normal\+\_\+}
\item 
\mbox{\Hypertarget{classACG_1_1SceneGraph_1_1ClippingNode_a7f27c5af2d3c06e318d8fc880d1d6c28}\label{classACG_1_1SceneGraph_1_1ClippingNode_a7f27c5af2d3c06e318d8fc880d1d6c28}} 
G\+Ldouble {\bfseries plane0\+\_\+} \mbox{[}4\mbox{]}
\item 
\mbox{\Hypertarget{classACG_1_1SceneGraph_1_1ClippingNode_ad775468281e8b77a05926eb8da1f9085}\label{classACG_1_1SceneGraph_1_1ClippingNode_ad775468281e8b77a05926eb8da1f9085}} 
G\+Ldouble {\bfseries plane1\+\_\+} \mbox{[}4\mbox{]}
\item 
\mbox{\Hypertarget{classACG_1_1SceneGraph_1_1ClippingNode_a88cf51b6d75713c6d590f2cca08eaa3b}\label{classACG_1_1SceneGraph_1_1ClippingNode_a88cf51b6d75713c6d590f2cca08eaa3b}} 
G\+Ldouble {\bfseries offset\+\_\+plane0\+\_\+} \mbox{[}4\mbox{]}
\item 
\mbox{\Hypertarget{classACG_1_1SceneGraph_1_1ClippingNode_a73b33b0b435e397f28558448449dbb5a}\label{classACG_1_1SceneGraph_1_1ClippingNode_a73b33b0b435e397f28558448449dbb5a}} 
G\+Ldouble {\bfseries offset\+\_\+plane1\+\_\+} \mbox{[}4\mbox{]}
\item 
\mbox{\Hypertarget{classACG_1_1SceneGraph_1_1ClippingNode_a9e3c7d314833fad40469f9e57f2c5d78}\label{classACG_1_1SceneGraph_1_1ClippingNode_a9e3c7d314833fad40469f9e57f2c5d78}} 
float {\bfseries slice\+\_\+width\+\_\+}
\item 
\mbox{\Hypertarget{classACG_1_1SceneGraph_1_1ClippingNode_ae11ca7be5aad873c9f5f45812bc05e3f}\label{classACG_1_1SceneGraph_1_1ClippingNode_ae11ca7be5aad873c9f5f45812bc05e3f}} 
float {\bfseries offset\+\_\+}
\item 
\mbox{\Hypertarget{classACG_1_1SceneGraph_1_1ClippingNode_a9e2505c5f45f1521f73c4861ac565a8d}\label{classACG_1_1SceneGraph_1_1ClippingNode_a9e2505c5f45f1521f73c4861ac565a8d}} 
\hyperlink{classACG_1_1SceneGraph_1_1ClippingNode_1_1ClippingObjectModifier}{Clipping\+Object\+Modifier} {\bfseries mod\+\_\+}
\end{DoxyCompactItemize}
\subsection*{Static Private Attributes}
\begin{DoxyCompactItemize}
\item 
\mbox{\Hypertarget{classACG_1_1SceneGraph_1_1ClippingNode_aef224cda82a04b8dd1c8cbb70c0a2614}\label{classACG_1_1SceneGraph_1_1ClippingNode_aef224cda82a04b8dd1c8cbb70c0a2614}} 
static \hyperlink{classACG_1_1SceneGraph_1_1ClippingNode_1_1ClippingShaderModifier}{Clipping\+Shader\+Modifier} {\bfseries shader\+Mod1\+\_\+}
\item 
\mbox{\Hypertarget{classACG_1_1SceneGraph_1_1ClippingNode_a63eb4cfc2f407b53a6f9ac633783f30e}\label{classACG_1_1SceneGraph_1_1ClippingNode_a63eb4cfc2f407b53a6f9ac633783f30e}} 
static \hyperlink{classACG_1_1SceneGraph_1_1ClippingNode_1_1ClippingShaderModifier}{Clipping\+Shader\+Modifier} {\bfseries shader\+Mod2\+\_\+}
\end{DoxyCompactItemize}
\subsection*{Additional Inherited Members}


\subsection{Detailed Description}
Set material and some other stuff for this node and all its children. All changes will be done in the \hyperlink{classACG_1_1SceneGraph_1_1ClippingNode_a688fadbb41c90335dfdaf4e89ca8108e}{enter()} method undone in the \hyperlink{classACG_1_1SceneGraph_1_1ClippingNode_a19abce88e7f9effbf9a907371f843479}{leave()} method. 

Definition at line 82 of file Clipping\+Node.\+hh.



The documentation for this class was generated from the following files\+:\begin{DoxyCompactItemize}
\item 
Open\+Flipper/libs\+\_\+required/\+A\+C\+G/\+Scenegraph/Clipping\+Node.\+hh\item 
Open\+Flipper/libs\+\_\+required/\+A\+C\+G/\+Scenegraph/Clipping\+Node.\+cc\end{DoxyCompactItemize}
