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


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}
\doxysubsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
\mbox{\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 \mbox{\hyperlink{class_ogre_1_1_volume_1_1_dual_grid_generator_a5a03ad87197adde6425628e45da8650a}{generate\+Dual\+Grid}} (const \mbox{\hyperlink{class_ogre_1_1_volume_1_1_octree_node}{Octree\+Node}} $\ast$root, \mbox{\hyperlink{class_ogre_1_1_volume_1_1_iso_surface}{Iso\+Surface}} $\ast$is, \mbox{\hyperlink{class_ogre_1_1_volume_1_1_mesh_builder}{Mesh\+Builder}} $\ast$mb, \mbox{\hyperlink{namespace_ogre_aa3a7b6dfb905e6572d62f0dfa3d4274d}{Real}} max\+M\+S\+Distance, const \mbox{\hyperlink{namespace_ogre_ac94fc4008c1165dea017263fee56b273}{Vector3}} \&total\+From, const \mbox{\hyperlink{namespace_ogre_ac94fc4008c1165dea017263fee56b273}{Vector3}} \&total\+To, bool save\+Dual\+Cells)
\begin{DoxyCompactList}\small\item\em Generates the dualgrid of the given octree root node. \end{DoxyCompactList}\item 
\mbox{\hyperlink{struct_ogre_1_1_volume_1_1_dual_cell}{Dual\+Cell}} \mbox{\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 \mbox{\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 
\mbox{\hyperlink{class_ogre_1_1_entity}{Entity}} $\ast$ \mbox{\hyperlink{class_ogre_1_1_volume_1_1_dual_grid_generator_a9b386d4dc87a1e7b4800ff4bd87bd6f2}{get\+Dual\+Grid}} (\mbox{\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}


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

\doxysubsection{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::DualGridGenerator@{Ogre::Volume::DualGridGenerator}!DualGridGenerator@{DualGridGenerator}}
\index{DualGridGenerator@{DualGridGenerator}!Ogre::Volume::DualGridGenerator@{Ogre::Volume::DualGridGenerator}}
\doxysubsubsection{\texorpdfstring{DualGridGenerator()}{DualGridGenerator()}}
{\footnotesize\ttfamily Ogre\+::\+Volume\+::\+Dual\+Grid\+Generator\+::\+Dual\+Grid\+Generator (\begin{DoxyParamCaption}\item[{void}]{ }\end{DoxyParamCaption})}



Constructor. 



\doxysubsection{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::DualGridGenerator@{Ogre::Volume::DualGridGenerator}!generateDualGrid@{generateDualGrid}}
\index{generateDualGrid@{generateDualGrid}!Ogre::Volume::DualGridGenerator@{Ogre::Volume::DualGridGenerator}}
\doxysubsubsection{\texorpdfstring{generateDualGrid()}{generateDualGrid()}}
{\footnotesize\ttfamily void Ogre\+::\+Volume\+::\+Dual\+Grid\+Generator\+::generate\+Dual\+Grid (\begin{DoxyParamCaption}\item[{const \mbox{\hyperlink{class_ogre_1_1_volume_1_1_octree_node}{Octree\+Node}} $\ast$}]{root,  }\item[{\mbox{\hyperlink{class_ogre_1_1_volume_1_1_iso_surface}{Iso\+Surface}} $\ast$}]{is,  }\item[{\mbox{\hyperlink{class_ogre_1_1_volume_1_1_mesh_builder}{Mesh\+Builder}} $\ast$}]{mb,  }\item[{\mbox{\hyperlink{namespace_ogre_aa3a7b6dfb905e6572d62f0dfa3d4274d}{Real}}}]{max\+M\+S\+Distance,  }\item[{const \mbox{\hyperlink{namespace_ogre_ac94fc4008c1165dea017263fee56b273}{Vector3}} \&}]{total\+From,  }\item[{const \mbox{\hyperlink{namespace_ogre_ac94fc4008c1165dea017263fee56b273}{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::DualGridGenerator@{Ogre::Volume::DualGridGenerator}!getDualGrid@{getDualGrid}}
\index{getDualGrid@{getDualGrid}!Ogre::Volume::DualGridGenerator@{Ogre::Volume::DualGridGenerator}}
\doxysubsubsection{\texorpdfstring{getDualGrid()}{getDualGrid()}}
{\footnotesize\ttfamily \mbox{\hyperlink{class_ogre_1_1_entity}{Entity}}$\ast$ Ogre\+::\+Volume\+::\+Dual\+Grid\+Generator\+::get\+Dual\+Grid (\begin{DoxyParamCaption}\item[{\mbox{\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::DualGridGenerator@{Ogre::Volume::DualGridGenerator}!getDualCellCount@{getDualCellCount}}
\index{getDualCellCount@{getDualCellCount}!Ogre::Volume::DualGridGenerator@{Ogre::Volume::DualGridGenerator}}
\doxysubsubsection{\texorpdfstring{getDualCellCount()}{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::DualGridGenerator@{Ogre::Volume::DualGridGenerator}!getDualCell@{getDualCell}}
\index{getDualCell@{getDualCell}!Ogre::Volume::DualGridGenerator@{Ogre::Volume::DualGridGenerator}}
\doxysubsubsection{\texorpdfstring{getDualCell()}{getDualCell()}}
{\footnotesize\ttfamily \mbox{\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 
\mbox{\hyperlink{_ogre_volume_dual_grid_generator_8h}{Ogre\+Volume\+Dual\+Grid\+Generator.\+h}}\end{DoxyCompactItemize}
