\hypertarget{class_ogre_1_1_scene_query_listener}{}\doxysection{Ogre\+::Scene\+Query\+Listener Class Reference}
\label{class_ogre_1_1_scene_query_listener}\index{Ogre::SceneQueryListener@{Ogre::SceneQueryListener}}


This optional class allows you to receive per-\/result callbacks from \mbox{\hyperlink{class_ogre_1_1_scene_query}{Scene\+Query}} executions instead of a single set of consolidated results.  




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



Inheritance diagram for Ogre\+::Scene\+Query\+Listener\+:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=350pt]{class_ogre_1_1_scene_query_listener__inherit__graph}
\end{center}
\end{figure}
\doxysubsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
virtual \mbox{\hyperlink{class_ogre_1_1_scene_query_listener_ad0ea5280ec1032a5170999eb7ae3fb2b}{$\sim$\+Scene\+Query\+Listener}} ()
\item 
virtual bool \mbox{\hyperlink{class_ogre_1_1_scene_query_listener_a70936d2cd7413dd284faef05528ddb92}{query\+Result}} (\mbox{\hyperlink{class_ogre_1_1_movable_object}{Movable\+Object}} $\ast$object)=0
\begin{DoxyCompactList}\small\item\em Called when a \mbox{\hyperlink{class_ogre_1_1_movable_object}{Movable\+Object}} is returned by a query. \end{DoxyCompactList}\item 
virtual bool \mbox{\hyperlink{class_ogre_1_1_scene_query_listener_ac17a072217f44693bb45ecbcd1623611}{query\+Result}} (\mbox{\hyperlink{struct_ogre_1_1_scene_query_1_1_world_fragment}{Scene\+Query\+::\+World\+Fragment}} $\ast$fragment)=0
\begin{DoxyCompactList}\small\item\em Called when a World\+Fragment is returned by a query. \end{DoxyCompactList}\end{DoxyCompactItemize}


\doxysubsection{Detailed Description}
This optional class allows you to receive per-\/result callbacks from \mbox{\hyperlink{class_ogre_1_1_scene_query}{Scene\+Query}} executions instead of a single set of consolidated results. 

\begin{DoxyRemark}{Remarks}
You should override this with your own subclass. Note that certain query classes may refine this listener interface. 
\end{DoxyRemark}


\doxysubsection{Constructor \& Destructor Documentation}
\mbox{\Hypertarget{class_ogre_1_1_scene_query_listener_ad0ea5280ec1032a5170999eb7ae3fb2b}\label{class_ogre_1_1_scene_query_listener_ad0ea5280ec1032a5170999eb7ae3fb2b}} 
\index{Ogre::SceneQueryListener@{Ogre::SceneQueryListener}!````~SceneQueryListener@{$\sim$SceneQueryListener}}
\index{````~SceneQueryListener@{$\sim$SceneQueryListener}!Ogre::SceneQueryListener@{Ogre::SceneQueryListener}}
\doxysubsubsection{\texorpdfstring{$\sim$SceneQueryListener()}{~SceneQueryListener()}}
{\footnotesize\ttfamily virtual Ogre\+::\+Scene\+Query\+Listener\+::$\sim$\+Scene\+Query\+Listener (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [virtual]}}



\doxysubsection{Member Function Documentation}
\mbox{\Hypertarget{class_ogre_1_1_scene_query_listener_a70936d2cd7413dd284faef05528ddb92}\label{class_ogre_1_1_scene_query_listener_a70936d2cd7413dd284faef05528ddb92}} 
\index{Ogre::SceneQueryListener@{Ogre::SceneQueryListener}!queryResult@{queryResult}}
\index{queryResult@{queryResult}!Ogre::SceneQueryListener@{Ogre::SceneQueryListener}}
\doxysubsubsection{\texorpdfstring{queryResult()}{queryResult()}\hspace{0.1cm}{\footnotesize\ttfamily [1/2]}}
{\footnotesize\ttfamily virtual bool Ogre\+::\+Scene\+Query\+Listener\+::query\+Result (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{class_ogre_1_1_movable_object}{Movable\+Object}} $\ast$}]{object }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [pure virtual]}}



Called when a \mbox{\hyperlink{class_ogre_1_1_movable_object}{Movable\+Object}} is returned by a query. 

\begin{DoxyRemark}{Remarks}
The implementor should return \textquotesingle{}true\textquotesingle{} to continue returning objects, or \textquotesingle{}false\textquotesingle{} to abandon any further results from this query. 
\end{DoxyRemark}


Implemented in \mbox{\hyperlink{class_ogre_1_1_region_scene_query_a49641297f4affe82b8e9f8b9ab3ff9f4}{Ogre\+::\+Region\+Scene\+Query}}.

\mbox{\Hypertarget{class_ogre_1_1_scene_query_listener_ac17a072217f44693bb45ecbcd1623611}\label{class_ogre_1_1_scene_query_listener_ac17a072217f44693bb45ecbcd1623611}} 
\index{Ogre::SceneQueryListener@{Ogre::SceneQueryListener}!queryResult@{queryResult}}
\index{queryResult@{queryResult}!Ogre::SceneQueryListener@{Ogre::SceneQueryListener}}
\doxysubsubsection{\texorpdfstring{queryResult()}{queryResult()}\hspace{0.1cm}{\footnotesize\ttfamily [2/2]}}
{\footnotesize\ttfamily virtual bool Ogre\+::\+Scene\+Query\+Listener\+::query\+Result (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{struct_ogre_1_1_scene_query_1_1_world_fragment}{Scene\+Query\+::\+World\+Fragment}} $\ast$}]{fragment }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [pure virtual]}}



Called when a World\+Fragment is returned by a query. 

\begin{DoxyRemark}{Remarks}
The implementor should return \textquotesingle{}true\textquotesingle{} to continue returning objects, or \textquotesingle{}false\textquotesingle{} to abandon any further results from this query. 
\end{DoxyRemark}


Implemented in \mbox{\hyperlink{class_ogre_1_1_region_scene_query_ae52b991bb3e6ecdb688c3d06d245c468}{Ogre\+::\+Region\+Scene\+Query}}.



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