\hypertarget{class_ogre_1_1_scene_query}{}\section{Ogre\+:\+:Scene\+Query Class Reference}
\label{class_ogre_1_1_scene_query}\index{Ogre\+::\+Scene\+Query@{Ogre\+::\+Scene\+Query}}


A class for performing queries on a scene.  




{\ttfamily \#include $<$Ogre\+Scene\+Query.\+h$>$}



Inheritance diagram for Ogre\+:\+:Scene\+Query\+:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=350pt]{class_ogre_1_1_scene_query__inherit__graph}
\end{center}
\end{figure}
\subsection*{Classes}
\begin{DoxyCompactItemize}
\item 
struct \hyperlink{struct_ogre_1_1_scene_query_1_1_world_fragment}{World\+Fragment}
\begin{DoxyCompactList}\small\item\em Represents part of the world geometry that is a result of a \hyperlink{class_ogre_1_1_scene_query}{Scene\+Query}. \end{DoxyCompactList}\end{DoxyCompactItemize}
\subsection*{Public Types}
\begin{DoxyCompactItemize}
\item 
enum \hyperlink{class_ogre_1_1_scene_query_a0a75b5ed976da2f9023382f4c4514b3a}{World\+Fragment\+Type} \{ \newline
\hyperlink{class_ogre_1_1_scene_query_a0a75b5ed976da2f9023382f4c4514b3aa6ed287fab168d451beb369009f0fd03b}{W\+F\+T\+\_\+\+N\+O\+NE}, 
\hyperlink{class_ogre_1_1_scene_query_a0a75b5ed976da2f9023382f4c4514b3aa667bbec7031e58ab244f9efc32056f38}{W\+F\+T\+\_\+\+P\+L\+A\+N\+E\+\_\+\+B\+O\+U\+N\+D\+E\+D\+\_\+\+R\+E\+G\+I\+ON}, 
\hyperlink{class_ogre_1_1_scene_query_a0a75b5ed976da2f9023382f4c4514b3aa018493b6c87271e0c8ba014f058cffd3}{W\+F\+T\+\_\+\+S\+I\+N\+G\+L\+E\+\_\+\+I\+N\+T\+E\+R\+S\+E\+C\+T\+I\+ON}, 
\hyperlink{class_ogre_1_1_scene_query_a0a75b5ed976da2f9023382f4c4514b3aadeefa0cc2dfd1ec783c2a266ea61f925}{W\+F\+T\+\_\+\+C\+U\+S\+T\+O\+M\+\_\+\+G\+E\+O\+M\+E\+T\+RY}, 
\newline
\hyperlink{class_ogre_1_1_scene_query_a0a75b5ed976da2f9023382f4c4514b3aad498944c8c6b81d737c3ceee86881e8d}{W\+F\+T\+\_\+\+R\+E\+N\+D\+E\+R\+\_\+\+O\+P\+E\+R\+A\+T\+I\+ON}
 \}\begin{DoxyCompactList}\small\item\em This type can be used by collaborating applications \& Scene\+Managers to agree on the type of world geometry to be returned from queries. \end{DoxyCompactList}
\end{DoxyCompactItemize}
\subsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
\hyperlink{class_ogre_1_1_scene_query_a672e5a9a95f02100b62cd4a6421525d6}{Scene\+Query} (\hyperlink{class_ogre_1_1_scene_manager}{Scene\+Manager} $\ast$mgr)
\begin{DoxyCompactList}\small\item\em Standard constructor, should be called by \hyperlink{class_ogre_1_1_scene_manager}{Scene\+Manager}. \end{DoxyCompactList}\item 
virtual \hyperlink{class_ogre_1_1_scene_query_a373ec5891d755ecaac409e2de1e5e54e}{$\sim$\+Scene\+Query} ()
\item 
virtual \hyperlink{namespace_ogre_adf2a0cf2e77143b5ee1d38a75e289545}{uint32} \hyperlink{class_ogre_1_1_scene_query_aed7b296e80ea3acebc493842727e8db3}{get\+Query\+Mask} (void) const
\begin{DoxyCompactList}\small\item\em Returns the current mask for this query. \end{DoxyCompactList}\item 
virtual \hyperlink{namespace_ogre_adf2a0cf2e77143b5ee1d38a75e289545}{uint32} \hyperlink{class_ogre_1_1_scene_query_a47fac5b11f62901c14b1bd757ea5c14b}{get\+Query\+Type\+Mask} (void) const
\begin{DoxyCompactList}\small\item\em Returns the current mask for this query. \end{DoxyCompactList}\item 
virtual const std\+::set$<$ \hyperlink{class_ogre_1_1_scene_query_a0a75b5ed976da2f9023382f4c4514b3a}{World\+Fragment\+Type} $>$ $\ast$ \hyperlink{class_ogre_1_1_scene_query_acceb4087f3a6ed148ae92f7e39fd1179}{get\+Supported\+World\+Fragment\+Types} (void) const
\begin{DoxyCompactList}\small\item\em Returns the types of world fragments this query supports. \end{DoxyCompactList}\item 
virtual \hyperlink{class_ogre_1_1_scene_query_a0a75b5ed976da2f9023382f4c4514b3a}{World\+Fragment\+Type} \hyperlink{class_ogre_1_1_scene_query_acffb9330fc3de7109f8274822e362b00}{get\+World\+Fragment\+Type} (void) const
\begin{DoxyCompactList}\small\item\em Gets the current world fragment types to be returned from the query. \end{DoxyCompactList}\item 
virtual void \hyperlink{class_ogre_1_1_scene_query_ad392a7fc0b338e5507540d3183f82cfb}{set\+Query\+Mask} (\hyperlink{namespace_ogre_adf2a0cf2e77143b5ee1d38a75e289545}{uint32} mask)
\begin{DoxyCompactList}\small\item\em Sets the mask for results of this query. \end{DoxyCompactList}\item 
virtual void \hyperlink{class_ogre_1_1_scene_query_abaca8d4d9b59a571e2d8e9a2cac7ce42}{set\+Query\+Type\+Mask} (\hyperlink{namespace_ogre_adf2a0cf2e77143b5ee1d38a75e289545}{uint32} mask)
\begin{DoxyCompactList}\small\item\em Sets the type mask for results of this query. \end{DoxyCompactList}\item 
virtual void \hyperlink{class_ogre_1_1_scene_query_aec3aa0b8b16c41fae990ee78150f8d2a}{set\+World\+Fragment\+Type} (enum \hyperlink{class_ogre_1_1_scene_query_a0a75b5ed976da2f9023382f4c4514b3a}{World\+Fragment\+Type} wft)
\begin{DoxyCompactList}\small\item\em Tells the query what kind of world geometry to return from queries; often the full renderable geometry is not what is needed. \end{DoxyCompactList}\end{DoxyCompactItemize}


\subsection{Detailed Description}
A class for performing queries on a scene. 

\begin{DoxyRemark}{Remarks}
This is an abstract class for performing a query on a scene, i.\+e. to retrieve a list of objects and/or world geometry sections which are potentially intersecting a given region. Note the use of the word \textquotesingle{}potentially\textquotesingle{}\+: the results of a scene query are generated based on bounding volumes, and as such are not correct at a triangle level; the user of the \hyperlink{class_ogre_1_1_scene_query}{Scene\+Query} is expected to filter the results further if greater accuracy is required. 
\end{DoxyRemark}
\begin{DoxyParagraph}{}
Different Scene\+Managers will implement these queries in different ways to exploit their particular scene organisation, and thus will provide their own concrete subclasses. In fact, these subclasses will be derived from subclasses of this class rather than directly because there will be region-\/type classes in between. 
\end{DoxyParagraph}
\begin{DoxyParagraph}{}
These queries could have just been implemented as methods on the \hyperlink{class_ogre_1_1_scene_manager}{Scene\+Manager}, however, they are wrapped up as objects to allow \textquotesingle{}compilation\textquotesingle{} of queries if deemed appropriate by the implementation; i.\+e. each concrete subclass may precalculate information (such as fixed scene partitions involved in the query) to speed up the repeated use of the query. 
\end{DoxyParagraph}
\begin{DoxyParagraph}{}
You should never try to create a \hyperlink{class_ogre_1_1_scene_query}{Scene\+Query} object yourself, they should be created using the \hyperlink{class_ogre_1_1_scene_manager}{Scene\+Manager} interfaces for the type of query required, e.\+g. Scene\+Manager\+::create\+Sphere\+Scene\+Query. 
\end{DoxyParagraph}


\subsection{Member Enumeration Documentation}
\mbox{\Hypertarget{class_ogre_1_1_scene_query_a0a75b5ed976da2f9023382f4c4514b3a}\label{class_ogre_1_1_scene_query_a0a75b5ed976da2f9023382f4c4514b3a}} 
\index{Ogre\+::\+Scene\+Query@{Ogre\+::\+Scene\+Query}!World\+Fragment\+Type@{World\+Fragment\+Type}}
\index{World\+Fragment\+Type@{World\+Fragment\+Type}!Ogre\+::\+Scene\+Query@{Ogre\+::\+Scene\+Query}}
\subsubsection{\texorpdfstring{World\+Fragment\+Type}{WorldFragmentType}}
{\footnotesize\ttfamily enum \hyperlink{class_ogre_1_1_scene_query_a0a75b5ed976da2f9023382f4c4514b3a}{Ogre\+::\+Scene\+Query\+::\+World\+Fragment\+Type}}



This type can be used by collaborating applications \& Scene\+Managers to agree on the type of world geometry to be returned from queries. 

Not all these types will be supported by all Scene\+Managers; once the application has decided which \hyperlink{class_ogre_1_1_scene_manager}{Scene\+Manager} specialisation to use, it is expected that it will know which type of world geometry abstraction is available to it. \begin{DoxyEnumFields}{Enumerator}
\raisebox{\heightof{T}}[0pt][0pt]{\index{W\+F\+T\+\_\+\+N\+O\+NE@{W\+F\+T\+\_\+\+N\+O\+NE}!Ogre\+::\+Scene\+Query@{Ogre\+::\+Scene\+Query}}\index{Ogre\+::\+Scene\+Query@{Ogre\+::\+Scene\+Query}!W\+F\+T\+\_\+\+N\+O\+NE@{W\+F\+T\+\_\+\+N\+O\+NE}}}\mbox{\Hypertarget{class_ogre_1_1_scene_query_a0a75b5ed976da2f9023382f4c4514b3aa6ed287fab168d451beb369009f0fd03b}\label{class_ogre_1_1_scene_query_a0a75b5ed976da2f9023382f4c4514b3aa6ed287fab168d451beb369009f0fd03b}} 
W\+F\+T\+\_\+\+N\+O\+NE&Return no world geometry hits at all. \\
\hline

\raisebox{\heightof{T}}[0pt][0pt]{\index{W\+F\+T\+\_\+\+P\+L\+A\+N\+E\+\_\+\+B\+O\+U\+N\+D\+E\+D\+\_\+\+R\+E\+G\+I\+ON@{W\+F\+T\+\_\+\+P\+L\+A\+N\+E\+\_\+\+B\+O\+U\+N\+D\+E\+D\+\_\+\+R\+E\+G\+I\+ON}!Ogre\+::\+Scene\+Query@{Ogre\+::\+Scene\+Query}}\index{Ogre\+::\+Scene\+Query@{Ogre\+::\+Scene\+Query}!W\+F\+T\+\_\+\+P\+L\+A\+N\+E\+\_\+\+B\+O\+U\+N\+D\+E\+D\+\_\+\+R\+E\+G\+I\+ON@{W\+F\+T\+\_\+\+P\+L\+A\+N\+E\+\_\+\+B\+O\+U\+N\+D\+E\+D\+\_\+\+R\+E\+G\+I\+ON}}}\mbox{\Hypertarget{class_ogre_1_1_scene_query_a0a75b5ed976da2f9023382f4c4514b3aa667bbec7031e58ab244f9efc32056f38}\label{class_ogre_1_1_scene_query_a0a75b5ed976da2f9023382f4c4514b3aa667bbec7031e58ab244f9efc32056f38}} 
W\+F\+T\+\_\+\+P\+L\+A\+N\+E\+\_\+\+B\+O\+U\+N\+D\+E\+D\+\_\+\+R\+E\+G\+I\+ON&Return pointers to convex plane-\/bounded regions. \\
\hline

\raisebox{\heightof{T}}[0pt][0pt]{\index{W\+F\+T\+\_\+\+S\+I\+N\+G\+L\+E\+\_\+\+I\+N\+T\+E\+R\+S\+E\+C\+T\+I\+ON@{W\+F\+T\+\_\+\+S\+I\+N\+G\+L\+E\+\_\+\+I\+N\+T\+E\+R\+S\+E\+C\+T\+I\+ON}!Ogre\+::\+Scene\+Query@{Ogre\+::\+Scene\+Query}}\index{Ogre\+::\+Scene\+Query@{Ogre\+::\+Scene\+Query}!W\+F\+T\+\_\+\+S\+I\+N\+G\+L\+E\+\_\+\+I\+N\+T\+E\+R\+S\+E\+C\+T\+I\+ON@{W\+F\+T\+\_\+\+S\+I\+N\+G\+L\+E\+\_\+\+I\+N\+T\+E\+R\+S\+E\+C\+T\+I\+ON}}}\mbox{\Hypertarget{class_ogre_1_1_scene_query_a0a75b5ed976da2f9023382f4c4514b3aa018493b6c87271e0c8ba014f058cffd3}\label{class_ogre_1_1_scene_query_a0a75b5ed976da2f9023382f4c4514b3aa018493b6c87271e0c8ba014f058cffd3}} 
W\+F\+T\+\_\+\+S\+I\+N\+G\+L\+E\+\_\+\+I\+N\+T\+E\+R\+S\+E\+C\+T\+I\+ON&Return a single intersection point (typically \hyperlink{class_ogre_1_1_ray_scene_query}{Ray\+Scene\+Query} only) \\
\hline

\raisebox{\heightof{T}}[0pt][0pt]{\index{W\+F\+T\+\_\+\+C\+U\+S\+T\+O\+M\+\_\+\+G\+E\+O\+M\+E\+T\+RY@{W\+F\+T\+\_\+\+C\+U\+S\+T\+O\+M\+\_\+\+G\+E\+O\+M\+E\+T\+RY}!Ogre\+::\+Scene\+Query@{Ogre\+::\+Scene\+Query}}\index{Ogre\+::\+Scene\+Query@{Ogre\+::\+Scene\+Query}!W\+F\+T\+\_\+\+C\+U\+S\+T\+O\+M\+\_\+\+G\+E\+O\+M\+E\+T\+RY@{W\+F\+T\+\_\+\+C\+U\+S\+T\+O\+M\+\_\+\+G\+E\+O\+M\+E\+T\+RY}}}\mbox{\Hypertarget{class_ogre_1_1_scene_query_a0a75b5ed976da2f9023382f4c4514b3aadeefa0cc2dfd1ec783c2a266ea61f925}\label{class_ogre_1_1_scene_query_a0a75b5ed976da2f9023382f4c4514b3aadeefa0cc2dfd1ec783c2a266ea61f925}} 
W\+F\+T\+\_\+\+C\+U\+S\+T\+O\+M\+\_\+\+G\+E\+O\+M\+E\+T\+RY&Custom geometry as defined by the \hyperlink{class_ogre_1_1_scene_manager}{Scene\+Manager}. \\
\hline

\raisebox{\heightof{T}}[0pt][0pt]{\index{W\+F\+T\+\_\+\+R\+E\+N\+D\+E\+R\+\_\+\+O\+P\+E\+R\+A\+T\+I\+ON@{W\+F\+T\+\_\+\+R\+E\+N\+D\+E\+R\+\_\+\+O\+P\+E\+R\+A\+T\+I\+ON}!Ogre\+::\+Scene\+Query@{Ogre\+::\+Scene\+Query}}\index{Ogre\+::\+Scene\+Query@{Ogre\+::\+Scene\+Query}!W\+F\+T\+\_\+\+R\+E\+N\+D\+E\+R\+\_\+\+O\+P\+E\+R\+A\+T\+I\+ON@{W\+F\+T\+\_\+\+R\+E\+N\+D\+E\+R\+\_\+\+O\+P\+E\+R\+A\+T\+I\+ON}}}\mbox{\Hypertarget{class_ogre_1_1_scene_query_a0a75b5ed976da2f9023382f4c4514b3aad498944c8c6b81d737c3ceee86881e8d}\label{class_ogre_1_1_scene_query_a0a75b5ed976da2f9023382f4c4514b3aad498944c8c6b81d737c3ceee86881e8d}} 
W\+F\+T\+\_\+\+R\+E\+N\+D\+E\+R\+\_\+\+O\+P\+E\+R\+A\+T\+I\+ON&General \hyperlink{class_ogre_1_1_render_operation}{Render\+Operation} structure. \\
\hline

\end{DoxyEnumFields}


\subsection{Constructor \& Destructor Documentation}
\mbox{\Hypertarget{class_ogre_1_1_scene_query_a672e5a9a95f02100b62cd4a6421525d6}\label{class_ogre_1_1_scene_query_a672e5a9a95f02100b62cd4a6421525d6}} 
\index{Ogre\+::\+Scene\+Query@{Ogre\+::\+Scene\+Query}!Scene\+Query@{Scene\+Query}}
\index{Scene\+Query@{Scene\+Query}!Ogre\+::\+Scene\+Query@{Ogre\+::\+Scene\+Query}}
\subsubsection{\texorpdfstring{Scene\+Query()}{SceneQuery()}}
{\footnotesize\ttfamily Ogre\+::\+Scene\+Query\+::\+Scene\+Query (\begin{DoxyParamCaption}\item[{\hyperlink{class_ogre_1_1_scene_manager}{Scene\+Manager} $\ast$}]{mgr }\end{DoxyParamCaption})}



Standard constructor, should be called by \hyperlink{class_ogre_1_1_scene_manager}{Scene\+Manager}. 

\mbox{\Hypertarget{class_ogre_1_1_scene_query_a373ec5891d755ecaac409e2de1e5e54e}\label{class_ogre_1_1_scene_query_a373ec5891d755ecaac409e2de1e5e54e}} 
\index{Ogre\+::\+Scene\+Query@{Ogre\+::\+Scene\+Query}!````~Scene\+Query@{$\sim$\+Scene\+Query}}
\index{````~Scene\+Query@{$\sim$\+Scene\+Query}!Ogre\+::\+Scene\+Query@{Ogre\+::\+Scene\+Query}}
\subsubsection{\texorpdfstring{$\sim$\+Scene\+Query()}{~SceneQuery()}}
{\footnotesize\ttfamily virtual Ogre\+::\+Scene\+Query\+::$\sim$\+Scene\+Query (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [virtual]}}



\subsection{Member Function Documentation}
\mbox{\Hypertarget{class_ogre_1_1_scene_query_ad392a7fc0b338e5507540d3183f82cfb}\label{class_ogre_1_1_scene_query_ad392a7fc0b338e5507540d3183f82cfb}} 
\index{Ogre\+::\+Scene\+Query@{Ogre\+::\+Scene\+Query}!set\+Query\+Mask@{set\+Query\+Mask}}
\index{set\+Query\+Mask@{set\+Query\+Mask}!Ogre\+::\+Scene\+Query@{Ogre\+::\+Scene\+Query}}
\subsubsection{\texorpdfstring{set\+Query\+Mask()}{setQueryMask()}}
{\footnotesize\ttfamily virtual void Ogre\+::\+Scene\+Query\+::set\+Query\+Mask (\begin{DoxyParamCaption}\item[{\hyperlink{namespace_ogre_adf2a0cf2e77143b5ee1d38a75e289545}{uint32}}]{mask }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [virtual]}}



Sets the mask for results of this query. 

\begin{DoxyRemark}{Remarks}
This method allows you to set a \textquotesingle{}mask\textquotesingle{} to limit the results of this query to certain types of result. The actual meaning of this value is up to the application; basically \hyperlink{class_ogre_1_1_movable_object}{Movable\+Object} instances will only be returned from this query if a bitwise A\+ND operation between this mask value and the \hyperlink{class_ogre_1_1_movable_object_ad66149b7a6f5ba1cd5c58fbd69f0446a}{Movable\+Object\+::get\+Query\+Flags} value is non-\/zero. The application will have to decide what each of the bits means. 
\end{DoxyRemark}
\mbox{\Hypertarget{class_ogre_1_1_scene_query_aed7b296e80ea3acebc493842727e8db3}\label{class_ogre_1_1_scene_query_aed7b296e80ea3acebc493842727e8db3}} 
\index{Ogre\+::\+Scene\+Query@{Ogre\+::\+Scene\+Query}!get\+Query\+Mask@{get\+Query\+Mask}}
\index{get\+Query\+Mask@{get\+Query\+Mask}!Ogre\+::\+Scene\+Query@{Ogre\+::\+Scene\+Query}}
\subsubsection{\texorpdfstring{get\+Query\+Mask()}{getQueryMask()}}
{\footnotesize\ttfamily virtual \hyperlink{namespace_ogre_adf2a0cf2e77143b5ee1d38a75e289545}{uint32} Ogre\+::\+Scene\+Query\+::get\+Query\+Mask (\begin{DoxyParamCaption}\item[{void}]{ }\end{DoxyParamCaption}) const\hspace{0.3cm}{\ttfamily [virtual]}}



Returns the current mask for this query. 

\mbox{\Hypertarget{class_ogre_1_1_scene_query_abaca8d4d9b59a571e2d8e9a2cac7ce42}\label{class_ogre_1_1_scene_query_abaca8d4d9b59a571e2d8e9a2cac7ce42}} 
\index{Ogre\+::\+Scene\+Query@{Ogre\+::\+Scene\+Query}!set\+Query\+Type\+Mask@{set\+Query\+Type\+Mask}}
\index{set\+Query\+Type\+Mask@{set\+Query\+Type\+Mask}!Ogre\+::\+Scene\+Query@{Ogre\+::\+Scene\+Query}}
\subsubsection{\texorpdfstring{set\+Query\+Type\+Mask()}{setQueryTypeMask()}}
{\footnotesize\ttfamily virtual void Ogre\+::\+Scene\+Query\+::set\+Query\+Type\+Mask (\begin{DoxyParamCaption}\item[{\hyperlink{namespace_ogre_adf2a0cf2e77143b5ee1d38a75e289545}{uint32}}]{mask }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [virtual]}}



Sets the type mask for results of this query. 

\begin{DoxyRemark}{Remarks}
This method allows you to set a \textquotesingle{}type mask\textquotesingle{} to limit the results of this query to certain types of objects. Whilst set\+Query\+Mask deals with flags set per instance of object, this method deals with setting a mask on flags set per type of object. Both may exclude an object from query results. 
\end{DoxyRemark}
\mbox{\Hypertarget{class_ogre_1_1_scene_query_a47fac5b11f62901c14b1bd757ea5c14b}\label{class_ogre_1_1_scene_query_a47fac5b11f62901c14b1bd757ea5c14b}} 
\index{Ogre\+::\+Scene\+Query@{Ogre\+::\+Scene\+Query}!get\+Query\+Type\+Mask@{get\+Query\+Type\+Mask}}
\index{get\+Query\+Type\+Mask@{get\+Query\+Type\+Mask}!Ogre\+::\+Scene\+Query@{Ogre\+::\+Scene\+Query}}
\subsubsection{\texorpdfstring{get\+Query\+Type\+Mask()}{getQueryTypeMask()}}
{\footnotesize\ttfamily virtual \hyperlink{namespace_ogre_adf2a0cf2e77143b5ee1d38a75e289545}{uint32} Ogre\+::\+Scene\+Query\+::get\+Query\+Type\+Mask (\begin{DoxyParamCaption}\item[{void}]{ }\end{DoxyParamCaption}) const\hspace{0.3cm}{\ttfamily [virtual]}}



Returns the current mask for this query. 

\mbox{\Hypertarget{class_ogre_1_1_scene_query_aec3aa0b8b16c41fae990ee78150f8d2a}\label{class_ogre_1_1_scene_query_aec3aa0b8b16c41fae990ee78150f8d2a}} 
\index{Ogre\+::\+Scene\+Query@{Ogre\+::\+Scene\+Query}!set\+World\+Fragment\+Type@{set\+World\+Fragment\+Type}}
\index{set\+World\+Fragment\+Type@{set\+World\+Fragment\+Type}!Ogre\+::\+Scene\+Query@{Ogre\+::\+Scene\+Query}}
\subsubsection{\texorpdfstring{set\+World\+Fragment\+Type()}{setWorldFragmentType()}}
{\footnotesize\ttfamily virtual void Ogre\+::\+Scene\+Query\+::set\+World\+Fragment\+Type (\begin{DoxyParamCaption}\item[{enum \hyperlink{class_ogre_1_1_scene_query_a0a75b5ed976da2f9023382f4c4514b3a}{World\+Fragment\+Type}}]{wft }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [virtual]}}



Tells the query what kind of world geometry to return from queries; often the full renderable geometry is not what is needed. 

\begin{DoxyRemark}{Remarks}
The application receiving the world geometry is expected to know what to do with it; inevitably this means that the application must have knowledge of at least some of the structures used by the custom \hyperlink{class_ogre_1_1_scene_manager}{Scene\+Manager}. 
\end{DoxyRemark}
\begin{DoxyParagraph}{}
The default setting is W\+F\+T\+\_\+\+N\+O\+NE. 
\end{DoxyParagraph}
\mbox{\Hypertarget{class_ogre_1_1_scene_query_acffb9330fc3de7109f8274822e362b00}\label{class_ogre_1_1_scene_query_acffb9330fc3de7109f8274822e362b00}} 
\index{Ogre\+::\+Scene\+Query@{Ogre\+::\+Scene\+Query}!get\+World\+Fragment\+Type@{get\+World\+Fragment\+Type}}
\index{get\+World\+Fragment\+Type@{get\+World\+Fragment\+Type}!Ogre\+::\+Scene\+Query@{Ogre\+::\+Scene\+Query}}
\subsubsection{\texorpdfstring{get\+World\+Fragment\+Type()}{getWorldFragmentType()}}
{\footnotesize\ttfamily virtual \hyperlink{class_ogre_1_1_scene_query_a0a75b5ed976da2f9023382f4c4514b3a}{World\+Fragment\+Type} Ogre\+::\+Scene\+Query\+::get\+World\+Fragment\+Type (\begin{DoxyParamCaption}\item[{void}]{ }\end{DoxyParamCaption}) const\hspace{0.3cm}{\ttfamily [virtual]}}



Gets the current world fragment types to be returned from the query. 

\mbox{\Hypertarget{class_ogre_1_1_scene_query_acceb4087f3a6ed148ae92f7e39fd1179}\label{class_ogre_1_1_scene_query_acceb4087f3a6ed148ae92f7e39fd1179}} 
\index{Ogre\+::\+Scene\+Query@{Ogre\+::\+Scene\+Query}!get\+Supported\+World\+Fragment\+Types@{get\+Supported\+World\+Fragment\+Types}}
\index{get\+Supported\+World\+Fragment\+Types@{get\+Supported\+World\+Fragment\+Types}!Ogre\+::\+Scene\+Query@{Ogre\+::\+Scene\+Query}}
\subsubsection{\texorpdfstring{get\+Supported\+World\+Fragment\+Types()}{getSupportedWorldFragmentTypes()}}
{\footnotesize\ttfamily virtual const std\+::set$<$\hyperlink{class_ogre_1_1_scene_query_a0a75b5ed976da2f9023382f4c4514b3a}{World\+Fragment\+Type}$>$$\ast$ Ogre\+::\+Scene\+Query\+::get\+Supported\+World\+Fragment\+Types (\begin{DoxyParamCaption}\item[{void}]{ }\end{DoxyParamCaption}) const\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [virtual]}}



Returns the types of world fragments this query supports. 



The documentation for this class was generated from the following file\+:\begin{DoxyCompactItemize}
\item 
\hyperlink{_ogre_scene_query_8h}{Ogre\+Scene\+Query.\+h}\end{DoxyCompactItemize}
