#include <RcmPerspective.hxx>
Inheritance diagram for RayGina::CORE::RcmPerspective:

Public Member Functions | |
| RcmPerspective (RVec3r org, RVec3r dir, RVec3r up, RReal angle=25.0, RReal aspect_ratio=1.0, RReal near_clip_plane=0.0, RReal far_clip_plane=Infinity, RUInt32 width=640, RUInt32 height=480) | |
| virtual | ~RcmPerspective () |
| virtual RExtension * | getInstanceExtension () const |
| const RStatus | setNearClippingPlane (const RReal near_clip_plane) |
| RReal | getNearClippingPlane () const |
| const RStatus | setFarClippingPlane (const RReal far_clip_plane) |
| RReal | getFarClippingPlane () const |
| const RStatus | setAspectRatio (const RReal aspect_ratio) |
| RReal | getAspectRatio () const |
| const RStatus | setViewAngle (const RReal new_view_angle) |
| const RReal | getViewAngle () |
| virtual const RStatus | setOrigin (const RVec3r newOrigin) |
| virtual const RVec3r | getOrigin () const |
| virtual const RStatus | setDirection (const RVec3r newDirection) |
| virtual const RVec3r | getDirection () const |
| virtual const RStatus | setUp (const RVec3r newUp) |
| virtual const RVec3r | getUp () const |
| virtual const RStatus | setImageSize (const RUInt32 width, const RUInt32 height) |
| virtual const RStatus | setImageSize (const RimBase *image) |
| virtual void | initRay (RRenderCom *theRenderCom) |
Static Public Member Functions | |
| RExtension * | __getExtension () |
| RObject * | createInstance () |
Private Member Functions | |
| const RStatus | reinit () |
Static Private Member Functions | |
| const RStatus | _setAttrNearClippingPlane (RObject *instance, const RReal value) |
| const RReal | _getAttrNearClippingPlane (const RObject *instance, RRenderCom *renderCom) |
| const RStatus | _setAttrFarClippingPlane (RObject *instance, const RReal value) |
| const RReal | _getAttrFarClippingPlane (const RObject *instance, RRenderCom *renderCom) |
| const RStatus | _setAspectRatioAttr (RObject *instance, const RReal value) |
| const RReal | _getAspectRatioAttr (const RObject *instance, RRenderCom *renderCom) |
| const RStatus | _setAngleOfView (RObject *instance, const RReal value) |
| const RReal | _getAngleOfView (const RObject *instance, RRenderCom *renderCom) |
| const RStatus | _setOrigin (RObject *instance, const RVec3r value) |
| const RVec3r | _getOrigin (const RObject *instance, RRenderCom *renderCom) |
| const RStatus | _setDirection (RObject *instance, const RVec3r value) |
| const RVec3r | _getDirection (const RObject *instance, RRenderCom *renderCom) |
| const RStatus | _setUp (RObject *instance, const RVec3r value) |
| const RVec3r | _getUp (const RObject *instance, RRenderCom *renderCom) |
| const RStatus | _initialize (RatStaticContainer *attributes) |
Private Attributes | |
| RVec3r | _org |
| The origion of the camera. | |
| RVec3r | _dir |
| The direction of the camera. | |
| RVec3r | _calc_dir |
| The direction of the camera. | |
| RVec3r | _up |
| The up vector for the camera. | |
| RVec3r | _real_up |
| The up vector for the camera. | |
| RVec3r | _wVec |
| help vector 1 | |
| RVec3r | _hVec |
| help vector 2 | |
| RUInt32 | _resx |
| image resolution in x | |
| RUInt32 | _resy |
| image resolution in y | |
| RReal | _one_resx |
| image resolution in 1 / x | |
| RReal | _one_resy |
| image resolution in 1 / y | |
| RReal | _near_clip_plane |
| near clipping plane | |
| RReal | _far_clip_plane |
| far clipping plane | |
| RReal | _aspect_ratio |
| the aspect ratio for the cam | |
| RReal | _angle |
| the view angle of the camera | |
Static Private Attributes | |
| RExtension | _extensionInfo |
|
||||||||||||||||||||||||||||||||||||||||
|
Definition at line 109 of file RcmPerspective.hxx. |
|
|
Definition at line 112 of file RcmPerspective.hxx. |
|
|
Definition at line 118 of file RcmPerspective.hxx. |
|
||||||||||||
|
Definition at line 71 of file RcmPerspective.hxx. |
|
||||||||||||
|
Definition at line 65 of file RcmPerspective.hxx. |
|
||||||||||||
|
Definition at line 59 of file RcmPerspective.hxx. |
|
||||||||||||
|
Definition at line 53 of file RcmPerspective.hxx. |
|
||||||||||||
|
Definition at line 83 of file RcmPerspective.hxx. |
|
||||||||||||
|
Definition at line 77 of file RcmPerspective.hxx. |
|
||||||||||||
|
Definition at line 89 of file RcmPerspective.hxx. |
|
|
Definition at line 95 of file RcmPerspective.hxx. |
|
||||||||||||
|
Definition at line 68 of file RcmPerspective.hxx. |
|
||||||||||||
|
Definition at line 62 of file RcmPerspective.hxx. |
|
||||||||||||
|
Definition at line 56 of file RcmPerspective.hxx. |
|
||||||||||||
|
Definition at line 50 of file RcmPerspective.hxx. |
|
||||||||||||
|
Definition at line 80 of file RcmPerspective.hxx. |
|
||||||||||||
|
Definition at line 74 of file RcmPerspective.hxx. |
|
||||||||||||
|
Definition at line 86 of file RcmPerspective.hxx. |
|
|
Definition at line 122 of file RcmPerspective.hxx. |
|
|
Definition at line 148 of file RcmPerspective.hxx. |
|
|
Definition at line 174 of file RcmPerspective.hxx. |
|
|
Definition at line 140 of file RcmPerspective.hxx. |
|
|
returns the RExtension for the instance If it returns NULL this instance is not able to act as an extension Implements RayGina::CORE::RObject. Definition at line 114 of file RcmPerspective.hxx. |
|
|
Definition at line 130 of file RcmPerspective.hxx. |
|
|
Definition at line 167 of file RcmPerspective.hxx. |
|
|
Definition at line 181 of file RcmPerspective.hxx. |
|
|
Definition at line 159 of file RcmPerspective.hxx. |
|
|
Implements RayGina::CORE::RcmBase. Definition at line 22 of file RcmPerspective.cxx. |
|
|
Definition at line 35 of file RcmPerspective.cxx. |
|
|
Definition at line 144 of file RcmPerspective.hxx. |
|
|
Definition at line 170 of file RcmPerspective.hxx. |
|
|
Definition at line 136 of file RcmPerspective.hxx. |
|
|
Definition at line 60 of file RcmPerspective.cxx. |
|
||||||||||||
|
Implements RayGina::CORE::RcmBase. Definition at line 51 of file RcmPerspective.cxx. |
|
|
Definition at line 126 of file RcmPerspective.hxx. |
|
|
Definition at line 163 of file RcmPerspective.hxx. |
|
|
Definition at line 177 of file RcmPerspective.hxx. |
|
|
Definition at line 152 of file RcmPerspective.hxx. |
|
|
the view angle of the camera
Definition at line 46 of file RcmPerspective.hxx. |
|
|
the aspect ratio for the cam
Definition at line 44 of file RcmPerspective.hxx. |
|
|
The direction of the camera.
Definition at line 20 of file RcmPerspective.hxx. |
|
|
The direction of the camera.
Definition at line 18 of file RcmPerspective.hxx. |
|
|
Initial value: RExtension( RExtension::SUPERCLASSID_CAMERA,
RExtension::CLASSID_CORE_RCMPERSPECTIVE,
1,
1,
"Perspective Camera",
"RcmPerspective",
"Oliver Heyme",
"olihey@raygina.de",
"www.raygina.de",
RcmPerspective::createInstance,
RcmPerspective::_initialize)
Definition at line 10 of file RcmPerspective.cxx. |
|
|
far clipping plane
Definition at line 42 of file RcmPerspective.hxx. |
|
|
help vector 2
Definition at line 29 of file RcmPerspective.hxx. |
|
|
near clipping plane
Definition at line 40 of file RcmPerspective.hxx. |
|
|
image resolution in 1 / x
Definition at line 36 of file RcmPerspective.hxx. |
|
|
image resolution in 1 / y
Definition at line 38 of file RcmPerspective.hxx. |
|
|
The origion of the camera.
Definition at line 16 of file RcmPerspective.hxx. |
|
|
The up vector for the camera.
Definition at line 24 of file RcmPerspective.hxx. |
|
|
image resolution in x
Definition at line 32 of file RcmPerspective.hxx. |
|
|
image resolution in y
Definition at line 34 of file RcmPerspective.hxx. |
|
|
The up vector for the camera.
Definition at line 22 of file RcmPerspective.hxx. |
|
|
help vector 1
Definition at line 27 of file RcmPerspective.hxx. |
1.3.9.1