Base distortion render pass.
More...
#include <BaseDistortionPass.hh>
|
virtual | ~BaseDistortionPass () |
| Destructor. More...
|
|
math::Vector2d | Center () const |
| Get the distortion center. More...
|
|
double | K1 () const |
| Get the radial distortion coefficient k1. More...
|
|
double | K2 () const |
| Get the radial distortion coefficient k2. More...
|
|
double | K3 () const |
| Get the radial distortion coefficient k3. More...
|
|
double | P1 () const |
| Get the tangential distortion coefficient p1. More...
|
|
double | P2 () const |
| Get the tangential distortion coefficient p2. More...
|
|
void | SetCenter (const math::Vector2d &_center) |
| Set the distortion center. More...
|
|
void | SetK1 (double _k1) |
| Set the radial distortion coefficient k1. More...
|
|
void | SetK2 (double _k2) |
| Set the radial distortion coefficient k2. More...
|
|
void | SetK3 (double _k3) |
| Set the radial distortion coefficient k3. More...
|
|
void | SetP1 (double _p1) |
| Set the tangential distortion coefficient p1. More...
|
|
void | SetP2 (double _p2) |
| Set the tangential distortion coefficient p2. More...
|
|
| DistortionPass () |
| Constructor. More...
|
|
virtual | ~DistortionPass () |
| Destructor. More...
|
|
virtual | ~RenderPass () |
| Destructor. More...
|
|
virtual bool | IsEnabled () const =0 |
| Get whether or not the render pass is enabled. More...
|
|
virtual void | SetEnabled (bool _enabled)=0 |
| Set to enable or disable the render pass. More...
|
|
virtual | ~Object () |
| Destructor. More...
|
|
virtual void | Destroy ()=0 |
| Destroy any resources associated with this object. Invoking any other functions after destroying an object will result in undefined behavior. More...
|
|
virtual unsigned int | Id () const =0 |
| Get the object ID. This ID will be unique across all objects inside a given scene, but necessarily true for objects across different scenes. More...
|
|
virtual std::string | Name () const =0 |
| Get the object name. This name will be unique across all objects inside a given scene, but necessarily true for objects across different scenes. More...
|
|
virtual void | PostRender ()=0 |
| Post process this object and any of its children after rendering. More...
|
|
virtual void | PreRender ()=0 |
| Prepare this object and any of its children for rendering. This should be called for each object in a scene just before rendering, which can be achieved by a single call to Scene::PreRender. More...
|
|
virtual ScenePtr | Scene () const =0 |
| Get the Scene that created this object. More...
|
|
template<class T>
class ignition::rendering::BaseDistortionPass< T >
Base distortion render pass.
◆ BaseDistortionPass()
◆ ~BaseDistortionPass()
◆ Center()
Get the distortion center.
- Returns
- Distortion center.
Implements DistortionPass.
◆ K1()
Get the radial distortion coefficient k1.
- Returns
- Distortion coefficient k1.
Implements DistortionPass.
◆ K2()
Get the radial distortion coefficient k2.
- Returns
- Distortion coefficient k2.
Implements DistortionPass.
◆ K3()
Get the radial distortion coefficient k3.
- Returns
- Distortion coefficient k3.
Implements DistortionPass.
◆ P1()
Get the tangential distortion coefficient p1.
- Returns
- Distortion coefficient p1.
Implements DistortionPass.
◆ P2()
Get the tangential distortion coefficient p2.
- Returns
- Distortion coefficient p2.
Implements DistortionPass.
◆ SetCenter()
Set the distortion center.
- Parameters
-
[in] | _center | Distortion center. |
Implements DistortionPass.
◆ SetK1()
Set the radial distortion coefficient k1.
- Parameters
-
[in] | _k1 | Distortion coefficient k1. |
Implements DistortionPass.
◆ SetK2()
Set the radial distortion coefficient k2.
- Parameters
-
[in] | _k2 | Distortion coefficient k1. |
Implements DistortionPass.
◆ SetK3()
Set the radial distortion coefficient k3.
- Parameters
-
[in] | _k3 | Distortion coefficient k1. |
Implements DistortionPass.
◆ SetP1()
Set the tangential distortion coefficient p1.
- Parameters
-
[in] | _p1 | Distortion coefficient k1. |
Implements DistortionPass.
◆ SetP2()
Set the tangential distortion coefficient p2.
- Parameters
-
[in] | _p2 | Distortion coefficient k1. |
Implements DistortionPass.
◆ k1
Radial distortion coefficient k1.
◆ k2
Radial distortion coefficient k2.
◆ k3
Radial distortion coefficient k3.
◆ lensCenter
Lens center used for distortion.
◆ p1
Tangential distortion coefficient p1.
◆ p2
Tangential distortion coefficient p2.
The documentation for this class was generated from the following file: