\hypertarget{class_ogre_1_1_volume_1_1_dual_grid_generator}{}\section{Ogre\+:\+:Volume\+:\+:Dual\+Grid\+Generator Class Reference}
\label{class_ogre_1_1_volume_1_1_dual_grid_generator}\index{Ogre\+::\+Volume\+::\+Dual\+Grid\+Generator@{Ogre\+::\+Volume\+::\+Dual\+Grid\+Generator}}


Class for the generation of the Dual\+Grid.  




{\ttfamily \#include $<$Ogre\+Volume\+Dual\+Grid\+Generator.\+h$>$}



Inheritance diagram for Ogre\+:\+:Volume\+:\+:Dual\+Grid\+Generator\+:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=260pt]{class_ogre_1_1_volume_1_1_dual_grid_generator__inherit__graph}
\end{center}
\end{figure}
\subsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
\hyperlink{class_ogre_1_1_volume_1_1_dual_grid_generator_a069bddc9db0c2f673c22f2c6f7658dd1}{Dual\+Grid\+Generator} (void)
\begin{DoxyCompactList}\small\item\em Constructor. \end{DoxyCompactList}\item 
void \hyperlink{class_ogre_1_1_volume_1_1_dual_grid_generator_a5a03ad87197adde6425628e45da8650a}{generate\+Dual\+Grid} (const \hyperlink{class_ogre_1_1_volume_1_1_octree_node}{Octree\+Node} $\ast$root, \hyperlink{class_ogre_1_1_volume_1_1_iso_surface}{Iso\+Surface} $\ast$is, \hyperlink{class_ogre_1_1_volume_1_1_mesh_builder}{Mesh\+Builder} $\ast$mb, \hyperlink{namespace_ogre_aa3a7b6dfb905e6572d62f0dfa3d4274d}{Real} max\+M\+S\+Distance, const \hyperlink{class_ogre_1_1_vector3}{Vector3} \&total\+From, const \hyperlink{class_ogre_1_1_vector3}{Vector3} \&total\+To, bool save\+Dual\+Cells)
\begin{DoxyCompactList}\small\item\em Generates the dualgrid of the given octree root node. \end{DoxyCompactList}\item 
\hyperlink{struct_ogre_1_1_volume_1_1_dual_cell}{Dual\+Cell} \hyperlink{class_ogre_1_1_volume_1_1_dual_grid_generator_af5e519b50f802e5dc5c5daa77be863a9}{get\+Dual\+Cell} (size\+\_\+t i) const
\begin{DoxyCompactList}\small\item\em Gets a dual cell. \end{DoxyCompactList}\item 
size\+\_\+t \hyperlink{class_ogre_1_1_volume_1_1_dual_grid_generator_a6daa049586de80dc65140d95c1a2772f}{get\+Dual\+Cell\+Count} (void) const
\begin{DoxyCompactList}\small\item\em Gets the amount of generated dual cells. \end{DoxyCompactList}\item 
\hyperlink{class_ogre_1_1_entity}{Entity} $\ast$ \hyperlink{class_ogre_1_1_volume_1_1_dual_grid_generator_a9b386d4dc87a1e7b4800ff4bd87bd6f2}{get\+Dual\+Grid} (\hyperlink{class_ogre_1_1_scene_manager}{Scene\+Manager} $\ast$scene\+Manager)
\begin{DoxyCompactList}\small\item\em Gets the lazily created entity of the dualgrid debug visualization. \end{DoxyCompactList}\end{DoxyCompactItemize}


\subsection{Detailed Description}
Class for the generation of the Dual\+Grid. 

\subsection{Constructor \& Destructor Documentation}
\mbox{\Hypertarget{class_ogre_1_1_volume_1_1_dual_grid_generator_a069bddc9db0c2f673c22f2c6f7658dd1}\label{class_ogre_1_1_volume_1_1_dual_grid_generator_a069bddc9db0c2f673c22f2c6f7658dd1}} 
\index{Ogre\+::\+Volume\+::\+Dual\+Grid\+Generator@{Ogre\+::\+Volume\+::\+Dual\+Grid\+Generator}!Dual\+Grid\+Generator@{Dual\+Grid\+Generator}}
\index{Dual\+Grid\+Generator@{Dual\+Grid\+Generator}!Ogre\+::\+Volume\+::\+Dual\+Grid\+Generator@{Ogre\+::\+Volume\+::\+Dual\+Grid\+Generator}}
\subsubsection{\texorpdfstring{Dual\+Grid\+Generator()}{DualGridGenerator()}}
{\footnotesize\ttfamily Ogre\+::\+Volume\+::\+Dual\+Grid\+Generator\+::\+Dual\+Grid\+Generator (\begin{DoxyParamCaption}\item[{void}]{ }\end{DoxyParamCaption})}



Constructor. 



\subsection{Member Function Documentation}
\mbox{\Hypertarget{class_ogre_1_1_volume_1_1_dual_grid_generator_a5a03ad87197adde6425628e45da8650a}\label{class_ogre_1_1_volume_1_1_dual_grid_generator_a5a03ad87197adde6425628e45da8650a}} 
\index{Ogre\+::\+Volume\+::\+Dual\+Grid\+Generator@{Ogre\+::\+Volume\+::\+Dual\+Grid\+Generator}!generate\+Dual\+Grid@{generate\+Dual\+Grid}}
\index{generate\+Dual\+Grid@{generate\+Dual\+Grid}!Ogre\+::\+Volume\+::\+Dual\+Grid\+Generator@{Ogre\+::\+Volume\+::\+Dual\+Grid\+Generator}}
\subsubsection{\texorpdfstring{generate\+Dual\+Grid()}{generateDualGrid()}}
{\footnotesize\ttfamily void Ogre\+::\+Volume\+::\+Dual\+Grid\+Generator\+::generate\+Dual\+Grid (\begin{DoxyParamCaption}\item[{const \hyperlink{class_ogre_1_1_volume_1_1_octree_node}{Octree\+Node} $\ast$}]{root,  }\item[{\hyperlink{class_ogre_1_1_volume_1_1_iso_surface}{Iso\+Surface} $\ast$}]{is,  }\item[{\hyperlink{class_ogre_1_1_volume_1_1_mesh_builder}{Mesh\+Builder} $\ast$}]{mb,  }\item[{\hyperlink{namespace_ogre_aa3a7b6dfb905e6572d62f0dfa3d4274d}{Real}}]{max\+M\+S\+Distance,  }\item[{const \hyperlink{class_ogre_1_1_vector3}{Vector3} \&}]{total\+From,  }\item[{const \hyperlink{class_ogre_1_1_vector3}{Vector3} \&}]{total\+To,  }\item[{bool}]{save\+Dual\+Cells }\end{DoxyParamCaption})}



Generates the dualgrid of the given octree root node. 


\begin{DoxyParams}{Parameters}
{\em root} & The octree root node. \\
\hline
{\em is} & To contour the dualcells. \\
\hline
{\em mb} & To store the triangles of the contour. \\
\hline
{\em max\+M\+S\+Distance} & The maximum distance to the isosurface where to generate skirts. \\
\hline
{\em total\+From} & The global from. \\
\hline
{\em total\+To} & The global to. \\
\hline
{\em save\+Dual\+Cells} & Whether to save the generated dualcells of the generated dual cells. \\
\hline
\end{DoxyParams}
\mbox{\Hypertarget{class_ogre_1_1_volume_1_1_dual_grid_generator_a9b386d4dc87a1e7b4800ff4bd87bd6f2}\label{class_ogre_1_1_volume_1_1_dual_grid_generator_a9b386d4dc87a1e7b4800ff4bd87bd6f2}} 
\index{Ogre\+::\+Volume\+::\+Dual\+Grid\+Generator@{Ogre\+::\+Volume\+::\+Dual\+Grid\+Generator}!get\+Dual\+Grid@{get\+Dual\+Grid}}
\index{get\+Dual\+Grid@{get\+Dual\+Grid}!Ogre\+::\+Volume\+::\+Dual\+Grid\+Generator@{Ogre\+::\+Volume\+::\+Dual\+Grid\+Generator}}
\subsubsection{\texorpdfstring{get\+Dual\+Grid()}{getDualGrid()}}
{\footnotesize\ttfamily \hyperlink{class_ogre_1_1_entity}{Entity}$\ast$ Ogre\+::\+Volume\+::\+Dual\+Grid\+Generator\+::get\+Dual\+Grid (\begin{DoxyParamCaption}\item[{\hyperlink{class_ogre_1_1_scene_manager}{Scene\+Manager} $\ast$}]{scene\+Manager }\end{DoxyParamCaption})}



Gets the lazily created entity of the dualgrid debug visualization. 


\begin{DoxyParams}{Parameters}
{\em scene\+Manager} & The scenemanager creating the entity. \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
The entity. Might be null if no dualcells are available. 
\end{DoxyReturn}
\mbox{\Hypertarget{class_ogre_1_1_volume_1_1_dual_grid_generator_a6daa049586de80dc65140d95c1a2772f}\label{class_ogre_1_1_volume_1_1_dual_grid_generator_a6daa049586de80dc65140d95c1a2772f}} 
\index{Ogre\+::\+Volume\+::\+Dual\+Grid\+Generator@{Ogre\+::\+Volume\+::\+Dual\+Grid\+Generator}!get\+Dual\+Cell\+Count@{get\+Dual\+Cell\+Count}}
\index{get\+Dual\+Cell\+Count@{get\+Dual\+Cell\+Count}!Ogre\+::\+Volume\+::\+Dual\+Grid\+Generator@{Ogre\+::\+Volume\+::\+Dual\+Grid\+Generator}}
\subsubsection{\texorpdfstring{get\+Dual\+Cell\+Count()}{getDualCellCount()}}
{\footnotesize\ttfamily size\+\_\+t Ogre\+::\+Volume\+::\+Dual\+Grid\+Generator\+::get\+Dual\+Cell\+Count (\begin{DoxyParamCaption}\item[{void}]{ }\end{DoxyParamCaption}) const\hspace{0.3cm}{\ttfamily [inline]}}



Gets the amount of generated dual cells. 

\begin{DoxyReturn}{Returns}
The amount of generated dual cells. 
\end{DoxyReturn}
\mbox{\Hypertarget{class_ogre_1_1_volume_1_1_dual_grid_generator_af5e519b50f802e5dc5c5daa77be863a9}\label{class_ogre_1_1_volume_1_1_dual_grid_generator_af5e519b50f802e5dc5c5daa77be863a9}} 
\index{Ogre\+::\+Volume\+::\+Dual\+Grid\+Generator@{Ogre\+::\+Volume\+::\+Dual\+Grid\+Generator}!get\+Dual\+Cell@{get\+Dual\+Cell}}
\index{get\+Dual\+Cell@{get\+Dual\+Cell}!Ogre\+::\+Volume\+::\+Dual\+Grid\+Generator@{Ogre\+::\+Volume\+::\+Dual\+Grid\+Generator}}
\subsubsection{\texorpdfstring{get\+Dual\+Cell()}{getDualCell()}}
{\footnotesize\ttfamily \hyperlink{struct_ogre_1_1_volume_1_1_dual_cell}{Dual\+Cell} Ogre\+::\+Volume\+::\+Dual\+Grid\+Generator\+::get\+Dual\+Cell (\begin{DoxyParamCaption}\item[{size\+\_\+t}]{i }\end{DoxyParamCaption}) const\hspace{0.3cm}{\ttfamily [inline]}}



Gets a dual cell. 


\begin{DoxyParams}{Parameters}
{\em i} & The index of the wanted dual cell. \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
The dual cell. 
\end{DoxyReturn}


The documentation for this class was generated from the following file\+:\begin{DoxyCompactItemize}
\item 
\hyperlink{_ogre_volume_dual_grid_generator_8h}{Ogre\+Volume\+Dual\+Grid\+Generator.\+h}\end{DoxyCompactItemize}
