|
Jive reference manual
|
#include <jem/gl/Camera.h>

Public Member Functions | |
| Camera (const String &name="") | |
| virtual bool | isOrtho () const |
| virtual void | reset () |
| virtual void | lookAtBox (const Box &box)=0 |
| void | lookAtObj (const GfxNode &obj) |
| void | lookAtRect (GfxContext >x, const Rect &rect) |
| virtual void | getVisibleBox (Box &box) const =0 |
| virtual void | translateObj (GfxNode &node, GLdouble dx, GLdouble dy, GLdouble dz) const =0 |
| virtual void | updateZRange () |
| virtual Rect | getViewport () const =0 |
| virtual Transform | getProjection () const =0 |
| virtual void | jitter (Transform &proj, GLdouble dx, GLdouble dy) const =0 |
| virtual GLdouble | setZoom (GLdouble factor) |
| virtual GLdouble | getZoom () const |
| GLdouble | zoomIn (GLdouble step=1.0) |
| GLdouble | zoomOut (GLdouble step=1.0) |
Public Member Functions inherited from jem::gl::GfxNode | |
| GfxNode (const String &name="") | |
| virtual String | getContext () const |
| virtual GfxNode * | findNode (const String &name) const |
| virtual bool | takeAction (const String &action, const Properties ¶ms) |
| virtual bool | takeNRAction (const String &action, const Properties ¶ms) |
| virtual bool | takeGLAction (GfxContext >x, int action, const Properties ¶ms)=0 |
| virtual void | getBBox (Box &box) const |
| virtual void | getVisibility (bool &viz, Box &vbox, const Transform &proj) const |
| virtual void | configure (const Properties &props) |
| virtual void | getConfig (const Properties &props) const |
| virtual void | listProps (const Properties &props) const |
| GfxNode * | getParent () const |
| void | setParent (GfxNode *parent) |
| void | clearParent () |
Public Member Functions inherited from jem::NamedObject | |
| NamedObject (const String &name="") | |
| virtual String | toString () const |
| Returns a short textual description of this object. More... | |
| String | getName () const |
Public Member Functions inherited from jem::Object | |
| virtual Class * | getClass () const |
Returns the Class instance representing the runtime class of this object. More... | |
| virtual long | hashValue () const |
| Returns a hash value for this object. More... | |
| virtual bool | equals (const Ref< Object > &obj) const |
| Tests whether two objects are equal. More... | |
| Ref< Object > | clone () const |
| Returns a copy of this object. More... | |
Protected Member Functions | |
| virtual | ~Camera () |
Protected Member Functions inherited from jem::gl::GfxNode | |
| virtual | ~GfxNode () |
Protected Member Functions inherited from jem::NamedObject | |
| virtual | ~NamedObject () |
Protected Member Functions inherited from jem::Collectable | |
| Collectable () | |
Creates an empty Collectable. More... | |
| ~Collectable () | |
| Frees resources. More... | |
Additional Inherited Members | |
Static Public Member Functions inherited from jem::NamedObject | |
| static String | makeContext (const String &kind, const String &name) |
Static Public Member Functions inherited from jem::Object | |
| static Class * | getType () |
Returns the Class instance representing the Object class. More... | |
Protected Attributes inherited from jem::NamedObject | |
| String | myName_ |
|
explicit |
|
protectedvirtual |
|
virtual |
Reimplemented in jem::gl::OrthoCamera.
|
virtual |
Reimplemented in jem::gl::StdCamera, jem::gl::Camera3D, and jem::gl::OrthoCamera.
|
pure virtual |
Implemented in jem::gl::Camera3D, and jem::gl::OrthoCamera.
| void jem::gl::Camera::lookAtObj | ( | const GfxNode & | obj | ) |
| void jem::gl::Camera::lookAtRect | ( | GfxContext & | gtx, |
| const Rect & | rect | ||
| ) |
|
pure virtual |
Implemented in jem::gl::Camera3D, and jem::gl::OrthoCamera.
|
pure virtual |
Implemented in jem::gl::StdCamera, jem::gl::Camera3D, and jem::gl::OrthoCamera.
|
virtual |
Reimplemented in jem::gl::Camera3D, and jem::gl::OrthoCamera.
|
pure virtual |
Implemented in jem::gl::StdCamera.
|
pure virtual |
Implemented in jem::gl::StdCamera.
|
pure virtual |
Implemented in jem::gl::Camera3D, and jem::gl::OrthoCamera.
|
virtual |
Reimplemented in jem::gl::StdCamera, jem::gl::Camera3D, and jem::gl::OrthoCamera.
|
virtual |
Reimplemented in jem::gl::StdCamera.
| GLdouble jem::gl::Camera::zoomIn | ( | GLdouble | step = 1.0 | ) |
| GLdouble jem::gl::Camera::zoomOut | ( | GLdouble | step = 1.0 | ) |