CLICKINFO Class Reference

#include <Controller.h>

List of all members.

Public Member Functions

 CLICKINFO (SIM3DOBJECT obj, const VECTOR &v, int x, int y, int nZoom, double dDist)
double DistanceTo (SIM3DOBJECT obj) const
VECTOR GetClickPos () const
VECTOR SceneToScreenY (VECTOR v) const
int GetZ () const

Private Attributes

SIM3DOBJECT m_obj
VECTOR m_v
MOVEMATRIX m_m
MOVEMATRIX m_mY
double m_dZoom
double m_dDist
int m_x
int m_y


Detailed Description

Definition at line 79 of file Controller.h.


Constructor & Destructor Documentation

CLICKINFO::CLICKINFO ( SIM3DOBJECT  obj,
const VECTOR v,
int  x,
int  y,
int  nZoom,
double  dDist 
)

Definition at line 39 of file Controller.cpp.

References m_dDist, m_dZoom, m_obj, m_x, and m_y.


Member Function Documentation

double CLICKINFO::DistanceTo ( SIM3DOBJECT  obj  )  const

Definition at line 56 of file Controller.cpp.

References abs(), m_dDist, m_dZoom, m_m, m_obj, m_v, MOVEMATRIX::Offset, SIM3DElement::Owner, SIM3DElement::Transform, and VECTOR::z.

Referenced by RoboCupCtrl::OnBeginDrag().

VECTOR CLICKINFO::GetClickPos (  )  const [inline]

Definition at line 93 of file Controller.h.

References m_v.

Referenced by RoboCupCtrl::CalcClickPosition().

int CLICKINFO::GetZ (  )  const [inline]

Definition at line 95 of file Controller.h.

References m_x.

Referenced by RoboCupCtrl::CalcClickPosition().

VECTOR CLICKINFO::SceneToScreenY ( VECTOR  v  )  const

Definition at line 75 of file Controller.cpp.

References m_dDist, m_dZoom, m_mY, and VECTOR::z.

Referenced by RoboCupCtrl::CalcClickPosition().


Member Data Documentation

double CLICKINFO::m_dDist [private]

Definition at line 86 of file Controller.h.

Referenced by CLICKINFO(), DistanceTo(), and SceneToScreenY().

double CLICKINFO::m_dZoom [private]

Definition at line 86 of file Controller.h.

Referenced by CLICKINFO(), DistanceTo(), and SceneToScreenY().

MOVEMATRIX CLICKINFO::m_m [private]

Definition at line 84 of file Controller.h.

Referenced by DistanceTo().

MOVEMATRIX CLICKINFO::m_mY [private]

Definition at line 84 of file Controller.h.

Referenced by SceneToScreenY().

SIM3DOBJECT CLICKINFO::m_obj [private]

Definition at line 82 of file Controller.h.

Referenced by CLICKINFO(), and DistanceTo().

VECTOR CLICKINFO::m_v [private]

Definition at line 83 of file Controller.h.

Referenced by DistanceTo(), and GetClickPos().

int CLICKINFO::m_x [private]

Definition at line 88 of file Controller.h.

Referenced by CLICKINFO(), and GetZ().

int CLICKINFO::m_y [private]

Definition at line 88 of file Controller.h.

Referenced by CLICKINFO().


The documentation for this class was generated from the following files:
Generated on Thu Dec 7 01:22:09 2006 for DT2005.panorama by  doxygen 1.4.7