|
SPH
|
Fisheye camera. More...
#include <Camera.h>
Public Member Functions | |
| FisheyeCamera (const CameraParams &data) | |
| virtual Optional< CameraRay > | unproject (const Coords &coords) const override |
| Returns a ray in particle coordinates corresponding to given coordinates in the image plane. More... | |
| virtual AutoPtr< ICamera > | clone () const override |
Public Member Functions inherited from PanoCameraBase | |
| PanoCameraBase (const CameraParams &data) | |
| virtual void | autoSetup (const Storage &storage) override |
| Initializes the camera, using the provided particle storage. More... | |
| virtual Optional< ProjectedPoint > | project (const Vector &r) const override |
| Returns projected position of particle on the image. More... | |
| virtual Pixel | getSize () const override |
| Returns the current resolution of the camera. More... | |
| virtual AffineMatrix | getFrame () const override |
| Returns the transformation matrix converting camera space to world space. More... | |
| virtual Vector | getTarget () const override |
| Returns the current target point of the camera. More... | |
| virtual Vector | getUpVector () const override |
| Returns the reference "up" direction of the camera. More... | |
| virtual Optional< float > | getCutoff () const override |
| Returns the clipping distance from plane passing through origin, perpendicular to camera direction. More... | |
| virtual Optional< float > | getWorldToPixel () const override |
| Returns the world-to-pixel ratio. More... | |
| virtual void | setCutoff (const Optional< float > newCutoff) override |
| Modifies the clipping distance of the camera. More... | |
| virtual void | zoom (const Pixel UNUSED(fixedPoint), const float magnitude) override |
| virtual void | setPosition (const Vector &newPosition) override |
| Moves the camera to new position in world space. More... | |
| virtual void | setTarget (const Vector &newTarget) override |
| virtual void | transform (const AffineMatrix &matrix) override |
| Transforms the current view by given matrix. More... | |
| virtual void | pan (const Pixel offset) override |
| Moves the camera by relative offset in image space. More... | |
| virtual void | resize (const Pixel newSize) override |
| Changes the image size. More... | |
Public Member Functions inherited from ICamera | |
| virtual void | zoom (const Pixel fixedPoint, const float magnitude)=0 |
Public Member Functions inherited from Polymorphic | |
| virtual | ~Polymorphic () |
Additional Inherited Members | |
Protected Attributes inherited from PanoCameraBase | |
| CameraParams | data |
| AffineMatrix | matrix |
|
explicit |
Definition at line 448 of file Camera.cpp.
Returns a ray in particle coordinates corresponding to given coordinates in the image plane.
Implements ICamera.
Definition at line 453 of file Camera.cpp.