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


Alternative listener class for dealing with \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}
\subsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
virtual \hyperlink{class_ogre_1_1_intersection_scene_query_listener_a7537def6f0635fcf975b49f65e42e5c0}{$\sim$\+Intersection\+Scene\+Query\+Listener} ()
\item 
virtual bool \hyperlink{class_ogre_1_1_intersection_scene_query_listener_a102ee718055fb373a090e43d27968c9e}{query\+Result} (\hyperlink{class_ogre_1_1_movable_object}{Movable\+Object} $\ast$first, \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 \hyperlink{class_ogre_1_1_intersection_scene_query_listener_a97f2e6c9bfd31263f67f0ecfc6a612e6}{query\+Result} (\hyperlink{class_ogre_1_1_movable_object}{Movable\+Object} $\ast$movable, \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}


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

\begin{DoxyRemark}{Remarks}
Because the \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 \hyperlink{class_ogre_1_1_scene_query_listener}{Scene\+Query\+Listener}. 
\end{DoxyRemark}


\subsection{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\+::\+Intersection\+Scene\+Query\+Listener@{Ogre\+::\+Intersection\+Scene\+Query\+Listener}!````~Intersection\+Scene\+Query\+Listener@{$\sim$\+Intersection\+Scene\+Query\+Listener}}
\index{````~Intersection\+Scene\+Query\+Listener@{$\sim$\+Intersection\+Scene\+Query\+Listener}!Ogre\+::\+Intersection\+Scene\+Query\+Listener@{Ogre\+::\+Intersection\+Scene\+Query\+Listener}}
\subsubsection{\texorpdfstring{$\sim$\+Intersection\+Scene\+Query\+Listener()}{~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]}}



\subsection{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\+::\+Intersection\+Scene\+Query\+Listener@{Ogre\+::\+Intersection\+Scene\+Query\+Listener}!query\+Result@{query\+Result}}
\index{query\+Result@{query\+Result}!Ogre\+::\+Intersection\+Scene\+Query\+Listener@{Ogre\+::\+Intersection\+Scene\+Query\+Listener}}
\subsubsection{\texorpdfstring{query\+Result()}{queryResult()}\hspace{0.1cm}{\footnotesize\ttfamily [1/2]}}
{\footnotesize\ttfamily virtual bool Ogre\+::\+Intersection\+Scene\+Query\+Listener\+::query\+Result (\begin{DoxyParamCaption}\item[{\hyperlink{class_ogre_1_1_movable_object}{Movable\+Object} $\ast$}]{first,  }\item[{\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 \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 \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\+::\+Intersection\+Scene\+Query\+Listener@{Ogre\+::\+Intersection\+Scene\+Query\+Listener}!query\+Result@{query\+Result}}
\index{query\+Result@{query\+Result}!Ogre\+::\+Intersection\+Scene\+Query\+Listener@{Ogre\+::\+Intersection\+Scene\+Query\+Listener}}
\subsubsection{\texorpdfstring{query\+Result()}{queryResult()}\hspace{0.1cm}{\footnotesize\ttfamily [2/2]}}
{\footnotesize\ttfamily virtual bool Ogre\+::\+Intersection\+Scene\+Query\+Listener\+::query\+Result (\begin{DoxyParamCaption}\item[{\hyperlink{class_ogre_1_1_movable_object}{Movable\+Object} $\ast$}]{movable,  }\item[{\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 \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 \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 
\hyperlink{_ogre_scene_query_8h}{Ogre\+Scene\+Query.\+h}\end{DoxyCompactItemize}
