class mzCameraView : public csComponent The scale is expressed as the medium distance between horizontal and vertical window bounds
The scale is expressed as the medium distance between
horizontal and vertical window bounds. For example, if scale is 1
and we have a square window, and the center point of window (pos)
is at (0,0,0), and we have a XOY plane projection matrix this means
that we'll see in window the square (-0.5, -0.5, 0)...(+0.5, +0.5, 0)
virtual void Draw()
virtual bool HandleEvent(csEvent &Event)
float phi
float scale
csMatrix3 w2c
csVector3 pos
int oldMouseX
int dragMouseX
struct
float xmin
mz3DVertex clip_corner[4]
csRenderView* rview
void UpdateMatrix()
void world2win(csVector3 &v, int &x, int &y)
void world2win(csVector3 &v, csVector3 &dest)
void win2world(int x, int y, float z, csVector3 &v)
void win2world(float x, float y, float z, csVector3 &v)
virtual bool SetRect(int xmin, int ymin, int xmax, int ymax)
void SetViewAngles(float iPhi, float iTheta)
this page has been generated automatically by doc++
(c)opyright by Malte Zöckler, Roland Wunderling
contact: doc++@zib.de