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


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$>$}

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


\doxysubsection{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/}{\texttt{ http\+://www.\+andrew.\+cmu.\+edu/user/jessicaz/publication/meshing/}}. 

\doxysubsection{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::OctreeNodeSplitPolicy@{Ogre::Volume::OctreeNodeSplitPolicy}!OctreeNodeSplitPolicy@{OctreeNodeSplitPolicy}}
\index{OctreeNodeSplitPolicy@{OctreeNodeSplitPolicy}!Ogre::Volume::OctreeNodeSplitPolicy@{Ogre::Volume::OctreeNodeSplitPolicy}}
\doxysubsubsection{\texorpdfstring{OctreeNodeSplitPolicy()}{OctreeNodeSplitPolicy()}}
{\footnotesize\ttfamily Ogre\+::\+Volume\+::\+Octree\+Node\+Split\+Policy\+::\+Octree\+Node\+Split\+Policy (\begin{DoxyParamCaption}\item[{const \mbox{\hyperlink{class_ogre_1_1_volume_1_1_source}{Source}} $\ast$}]{src,  }\item[{const \mbox{\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}


\doxysubsection{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::OctreeNodeSplitPolicy@{Ogre::Volume::OctreeNodeSplitPolicy}!doSplit@{doSplit}}
\index{doSplit@{doSplit}!Ogre::Volume::OctreeNodeSplitPolicy@{Ogre::Volume::OctreeNodeSplitPolicy}}
\doxysubsubsection{\texorpdfstring{doSplit()}{doSplit()}}
{\footnotesize\ttfamily virtual bool Ogre\+::\+Volume\+::\+Octree\+Node\+Split\+Policy\+::do\+Split (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{class_ogre_1_1_volume_1_1_octree_node}{Octree\+Node}} $\ast$}]{node,  }\item[{const \mbox{\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 
\mbox{\hyperlink{_ogre_volume_octree_node_split_policy_8h}{Ogre\+Volume\+Octree\+Node\+Split\+Policy.\+h}}\end{DoxyCompactItemize}
