\hypertarget{a07764}{}\section{A\+CG\+:\+:Scene\+Graph\+:\+:Clipping\+Node Class Reference}
\label{a07764}\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]{a07764}
\end{center}
\end{figure}
\subsection*{Classes}
\begin{DoxyCompactItemize}
\item 
class \hyperlink{a07772}{Clipping\+Object\+Modifier}
\item 
class \hyperlink{a07768}{Clipping\+Shader\+Modifier}
\end{DoxyCompactItemize}
\subsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
\mbox{\Hypertarget{a07764_a3d16b94da39f4844ff2df2c6a4d11500}\label{a07764_a3d16b94da39f4844ff2df2c6a4d11500}} 
\hyperlink{a07764_a3d16b94da39f4844ff2df2c6a4d11500}{Clipping\+Node} (\hyperlink{a07748}{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{a07764_add72c464dada1c1ca6aea641fe6bb08e}\label{a07764_add72c464dada1c1ca6aea641fe6bb08e}} 
virtual \hyperlink{a07764_add72c464dada1c1ca6aea641fe6bb08e}{$\sim$\+Clipping\+Node} ()
\begin{DoxyCompactList}\small\item\em Destructor. \end{DoxyCompactList}\item 
\mbox{\Hypertarget{a07764_a953143c49548fb9f881c9bf4ccd905d2}\label{a07764_a953143c49548fb9f881c9bf4ccd905d2}} 
\hyperlink{a07764_a953143c49548fb9f881c9bf4ccd905d2}{A\+C\+G\+\_\+\+C\+L\+A\+S\+S\+N\+A\+ME} (\hyperlink{a07764}{Clipping\+Node})
\begin{DoxyCompactList}\small\item\em set class name \end{DoxyCompactList}\item 
\mbox{\Hypertarget{a07764_a76f52be672d24962e5951116f886ccff}\label{a07764_a76f52be672d24962e5951116f886ccff}} 
void \hyperlink{a07764_a76f52be672d24962e5951116f886ccff}{enter} (\hyperlink{a07468}{I\+Renderer} $\ast$\+\_\+renderer, \hyperlink{a07452}{G\+L\+State} \&\+\_\+state, const \hyperlink{a07792}{Draw\+Modes\+::\+Draw\+Mode} \&\+\_\+drawmode)
\begin{DoxyCompactList}\small\item\em enable clipping plane \end{DoxyCompactList}\item 
\mbox{\Hypertarget{a07764_a9b68609c08f53e6d2bb6f9569210af3c}\label{a07764_a9b68609c08f53e6d2bb6f9569210af3c}} 
void \hyperlink{a07764_a9b68609c08f53e6d2bb6f9569210af3c}{leave} (\hyperlink{a07468}{I\+Renderer} $\ast$\+\_\+renderer, \hyperlink{a07452}{G\+L\+State} \&\+\_\+state, const \hyperlink{a07792}{Draw\+Modes\+::\+Draw\+Mode} \&\+\_\+drawmode)
\begin{DoxyCompactList}\small\item\em disable clipping plane \end{DoxyCompactList}\item 
\mbox{\Hypertarget{a07764_adfbb228d98409610dc4fd2a2fef9a5bb}\label{a07764_adfbb228d98409610dc4fd2a2fef9a5bb}} 
void \hyperlink{a07764_adfbb228d98409610dc4fd2a2fef9a5bb}{enter} (\hyperlink{a07452}{G\+L\+State} \&\+\_\+state, const \hyperlink{a07792}{Draw\+Modes\+::\+Draw\+Mode} \&\+\_\+drawmode)
\begin{DoxyCompactList}\small\item\em enable clipping plane \end{DoxyCompactList}\item 
\mbox{\Hypertarget{a07764_affd765cd24e3cf085d7966fd1cbb3618}\label{a07764_affd765cd24e3cf085d7966fd1cbb3618}} 
void \hyperlink{a07764_affd765cd24e3cf085d7966fd1cbb3618}{leave} (\hyperlink{a07452}{G\+L\+State} \&\+\_\+state, const \hyperlink{a07792}{Draw\+Modes\+::\+Draw\+Mode} \&\+\_\+drawmode)
\begin{DoxyCompactList}\small\item\em disable clipping plane \end{DoxyCompactList}\item 
\mbox{\Hypertarget{a07764_a48b28aa0968dc8490b525f004c22e813}\label{a07764_a48b28aa0968dc8490b525f004c22e813}} 
void \hyperlink{a07764_a48b28aa0968dc8490b525f004c22e813}{set\+\_\+plane} (const \hyperlink{a06176_a86c28120e8596ee7d03e58b7300f59bc}{Vec3f} \&\+\_\+position, const \hyperlink{a06176_a86c28120e8596ee7d03e58b7300f59bc}{Vec3f} \&\+\_\+normal, float \+\_\+eps=0.\+0)
\begin{DoxyCompactList}\small\item\em set position and normal of plane \end{DoxyCompactList}\item 
\mbox{\Hypertarget{a07764_a76173be161321ade097532fa6ba53608}\label{a07764_a76173be161321ade097532fa6ba53608}} 
const \hyperlink{a06176_a86c28120e8596ee7d03e58b7300f59bc}{Vec3f} \& \hyperlink{a07764_a76173be161321ade097532fa6ba53608}{position} () const
\begin{DoxyCompactList}\small\item\em get position \end{DoxyCompactList}\item 
\mbox{\Hypertarget{a07764_a76866434ffaa4e241cdea203a52e6d96}\label{a07764_a76866434ffaa4e241cdea203a52e6d96}} 
const \hyperlink{a06176_a86c28120e8596ee7d03e58b7300f59bc}{Vec3f} \& \hyperlink{a07764_a76866434ffaa4e241cdea203a52e6d96}{normal} () const
\begin{DoxyCompactList}\small\item\em get normal \end{DoxyCompactList}\item 
\mbox{\Hypertarget{a07764_a4bfb4e87b72025a3c710f07165d09b26}\label{a07764_a4bfb4e87b72025a3c710f07165d09b26}} 
float \hyperlink{a07764_a4bfb4e87b72025a3c710f07165d09b26}{slice\+\_\+width} () const
\begin{DoxyCompactList}\small\item\em get slice width \end{DoxyCompactList}\item 
\mbox{\Hypertarget{a07764_a94e2301c0eb3102a405825ce24166127}\label{a07764_a94e2301c0eb3102a405825ce24166127}} 
void \hyperlink{a07764_a94e2301c0eb3102a405825ce24166127}{set\+\_\+offset} (float \+\_\+dist)
\begin{DoxyCompactList}\small\item\em sweep plane along normal by \+\_\+dist \end{DoxyCompactList}\item 
\mbox{\Hypertarget{a07764_aa1a41a7eed714ef8744c9ba7959471ae}\label{a07764_aa1a41a7eed714ef8744c9ba7959471ae}} 
\hyperlink{a06176_a2ba4d05b21aa0247255d38e770bcc255}{Vec4d} \hyperlink{a07764_aa1a41a7eed714ef8744c9ba7959471ae}{plane0} () const
\begin{DoxyCompactList}\small\item\em get first plane equation \end{DoxyCompactList}\item 
\mbox{\Hypertarget{a07764_a9496e157aeb645c5b6ce04342825e458}\label{a07764_a9496e157aeb645c5b6ce04342825e458}} 
\hyperlink{a06176_a2ba4d05b21aa0247255d38e770bcc255}{Vec4d} \hyperlink{a07764_a9496e157aeb645c5b6ce04342825e458}{plane1} () const
\begin{DoxyCompactList}\small\item\em get second plane equation \end{DoxyCompactList}\end{DoxyCompactItemize}
\subsection*{Private Attributes}
\begin{DoxyCompactItemize}
\item 
\mbox{\Hypertarget{a07764_a85fd037ff344f0c1bd16b165bc846b19}\label{a07764_a85fd037ff344f0c1bd16b165bc846b19}} 
\hyperlink{a06176_a86c28120e8596ee7d03e58b7300f59bc}{Vec3f} {\bfseries position\+\_\+}
\item 
\mbox{\Hypertarget{a07764_a993785c5059c492cce72e2fde090a258}\label{a07764_a993785c5059c492cce72e2fde090a258}} 
\hyperlink{a06176_a86c28120e8596ee7d03e58b7300f59bc}{Vec3f} {\bfseries normal\+\_\+}
\item 
\mbox{\Hypertarget{a07764_a7f27c5af2d3c06e318d8fc880d1d6c28}\label{a07764_a7f27c5af2d3c06e318d8fc880d1d6c28}} 
G\+Ldouble {\bfseries plane0\+\_\+} \mbox{[}4\mbox{]}
\item 
\mbox{\Hypertarget{a07764_ad775468281e8b77a05926eb8da1f9085}\label{a07764_ad775468281e8b77a05926eb8da1f9085}} 
G\+Ldouble {\bfseries plane1\+\_\+} \mbox{[}4\mbox{]}
\item 
\mbox{\Hypertarget{a07764_a88cf51b6d75713c6d590f2cca08eaa3b}\label{a07764_a88cf51b6d75713c6d590f2cca08eaa3b}} 
G\+Ldouble {\bfseries offset\+\_\+plane0\+\_\+} \mbox{[}4\mbox{]}
\item 
\mbox{\Hypertarget{a07764_a73b33b0b435e397f28558448449dbb5a}\label{a07764_a73b33b0b435e397f28558448449dbb5a}} 
G\+Ldouble {\bfseries offset\+\_\+plane1\+\_\+} \mbox{[}4\mbox{]}
\item 
\mbox{\Hypertarget{a07764_a9e3c7d314833fad40469f9e57f2c5d78}\label{a07764_a9e3c7d314833fad40469f9e57f2c5d78}} 
float {\bfseries slice\+\_\+width\+\_\+}
\item 
\mbox{\Hypertarget{a07764_ae11ca7be5aad873c9f5f45812bc05e3f}\label{a07764_ae11ca7be5aad873c9f5f45812bc05e3f}} 
float {\bfseries offset\+\_\+}
\item 
\mbox{\Hypertarget{a07764_a9e2505c5f45f1521f73c4861ac565a8d}\label{a07764_a9e2505c5f45f1521f73c4861ac565a8d}} 
\hyperlink{a07772}{Clipping\+Object\+Modifier} {\bfseries mod\+\_\+}
\end{DoxyCompactItemize}
\subsection*{Static Private Attributes}
\begin{DoxyCompactItemize}
\item 
\mbox{\Hypertarget{a07764_aef224cda82a04b8dd1c8cbb70c0a2614}\label{a07764_aef224cda82a04b8dd1c8cbb70c0a2614}} 
static \hyperlink{a07768}{Clipping\+Shader\+Modifier} {\bfseries shader\+Mod1\+\_\+}
\item 
\mbox{\Hypertarget{a07764_a63eb4cfc2f407b53a6f9ac633783f30e}\label{a07764_a63eb4cfc2f407b53a6f9ac633783f30e}} 
static \hyperlink{a07768}{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{a07764_a76f52be672d24962e5951116f886ccff}{enter()} method undone in the \hyperlink{a07764_a9b68609c08f53e6d2bb6f9569210af3c}{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}
