\hypertarget{class_ogre_1_1_intersection_scene_query_listener}{}\doxysection{Ogre\+::Intersection\+Scene\+Query\+Listener Class Reference}
\label{class_ogre_1_1_intersection_scene_query_listener}\index{Ogre::IntersectionSceneQueryListener@{Ogre::IntersectionSceneQueryListener}}


Alternative listener class for dealing with \mbox{\hyperlink{class_ogre_1_1_intersection_scene_query}{Intersection\+Scene\+Query}}.  




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



Inheritance diagram for Ogre\+::Intersection\+Scene\+Query\+Listener\+:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=350pt]{class_ogre_1_1_intersection_scene_query_listener__inherit__graph}
\end{center}
\end{figure}
\doxysubsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
virtual \mbox{\hyperlink{class_ogre_1_1_intersection_scene_query_listener_a7537def6f0635fcf975b49f65e42e5c0}{$\sim$\+Intersection\+Scene\+Query\+Listener}} ()
\item 
virtual bool \mbox{\hyperlink{class_ogre_1_1_intersection_scene_query_listener_a102ee718055fb373a090e43d27968c9e}{query\+Result}} (\mbox{\hyperlink{class_ogre_1_1_movable_object}{Movable\+Object}} $\ast$first, \mbox{\hyperlink{class_ogre_1_1_movable_object}{Movable\+Object}} $\ast$second)=0
\begin{DoxyCompactList}\small\item\em Called when 2 movable objects intersect one another. \end{DoxyCompactList}\item 
virtual bool \mbox{\hyperlink{class_ogre_1_1_intersection_scene_query_listener_a97f2e6c9bfd31263f67f0ecfc6a612e6}{query\+Result}} (\mbox{\hyperlink{class_ogre_1_1_movable_object}{Movable\+Object}} $\ast$movable, \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 movable intersects a world fragment. \end{DoxyCompactList}\end{DoxyCompactItemize}


\doxysubsection{Detailed Description}
Alternative listener class for dealing with \mbox{\hyperlink{class_ogre_1_1_intersection_scene_query}{Intersection\+Scene\+Query}}. 

\begin{DoxyRemark}{Remarks}
Because the \mbox{\hyperlink{class_ogre_1_1_intersection_scene_query}{Intersection\+Scene\+Query}} returns results in pairs, rather than singularly, the listener interface must be customised from the standard \mbox{\hyperlink{class_ogre_1_1_scene_query_listener}{Scene\+Query\+Listener}}. 
\end{DoxyRemark}


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



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



Called when 2 movable objects intersect one another. 

\begin{DoxyRemark}{Remarks}
As with \mbox{\hyperlink{class_ogre_1_1_scene_query_listener}{Scene\+Query\+Listener}}, the implementor of this method should return \textquotesingle{}true\textquotesingle{} if further results are required, or \textquotesingle{}false\textquotesingle{} to abandon any further results from the current query. 
\end{DoxyRemark}


Implemented in \mbox{\hyperlink{class_ogre_1_1_intersection_scene_query_a1092da71d6f78d6ecee11eee06a3b1e5}{Ogre\+::\+Intersection\+Scene\+Query}}.

\mbox{\Hypertarget{class_ogre_1_1_intersection_scene_query_listener_a97f2e6c9bfd31263f67f0ecfc6a612e6}\label{class_ogre_1_1_intersection_scene_query_listener_a97f2e6c9bfd31263f67f0ecfc6a612e6}} 
\index{Ogre::IntersectionSceneQueryListener@{Ogre::IntersectionSceneQueryListener}!queryResult@{queryResult}}
\index{queryResult@{queryResult}!Ogre::IntersectionSceneQueryListener@{Ogre::IntersectionSceneQueryListener}}
\doxysubsubsection{\texorpdfstring{queryResult()}{queryResult()}\hspace{0.1cm}{\footnotesize\ttfamily [2/2]}}
{\footnotesize\ttfamily virtual bool Ogre\+::\+Intersection\+Scene\+Query\+Listener\+::query\+Result (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{class_ogre_1_1_movable_object}{Movable\+Object}} $\ast$}]{movable,  }\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 movable intersects a world fragment. 

\begin{DoxyRemark}{Remarks}
As with \mbox{\hyperlink{class_ogre_1_1_scene_query_listener}{Scene\+Query\+Listener}}, the implementor of this method should return \textquotesingle{}true\textquotesingle{} if further results are required, or \textquotesingle{}false\textquotesingle{} to abandon any further results from the current query. 
\end{DoxyRemark}


Implemented in \mbox{\hyperlink{class_ogre_1_1_intersection_scene_query_ab1b25001401cf9026c9aa58e490f978f}{Ogre\+::\+Intersection\+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}
