\hypertarget{class_ogre_1_1_volume_1_1_octree_node_split_policy}{}\section{Ogre\+:\+:Volume\+:\+:Octree\+Node\+Split\+Policy Class Reference}
\label{class_ogre_1_1_volume_1_1_octree_node_split_policy}\index{Ogre\+::\+Volume\+::\+Octree\+Node\+Split\+Policy@{Ogre\+::\+Volume\+::\+Octree\+Node\+Split\+Policy}}


The class deciding on whether to split an octree node or not when building the octree.  




{\ttfamily \#include $<$Ogre\+Volume\+Octree\+Node\+Split\+Policy.\+h$>$}

\subsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
\hyperlink{class_ogre_1_1_volume_1_1_octree_node_split_policy_ad97c10c042e56a08ec0b60b7af113c81}{Octree\+Node\+Split\+Policy} (const \hyperlink{class_ogre_1_1_volume_1_1_source}{Source} $\ast$src, const \hyperlink{namespace_ogre_aa3a7b6dfb905e6572d62f0dfa3d4274d}{Real} max\+Cell\+Size)
\begin{DoxyCompactList}\small\item\em Constructur. \end{DoxyCompactList}\item 
virtual bool \hyperlink{class_ogre_1_1_volume_1_1_octree_node_split_policy_a8b5682c980de37a85b0a91239c367a8e}{do\+Split} (\hyperlink{class_ogre_1_1_volume_1_1_octree_node}{Octree\+Node} $\ast$node, const \hyperlink{namespace_ogre_aa3a7b6dfb905e6572d62f0dfa3d4274d}{Real} geometric\+Error) const
\begin{DoxyCompactList}\small\item\em Decider for the splitting. \end{DoxyCompactList}\end{DoxyCompactItemize}


\subsection{Detailed Description}
The class deciding on whether to split an octree node or not when building the octree. 

Splitting like Zhang in \href{http://www.andrew.cmu.edu/user/jessicaz/publication/meshing/}{\tt http\+://www.\+andrew.\+cmu.\+edu/user/jessicaz/publication/meshing/}. 

\subsection{Constructor \& Destructor Documentation}
\mbox{\Hypertarget{class_ogre_1_1_volume_1_1_octree_node_split_policy_ad97c10c042e56a08ec0b60b7af113c81}\label{class_ogre_1_1_volume_1_1_octree_node_split_policy_ad97c10c042e56a08ec0b60b7af113c81}} 
\index{Ogre\+::\+Volume\+::\+Octree\+Node\+Split\+Policy@{Ogre\+::\+Volume\+::\+Octree\+Node\+Split\+Policy}!Octree\+Node\+Split\+Policy@{Octree\+Node\+Split\+Policy}}
\index{Octree\+Node\+Split\+Policy@{Octree\+Node\+Split\+Policy}!Ogre\+::\+Volume\+::\+Octree\+Node\+Split\+Policy@{Ogre\+::\+Volume\+::\+Octree\+Node\+Split\+Policy}}
\subsubsection{\texorpdfstring{Octree\+Node\+Split\+Policy()}{OctreeNodeSplitPolicy()}}
{\footnotesize\ttfamily Ogre\+::\+Volume\+::\+Octree\+Node\+Split\+Policy\+::\+Octree\+Node\+Split\+Policy (\begin{DoxyParamCaption}\item[{const \hyperlink{class_ogre_1_1_volume_1_1_source}{Source} $\ast$}]{src,  }\item[{const \hyperlink{namespace_ogre_aa3a7b6dfb905e6572d62f0dfa3d4274d}{Real}}]{max\+Cell\+Size }\end{DoxyParamCaption})}



Constructur. 

Protected to have the initialization. 
\begin{DoxyParams}{Parameters}
{\em src} & The volume source to decide something. \\
\hline
{\em max\+Cell\+Size} & The maximum size when the splitting will stop anyway. \\
\hline
\end{DoxyParams}


\subsection{Member Function Documentation}
\mbox{\Hypertarget{class_ogre_1_1_volume_1_1_octree_node_split_policy_a8b5682c980de37a85b0a91239c367a8e}\label{class_ogre_1_1_volume_1_1_octree_node_split_policy_a8b5682c980de37a85b0a91239c367a8e}} 
\index{Ogre\+::\+Volume\+::\+Octree\+Node\+Split\+Policy@{Ogre\+::\+Volume\+::\+Octree\+Node\+Split\+Policy}!do\+Split@{do\+Split}}
\index{do\+Split@{do\+Split}!Ogre\+::\+Volume\+::\+Octree\+Node\+Split\+Policy@{Ogre\+::\+Volume\+::\+Octree\+Node\+Split\+Policy}}
\subsubsection{\texorpdfstring{do\+Split()}{doSplit()}}
{\footnotesize\ttfamily virtual bool Ogre\+::\+Volume\+::\+Octree\+Node\+Split\+Policy\+::do\+Split (\begin{DoxyParamCaption}\item[{\hyperlink{class_ogre_1_1_volume_1_1_octree_node}{Octree\+Node} $\ast$}]{node,  }\item[{const \hyperlink{namespace_ogre_aa3a7b6dfb905e6572d62f0dfa3d4274d}{Real}}]{geometric\+Error }\end{DoxyParamCaption}) const\hspace{0.3cm}{\ttfamily [virtual]}}



Decider for the splitting. 


\begin{DoxyParams}{Parameters}
{\em node} & The split candidate. \\
\hline
{\em geometric\+Error} & The accepted geometric error. \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
true if the node should be split. 
\end{DoxyReturn}


The documentation for this class was generated from the following file\+:\begin{DoxyCompactItemize}
\item 
\hyperlink{_ogre_volume_octree_node_split_policy_8h}{Ogre\+Volume\+Octree\+Node\+Split\+Policy.\+h}\end{DoxyCompactItemize}
