Jive reference manual
|
#include <jem/gl/Camera3D.h>
Public Member Functions | |
Camera3D (const String &name="camera", const Ref< GfxNode > &child=NIL) | |
virtual void | configure (const Properties &props) |
virtual void | getConfig (const Properties &props) const |
virtual void | listProps (const Properties &props) const |
virtual void | reset () |
virtual void | lookAtBox (const Box &box) |
virtual void | getVisibleBox (Box &box) const |
virtual void | translateObj (GfxNode &node, GLdouble dx, GLdouble dy, GLdouble dz) const |
virtual GLdouble | setZoom (GLdouble zoom) |
virtual void | jitter (Transform &proj, GLdouble dx, GLdouble dy) const |
virtual void | updateZRange () |
void | setZRange (GLdouble clip0, GLdouble clip1) |
GLdouble | getNearClip () const |
GLdouble | getFarClip () const |
void | setViewAngle (GLdouble fovy) |
GLdouble | getViewAngle () const |
Public Member Functions inherited from jem::gl::StdCamera | |
StdCamera (const String &name="camera", const Ref< GfxNode > &child=NIL) | |
virtual void | setChild (const Ref< GfxNode > &child) |
virtual Ref< GfxNode > | getChild () const |
virtual GfxNode * | findNode (const String &name) const |
virtual bool | takeAction (const String &action, const Properties ¶ms) |
virtual bool | takeGLAction (GfxContext >x, int action, const Properties ¶ms) |
virtual void | getBBox (Box &box) const |
virtual void | getBareBBox (Box &box) const |
virtual void | getVisibility (bool &viz, Box &vbox, const Transform &proj) const |
virtual Transform | getTransform () const |
virtual void | setTransform (const Transform &tr) |
virtual Rect | getViewport () const |
virtual Transform | getProjection () const |
virtual GLdouble | getZoom () const |
int | setQuality (int level) |
int | getQuality () const |
void | setOptions (int options) |
int | getOptions () const |
Public Member Functions inherited from jem::gl::Camera | |
Camera (const String &name="") | |
virtual bool | isOrtho () const |
void | lookAtObj (const GfxNode &obj) |
void | lookAtRect (GfxContext >x, const Rect &rect) |
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 bool | takeNRAction (const String &action, const Properties ¶ms) |
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... | |
Static Public Attributes | |
static const GLdouble | MIN_ZOOM |
static const GLdouble | MAX_ZOOM |
static const GLdouble | MIN_ANGLE |
static const GLdouble | MAX_ANGLE |
static const GLdouble | VIEW_ANGLE |
static const GLdouble | MIN_FAR |
static const GLdouble | MAX_FAR |
static const GLdouble | MIN_NEAR |
static const GLdouble | MAX_NEAR |
static const GLdouble | FAR_CLIP |
static const GLdouble | NEAR_CLIP |
Static Public Attributes inherited from jem::gl::StdCamera | |
static const int | MAX_QUALITY |
static const int | AUTO_QUALITY |
Protected Member Functions | |
virtual | ~Camera3D () |
virtual Transform | newProjection_ () const |
Protected Member Functions inherited from jem::gl::StdCamera | |
virtual | ~StdCamera () |
Protected Member Functions inherited from jem::gl::Camera | |
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... | |
Protected Member Functions inherited from jem::gl::Pivotable | |
virtual | ~Pivotable () |
Protected Member Functions inherited from jem::Interface | |
virtual | ~Interface () |
Empty destructor. More... | |
Protected Member Functions inherited from jem::gl::Transformable | |
virtual | ~Transformable () |
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::gl::StdCamera | |
Ref< GfxNode > | child_ |
Transform | proj_ |
Transform | transfm_ |
GLdouble | zoom_ |
Rect | vport_ |
int | options_ |
bool | newProj_ |
Protected Attributes inherited from jem::NamedObject | |
String | myName_ |
|
explicit |
|
protectedvirtual |
|
virtual |
Reimplemented from jem::gl::StdCamera.
|
virtual |
Reimplemented from jem::gl::StdCamera.
|
virtual |
Reimplemented from jem::gl::StdCamera.
|
virtual |
Reimplemented from jem::gl::StdCamera.
|
virtual |
Implements jem::gl::Camera.
|
virtual |
Implements jem::gl::Camera.
|
virtual |
Reimplemented from jem::gl::StdCamera.
|
virtual |
Reimplemented from jem::gl::StdCamera.
|
virtual |
Implements jem::gl::Camera.
|
virtual |
Reimplemented from jem::gl::Camera.
void jem::gl::Camera3D::setZRange | ( | GLdouble | clip0, |
GLdouble | clip1 | ||
) |
GLdouble jem::gl::Camera3D::getNearClip | ( | ) | const |
GLdouble jem::gl::Camera3D::getFarClip | ( | ) | const |
void jem::gl::Camera3D::setViewAngle | ( | GLdouble | fovy | ) |
GLdouble jem::gl::Camera3D::getViewAngle | ( | ) | const |
|
protectedvirtual |
Implements jem::gl::StdCamera.
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |