\hypertarget{class_ogre_1_1_volume_1_1_c_s_g_negate_source}{}\section{Ogre\+:\+:Volume\+:\+:C\+S\+G\+Negate\+Source Class Reference}
\label{class_ogre_1_1_volume_1_1_c_s_g_negate_source}\index{Ogre\+::\+Volume\+::\+C\+S\+G\+Negate\+Source@{Ogre\+::\+Volume\+::\+C\+S\+G\+Negate\+Source}}


Negates the given volume.  




{\ttfamily \#include $<$Ogre\+Volume\+C\+S\+G\+Source.\+h$>$}



Inheritance diagram for Ogre\+:\+:Volume\+:\+:C\+S\+G\+Negate\+Source\+:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=257pt]{class_ogre_1_1_volume_1_1_c_s_g_negate_source__inherit__graph}
\end{center}
\end{figure}
\subsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
\hyperlink{class_ogre_1_1_volume_1_1_c_s_g_negate_source_ad31af55109f8bb24ae4dda2cafd0a4d0}{C\+S\+G\+Negate\+Source} (const \hyperlink{class_ogre_1_1_volume_1_1_source}{Source} $\ast$src)
\begin{DoxyCompactList}\small\item\em Constructor. \end{DoxyCompactList}\item 
\hyperlink{class_ogre_1_1_volume_1_1_c_s_g_negate_source_a9fcd1436e51d8f084b38e539a8f24a8c}{C\+S\+G\+Negate\+Source} (void)
\begin{DoxyCompactList}\small\item\em Constructor. \end{DoxyCompactList}\item 
bool \hyperlink{class_ogre_1_1_volume_1_1_source_a3f107f5949b7e9de9bd713f3a21f655a}{get\+First\+Ray\+Intersection} (const \hyperlink{class_ogre_1_1_ray}{Ray} \&ray, \hyperlink{class_ogre_1_1_vector3}{Vector3} \&result, \hyperlink{namespace_ogre_aa3a7b6dfb905e6572d62f0dfa3d4274d}{Real} scale=(\hyperlink{namespace_ogre_aa3a7b6dfb905e6572d62f0dfa3d4274d}{Real}) 1.\+0, size\+\_\+t max\+Iterations=5000, \hyperlink{namespace_ogre_aa3a7b6dfb905e6572d62f0dfa3d4274d}{Real} max\+Distance=(\hyperlink{namespace_ogre_aa3a7b6dfb905e6572d62f0dfa3d4274d}{Real}) 10000.\+0) const
\begin{DoxyCompactList}\small\item\em Gets the first intersection of a ray with the volume. \end{DoxyCompactList}\item 
virtual const \hyperlink{class_ogre_1_1_volume_1_1_source}{Source} $\ast$ \hyperlink{class_ogre_1_1_volume_1_1_c_s_g_unary_source_a987c15683039028dcb3cda8285026846}{get\+Source} (void) const
\begin{DoxyCompactList}\small\item\em Gets the source. \end{DoxyCompactList}\item 
virtual \hyperlink{namespace_ogre_aa3a7b6dfb905e6572d62f0dfa3d4274d}{Real} \hyperlink{class_ogre_1_1_volume_1_1_c_s_g_negate_source_a58ff8177c2d7f0096cda7a82e7db8129}{get\+Value} (const \hyperlink{class_ogre_1_1_vector3}{Vector3} \&position) const
\begin{DoxyCompactList}\small\item\em Overridden from \hyperlink{class_ogre_1_1_volume_1_1_source}{Source}. \end{DoxyCompactList}\item 
virtual \hyperlink{class_ogre_1_1_vector4}{Vector4} \hyperlink{class_ogre_1_1_volume_1_1_c_s_g_negate_source_ac3a6a67403f36ace227e841a92d9b286}{get\+Value\+And\+Gradient} (const \hyperlink{class_ogre_1_1_vector3}{Vector3} \&position) const
\begin{DoxyCompactList}\small\item\em Overridden from \hyperlink{class_ogre_1_1_volume_1_1_source}{Source}. \end{DoxyCompactList}\item 
\hyperlink{namespace_ogre_aa3a7b6dfb905e6572d62f0dfa3d4274d}{Real} \hyperlink{class_ogre_1_1_volume_1_1_source_af12b8b530ff766badebce1e43f401e75}{get\+Volume\+Space\+To\+World\+Space\+Factor} (void) const
\begin{DoxyCompactList}\small\item\em Gets a factor to come from volume coordinate to world coordinate. \end{DoxyCompactList}\item 
void \hyperlink{class_ogre_1_1_volume_1_1_source_a6c7d66b981f8390cf697250c378f9564}{serialize} (const \hyperlink{class_ogre_1_1_vector3}{Vector3} \&from, const \hyperlink{class_ogre_1_1_vector3}{Vector3} \&to, float voxel\+Width, const \hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String} \&file)
\begin{DoxyCompactList}\small\item\em Serializes a volume source to a discrete grid file with deflated compression. \end{DoxyCompactList}\item 
void \hyperlink{class_ogre_1_1_volume_1_1_source_ac02c21de1fef47cb5877657dcb4c6b8d}{serialize} (const \hyperlink{class_ogre_1_1_vector3}{Vector3} \&from, const \hyperlink{class_ogre_1_1_vector3}{Vector3} \&to, float voxel\+Width, \hyperlink{namespace_ogre_aa3a7b6dfb905e6572d62f0dfa3d4274d}{Real} max\+Clamped\+Absolute\+Density, const \hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String} \&file)
\begin{DoxyCompactList}\small\item\em Same as the other serialize function but with a user definable maximum absolute density value. \end{DoxyCompactList}\item 
virtual void \hyperlink{class_ogre_1_1_volume_1_1_c_s_g_unary_source_a6d9e9b235c107413c2025d2a72dd0494}{set\+Source} (\hyperlink{class_ogre_1_1_volume_1_1_source}{Source} $\ast$a)
\begin{DoxyCompactList}\small\item\em Sets the source. \end{DoxyCompactList}\end{DoxyCompactItemize}
\subsection*{Static Public Attributes}
\begin{DoxyCompactItemize}
\item 
static const size\+\_\+t \hyperlink{class_ogre_1_1_volume_1_1_source_aba96b1aef0b798535549600b9563560b}{S\+E\+R\+I\+A\+L\+I\+Z\+A\+T\+I\+O\+N\+\_\+\+C\+H\+U\+N\+K\+\_\+\+S\+I\+ZE}
\begin{DoxyCompactList}\small\item\em The amount of items being written as one chunk during serialization. \end{DoxyCompactList}\item 
static const \hyperlink{namespace_ogre_adf2a0cf2e77143b5ee1d38a75e289545}{uint32} \hyperlink{class_ogre_1_1_volume_1_1_source_acc0c020bce454d4efe7afc63ebacb372}{V\+O\+L\+U\+M\+E\+\_\+\+C\+H\+U\+N\+K\+\_\+\+ID}
\begin{DoxyCompactList}\small\item\em The id of volume files. \end{DoxyCompactList}\item 
static const \hyperlink{namespace_ogre_aa8263b218e7d187ad5ef03a73a6ad7fd}{uint16} \hyperlink{class_ogre_1_1_volume_1_1_source_a348e2692fb3b2b65223b1331a42e91dd}{V\+O\+L\+U\+M\+E\+\_\+\+C\+H\+U\+N\+K\+\_\+\+V\+E\+R\+S\+I\+ON}
\begin{DoxyCompactList}\small\item\em The version of volume files. \end{DoxyCompactList}\end{DoxyCompactItemize}


\subsection{Detailed Description}
Negates the given volume. 

\subsection{Constructor \& Destructor Documentation}
\mbox{\Hypertarget{class_ogre_1_1_volume_1_1_c_s_g_negate_source_ad31af55109f8bb24ae4dda2cafd0a4d0}\label{class_ogre_1_1_volume_1_1_c_s_g_negate_source_ad31af55109f8bb24ae4dda2cafd0a4d0}} 
\index{Ogre\+::\+Volume\+::\+C\+S\+G\+Negate\+Source@{Ogre\+::\+Volume\+::\+C\+S\+G\+Negate\+Source}!C\+S\+G\+Negate\+Source@{C\+S\+G\+Negate\+Source}}
\index{C\+S\+G\+Negate\+Source@{C\+S\+G\+Negate\+Source}!Ogre\+::\+Volume\+::\+C\+S\+G\+Negate\+Source@{Ogre\+::\+Volume\+::\+C\+S\+G\+Negate\+Source}}
\subsubsection{\texorpdfstring{C\+S\+G\+Negate\+Source()}{CSGNegateSource()}\hspace{0.1cm}{\footnotesize\ttfamily [1/2]}}
{\footnotesize\ttfamily Ogre\+::\+Volume\+::\+C\+S\+G\+Negate\+Source\+::\+C\+S\+G\+Negate\+Source (\begin{DoxyParamCaption}\item[{const \hyperlink{class_ogre_1_1_volume_1_1_source}{Source} $\ast$}]{src }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [explicit]}}



Constructor. 


\begin{DoxyParams}{Parameters}
{\em src} & The source to negate. \\
\hline
\end{DoxyParams}
\mbox{\Hypertarget{class_ogre_1_1_volume_1_1_c_s_g_negate_source_a9fcd1436e51d8f084b38e539a8f24a8c}\label{class_ogre_1_1_volume_1_1_c_s_g_negate_source_a9fcd1436e51d8f084b38e539a8f24a8c}} 
\index{Ogre\+::\+Volume\+::\+C\+S\+G\+Negate\+Source@{Ogre\+::\+Volume\+::\+C\+S\+G\+Negate\+Source}!C\+S\+G\+Negate\+Source@{C\+S\+G\+Negate\+Source}}
\index{C\+S\+G\+Negate\+Source@{C\+S\+G\+Negate\+Source}!Ogre\+::\+Volume\+::\+C\+S\+G\+Negate\+Source@{Ogre\+::\+Volume\+::\+C\+S\+G\+Negate\+Source}}
\subsubsection{\texorpdfstring{C\+S\+G\+Negate\+Source()}{CSGNegateSource()}\hspace{0.1cm}{\footnotesize\ttfamily [2/2]}}
{\footnotesize\ttfamily Ogre\+::\+Volume\+::\+C\+S\+G\+Negate\+Source\+::\+C\+S\+G\+Negate\+Source (\begin{DoxyParamCaption}\item[{void}]{ }\end{DoxyParamCaption})}



Constructor. 

Sets the source to null. 

\subsection{Member Function Documentation}
\mbox{\Hypertarget{class_ogre_1_1_volume_1_1_c_s_g_negate_source_ac3a6a67403f36ace227e841a92d9b286}\label{class_ogre_1_1_volume_1_1_c_s_g_negate_source_ac3a6a67403f36ace227e841a92d9b286}} 
\index{Ogre\+::\+Volume\+::\+C\+S\+G\+Negate\+Source@{Ogre\+::\+Volume\+::\+C\+S\+G\+Negate\+Source}!get\+Value\+And\+Gradient@{get\+Value\+And\+Gradient}}
\index{get\+Value\+And\+Gradient@{get\+Value\+And\+Gradient}!Ogre\+::\+Volume\+::\+C\+S\+G\+Negate\+Source@{Ogre\+::\+Volume\+::\+C\+S\+G\+Negate\+Source}}
\subsubsection{\texorpdfstring{get\+Value\+And\+Gradient()}{getValueAndGradient()}}
{\footnotesize\ttfamily virtual \hyperlink{class_ogre_1_1_vector4}{Vector4} Ogre\+::\+Volume\+::\+C\+S\+G\+Negate\+Source\+::get\+Value\+And\+Gradient (\begin{DoxyParamCaption}\item[{const \hyperlink{class_ogre_1_1_vector3}{Vector3} \&}]{position }\end{DoxyParamCaption}) const\hspace{0.3cm}{\ttfamily [virtual]}}



Overridden from \hyperlink{class_ogre_1_1_volume_1_1_source}{Source}. 



Implements \hyperlink{class_ogre_1_1_volume_1_1_source_a63ffbcaa54a0d18f67145cca042c5788}{Ogre\+::\+Volume\+::\+Source}.

\mbox{\Hypertarget{class_ogre_1_1_volume_1_1_c_s_g_negate_source_a58ff8177c2d7f0096cda7a82e7db8129}\label{class_ogre_1_1_volume_1_1_c_s_g_negate_source_a58ff8177c2d7f0096cda7a82e7db8129}} 
\index{Ogre\+::\+Volume\+::\+C\+S\+G\+Negate\+Source@{Ogre\+::\+Volume\+::\+C\+S\+G\+Negate\+Source}!get\+Value@{get\+Value}}
\index{get\+Value@{get\+Value}!Ogre\+::\+Volume\+::\+C\+S\+G\+Negate\+Source@{Ogre\+::\+Volume\+::\+C\+S\+G\+Negate\+Source}}
\subsubsection{\texorpdfstring{get\+Value()}{getValue()}}
{\footnotesize\ttfamily virtual \hyperlink{namespace_ogre_aa3a7b6dfb905e6572d62f0dfa3d4274d}{Real} Ogre\+::\+Volume\+::\+C\+S\+G\+Negate\+Source\+::get\+Value (\begin{DoxyParamCaption}\item[{const \hyperlink{class_ogre_1_1_vector3}{Vector3} \&}]{position }\end{DoxyParamCaption}) const\hspace{0.3cm}{\ttfamily [virtual]}}



Overridden from \hyperlink{class_ogre_1_1_volume_1_1_source}{Source}. 



Implements \hyperlink{class_ogre_1_1_volume_1_1_source_a0ba42c881a073142bdc67e93f7d771a6}{Ogre\+::\+Volume\+::\+Source}.

\mbox{\Hypertarget{class_ogre_1_1_volume_1_1_c_s_g_unary_source_a987c15683039028dcb3cda8285026846}\label{class_ogre_1_1_volume_1_1_c_s_g_unary_source_a987c15683039028dcb3cda8285026846}} 
\index{Ogre\+::\+Volume\+::\+C\+S\+G\+Negate\+Source@{Ogre\+::\+Volume\+::\+C\+S\+G\+Negate\+Source}!get\+Source@{get\+Source}}
\index{get\+Source@{get\+Source}!Ogre\+::\+Volume\+::\+C\+S\+G\+Negate\+Source@{Ogre\+::\+Volume\+::\+C\+S\+G\+Negate\+Source}}
\subsubsection{\texorpdfstring{get\+Source()}{getSource()}}
{\footnotesize\ttfamily virtual const \hyperlink{class_ogre_1_1_volume_1_1_source}{Source}$\ast$ Ogre\+::\+Volume\+::\+C\+S\+G\+Unary\+Source\+::get\+Source (\begin{DoxyParamCaption}\item[{void}]{ }\end{DoxyParamCaption}) const\hspace{0.3cm}{\ttfamily [virtual]}, {\ttfamily [inherited]}}



Gets the source. 

\begin{DoxyReturn}{Returns}
The source. 
\end{DoxyReturn}
\mbox{\Hypertarget{class_ogre_1_1_volume_1_1_c_s_g_unary_source_a6d9e9b235c107413c2025d2a72dd0494}\label{class_ogre_1_1_volume_1_1_c_s_g_unary_source_a6d9e9b235c107413c2025d2a72dd0494}} 
\index{Ogre\+::\+Volume\+::\+C\+S\+G\+Negate\+Source@{Ogre\+::\+Volume\+::\+C\+S\+G\+Negate\+Source}!set\+Source@{set\+Source}}
\index{set\+Source@{set\+Source}!Ogre\+::\+Volume\+::\+C\+S\+G\+Negate\+Source@{Ogre\+::\+Volume\+::\+C\+S\+G\+Negate\+Source}}
\subsubsection{\texorpdfstring{set\+Source()}{setSource()}}
{\footnotesize\ttfamily virtual void Ogre\+::\+Volume\+::\+C\+S\+G\+Unary\+Source\+::set\+Source (\begin{DoxyParamCaption}\item[{\hyperlink{class_ogre_1_1_volume_1_1_source}{Source} $\ast$}]{a }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [virtual]}, {\ttfamily [inherited]}}



Sets the source. 


\begin{DoxyParams}{Parameters}
{\em a} & The source. \\
\hline
\end{DoxyParams}
\mbox{\Hypertarget{class_ogre_1_1_volume_1_1_source_a6c7d66b981f8390cf697250c378f9564}\label{class_ogre_1_1_volume_1_1_source_a6c7d66b981f8390cf697250c378f9564}} 
\index{Ogre\+::\+Volume\+::\+C\+S\+G\+Negate\+Source@{Ogre\+::\+Volume\+::\+C\+S\+G\+Negate\+Source}!serialize@{serialize}}
\index{serialize@{serialize}!Ogre\+::\+Volume\+::\+C\+S\+G\+Negate\+Source@{Ogre\+::\+Volume\+::\+C\+S\+G\+Negate\+Source}}
\subsubsection{\texorpdfstring{serialize()}{serialize()}\hspace{0.1cm}{\footnotesize\ttfamily [1/2]}}
{\footnotesize\ttfamily void Ogre\+::\+Volume\+::\+Source\+::serialize (\begin{DoxyParamCaption}\item[{const \hyperlink{class_ogre_1_1_vector3}{Vector3} \&}]{from,  }\item[{const \hyperlink{class_ogre_1_1_vector3}{Vector3} \&}]{to,  }\item[{float}]{voxel\+Width,  }\item[{const \hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String} \&}]{file }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inherited]}}



Serializes a volume source to a discrete grid file with deflated compression. 

To achieve better compression, all density values are clamped within a maximum absolute value of (to -\/ from).length() / 16.\+0. The values are scanned in this inner-\/loop-\/order\+: z, x, y. y last because there is usually the least isosurface intersection to be expected in the use case of terrain and so more often the maximum density value hit. The values are written as 16 Bit floats to save space. Note that this process is not lossless, the tradeoff is between accuracy of the source-\/reproduction (smaller voxel\+Width) and smaller filesize (bigger voxel\+Width). 
\begin{DoxyParams}{Parameters}
{\em from} & The start point to scan the volume. \\
\hline
{\em to} & The end point to scan the volume. \\
\hline
{\em voxel\+Width} & The width of a single cube in the density grid. \\
\hline
{\em file} & The file to write the grid to. \\
\hline
\end{DoxyParams}
\mbox{\Hypertarget{class_ogre_1_1_volume_1_1_source_ac02c21de1fef47cb5877657dcb4c6b8d}\label{class_ogre_1_1_volume_1_1_source_ac02c21de1fef47cb5877657dcb4c6b8d}} 
\index{Ogre\+::\+Volume\+::\+C\+S\+G\+Negate\+Source@{Ogre\+::\+Volume\+::\+C\+S\+G\+Negate\+Source}!serialize@{serialize}}
\index{serialize@{serialize}!Ogre\+::\+Volume\+::\+C\+S\+G\+Negate\+Source@{Ogre\+::\+Volume\+::\+C\+S\+G\+Negate\+Source}}
\subsubsection{\texorpdfstring{serialize()}{serialize()}\hspace{0.1cm}{\footnotesize\ttfamily [2/2]}}
{\footnotesize\ttfamily void Ogre\+::\+Volume\+::\+Source\+::serialize (\begin{DoxyParamCaption}\item[{const \hyperlink{class_ogre_1_1_vector3}{Vector3} \&}]{from,  }\item[{const \hyperlink{class_ogre_1_1_vector3}{Vector3} \&}]{to,  }\item[{float}]{voxel\+Width,  }\item[{\hyperlink{namespace_ogre_aa3a7b6dfb905e6572d62f0dfa3d4274d}{Real}}]{max\+Clamped\+Absolute\+Density,  }\item[{const \hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String} \&}]{file }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inherited]}}



Same as the other serialize function but with a user definable maximum absolute density value. 


\begin{DoxyParams}{Parameters}
{\em from} & The start point to scan the volume. \\
\hline
{\em to} & The end point to scan the volume. \\
\hline
{\em voxel\+Width} & The width of a single cube in the density grid. \\
\hline
{\em max\+Clamped\+Absolute\+Density} & The maximum absolute density value to be written into the file, influencing the compression rate. \\
\hline
{\em file} & The file to write the grid to. \\
\hline
\end{DoxyParams}
\mbox{\Hypertarget{class_ogre_1_1_volume_1_1_source_a3f107f5949b7e9de9bd713f3a21f655a}\label{class_ogre_1_1_volume_1_1_source_a3f107f5949b7e9de9bd713f3a21f655a}} 
\index{Ogre\+::\+Volume\+::\+C\+S\+G\+Negate\+Source@{Ogre\+::\+Volume\+::\+C\+S\+G\+Negate\+Source}!get\+First\+Ray\+Intersection@{get\+First\+Ray\+Intersection}}
\index{get\+First\+Ray\+Intersection@{get\+First\+Ray\+Intersection}!Ogre\+::\+Volume\+::\+C\+S\+G\+Negate\+Source@{Ogre\+::\+Volume\+::\+C\+S\+G\+Negate\+Source}}
\subsubsection{\texorpdfstring{get\+First\+Ray\+Intersection()}{getFirstRayIntersection()}}
{\footnotesize\ttfamily bool Ogre\+::\+Volume\+::\+Source\+::get\+First\+Ray\+Intersection (\begin{DoxyParamCaption}\item[{const \hyperlink{class_ogre_1_1_ray}{Ray} \&}]{ray,  }\item[{\hyperlink{class_ogre_1_1_vector3}{Vector3} \&}]{result,  }\item[{\hyperlink{namespace_ogre_aa3a7b6dfb905e6572d62f0dfa3d4274d}{Real}}]{scale = {\ttfamily (\hyperlink{namespace_ogre_aa3a7b6dfb905e6572d62f0dfa3d4274d}{Real})~1.0},  }\item[{size\+\_\+t}]{max\+Iterations = {\ttfamily 5000},  }\item[{\hyperlink{namespace_ogre_aa3a7b6dfb905e6572d62f0dfa3d4274d}{Real}}]{max\+Distance = {\ttfamily (\hyperlink{namespace_ogre_aa3a7b6dfb905e6572d62f0dfa3d4274d}{Real})~10000.0} }\end{DoxyParamCaption}) const\hspace{0.3cm}{\ttfamily [inherited]}}



Gets the first intersection of a ray with the volume. 

If you are using this together with the Volume\+Chunk\+: Beware of the possible scaling or other transformations you did on the Chunk! Do the inverse first on the ray origin. Example of a scaling with the factor 10\+: ray.\+set\+Origin(ray.\+get\+Origin() / (Real)10.\+0); 
\begin{DoxyParams}{Parameters}
{\em ray} & The ray. \\
\hline
{\em result} & Will hold the intersection point if there is an intersection. \\
\hline
{\em scale} & The scaling of the volume compared to the world. \\
\hline
{\em max\+Iterations} & The maximum amount of iterations on the ray before giving up. \\
\hline
{\em max\+Distance} & The maximum distance of the intersection point. \\
\hline
\end{DoxyParams}
\mbox{\Hypertarget{class_ogre_1_1_volume_1_1_source_af12b8b530ff766badebce1e43f401e75}\label{class_ogre_1_1_volume_1_1_source_af12b8b530ff766badebce1e43f401e75}} 
\index{Ogre\+::\+Volume\+::\+C\+S\+G\+Negate\+Source@{Ogre\+::\+Volume\+::\+C\+S\+G\+Negate\+Source}!get\+Volume\+Space\+To\+World\+Space\+Factor@{get\+Volume\+Space\+To\+World\+Space\+Factor}}
\index{get\+Volume\+Space\+To\+World\+Space\+Factor@{get\+Volume\+Space\+To\+World\+Space\+Factor}!Ogre\+::\+Volume\+::\+C\+S\+G\+Negate\+Source@{Ogre\+::\+Volume\+::\+C\+S\+G\+Negate\+Source}}
\subsubsection{\texorpdfstring{get\+Volume\+Space\+To\+World\+Space\+Factor()}{getVolumeSpaceToWorldSpaceFactor()}}
{\footnotesize\ttfamily \hyperlink{namespace_ogre_aa3a7b6dfb905e6572d62f0dfa3d4274d}{Real} Ogre\+::\+Volume\+::\+Source\+::get\+Volume\+Space\+To\+World\+Space\+Factor (\begin{DoxyParamCaption}\item[{void}]{ }\end{DoxyParamCaption}) const\hspace{0.3cm}{\ttfamily [inherited]}}



Gets a factor to come from volume coordinate to world coordinate. 

\begin{DoxyReturn}{Returns}
The factor, 1.\+0 in the default implementation. 
\end{DoxyReturn}


\subsection{Member Data Documentation}
\mbox{\Hypertarget{class_ogre_1_1_volume_1_1_source_acc0c020bce454d4efe7afc63ebacb372}\label{class_ogre_1_1_volume_1_1_source_acc0c020bce454d4efe7afc63ebacb372}} 
\index{Ogre\+::\+Volume\+::\+C\+S\+G\+Negate\+Source@{Ogre\+::\+Volume\+::\+C\+S\+G\+Negate\+Source}!V\+O\+L\+U\+M\+E\+\_\+\+C\+H\+U\+N\+K\+\_\+\+ID@{V\+O\+L\+U\+M\+E\+\_\+\+C\+H\+U\+N\+K\+\_\+\+ID}}
\index{V\+O\+L\+U\+M\+E\+\_\+\+C\+H\+U\+N\+K\+\_\+\+ID@{V\+O\+L\+U\+M\+E\+\_\+\+C\+H\+U\+N\+K\+\_\+\+ID}!Ogre\+::\+Volume\+::\+C\+S\+G\+Negate\+Source@{Ogre\+::\+Volume\+::\+C\+S\+G\+Negate\+Source}}
\subsubsection{\texorpdfstring{V\+O\+L\+U\+M\+E\+\_\+\+C\+H\+U\+N\+K\+\_\+\+ID}{VOLUME\_CHUNK\_ID}}
{\footnotesize\ttfamily const \hyperlink{namespace_ogre_adf2a0cf2e77143b5ee1d38a75e289545}{uint32} Ogre\+::\+Volume\+::\+Source\+::\+V\+O\+L\+U\+M\+E\+\_\+\+C\+H\+U\+N\+K\+\_\+\+ID\hspace{0.3cm}{\ttfamily [static]}, {\ttfamily [inherited]}}



The id of volume files. 

\mbox{\Hypertarget{class_ogre_1_1_volume_1_1_source_a348e2692fb3b2b65223b1331a42e91dd}\label{class_ogre_1_1_volume_1_1_source_a348e2692fb3b2b65223b1331a42e91dd}} 
\index{Ogre\+::\+Volume\+::\+C\+S\+G\+Negate\+Source@{Ogre\+::\+Volume\+::\+C\+S\+G\+Negate\+Source}!V\+O\+L\+U\+M\+E\+\_\+\+C\+H\+U\+N\+K\+\_\+\+V\+E\+R\+S\+I\+ON@{V\+O\+L\+U\+M\+E\+\_\+\+C\+H\+U\+N\+K\+\_\+\+V\+E\+R\+S\+I\+ON}}
\index{V\+O\+L\+U\+M\+E\+\_\+\+C\+H\+U\+N\+K\+\_\+\+V\+E\+R\+S\+I\+ON@{V\+O\+L\+U\+M\+E\+\_\+\+C\+H\+U\+N\+K\+\_\+\+V\+E\+R\+S\+I\+ON}!Ogre\+::\+Volume\+::\+C\+S\+G\+Negate\+Source@{Ogre\+::\+Volume\+::\+C\+S\+G\+Negate\+Source}}
\subsubsection{\texorpdfstring{V\+O\+L\+U\+M\+E\+\_\+\+C\+H\+U\+N\+K\+\_\+\+V\+E\+R\+S\+I\+ON}{VOLUME\_CHUNK\_VERSION}}
{\footnotesize\ttfamily const \hyperlink{namespace_ogre_aa8263b218e7d187ad5ef03a73a6ad7fd}{uint16} Ogre\+::\+Volume\+::\+Source\+::\+V\+O\+L\+U\+M\+E\+\_\+\+C\+H\+U\+N\+K\+\_\+\+V\+E\+R\+S\+I\+ON\hspace{0.3cm}{\ttfamily [static]}, {\ttfamily [inherited]}}



The version of volume files. 

\mbox{\Hypertarget{class_ogre_1_1_volume_1_1_source_aba96b1aef0b798535549600b9563560b}\label{class_ogre_1_1_volume_1_1_source_aba96b1aef0b798535549600b9563560b}} 
\index{Ogre\+::\+Volume\+::\+C\+S\+G\+Negate\+Source@{Ogre\+::\+Volume\+::\+C\+S\+G\+Negate\+Source}!S\+E\+R\+I\+A\+L\+I\+Z\+A\+T\+I\+O\+N\+\_\+\+C\+H\+U\+N\+K\+\_\+\+S\+I\+ZE@{S\+E\+R\+I\+A\+L\+I\+Z\+A\+T\+I\+O\+N\+\_\+\+C\+H\+U\+N\+K\+\_\+\+S\+I\+ZE}}
\index{S\+E\+R\+I\+A\+L\+I\+Z\+A\+T\+I\+O\+N\+\_\+\+C\+H\+U\+N\+K\+\_\+\+S\+I\+ZE@{S\+E\+R\+I\+A\+L\+I\+Z\+A\+T\+I\+O\+N\+\_\+\+C\+H\+U\+N\+K\+\_\+\+S\+I\+ZE}!Ogre\+::\+Volume\+::\+C\+S\+G\+Negate\+Source@{Ogre\+::\+Volume\+::\+C\+S\+G\+Negate\+Source}}
\subsubsection{\texorpdfstring{S\+E\+R\+I\+A\+L\+I\+Z\+A\+T\+I\+O\+N\+\_\+\+C\+H\+U\+N\+K\+\_\+\+S\+I\+ZE}{SERIALIZATION\_CHUNK\_SIZE}}
{\footnotesize\ttfamily const size\+\_\+t Ogre\+::\+Volume\+::\+Source\+::\+S\+E\+R\+I\+A\+L\+I\+Z\+A\+T\+I\+O\+N\+\_\+\+C\+H\+U\+N\+K\+\_\+\+S\+I\+ZE\hspace{0.3cm}{\ttfamily [static]}, {\ttfamily [inherited]}}



The amount of items being written as one chunk during serialization. 



The documentation for this class was generated from the following file\+:\begin{DoxyCompactItemize}
\item 
\hyperlink{_ogre_volume_c_s_g_source_8h}{Ogre\+Volume\+C\+S\+G\+Source.\+h}\end{DoxyCompactItemize}
