Photon Engine 2.0.0-beta
A physically based renderer.
|
#include <SingleLensObserver.h>
Public Member Functions | |
SingleLensObserver ()=default | |
void | cook (const CoreCookingContext &ctx, CoreCookedUnit &cooked) override |
float64 | getLensRadius () const |
float64 | getFocalDistance () const |
math::Vector2D | getSensorSize (const CoreCookingContext &ctx) const |
float64 | getSensorOffset (const CoreCookingContext &ctx) const |
PH_DEFINE_SDL_CLASS (TSdlOwnerClass< SingleLensObserver >) | |
![]() | |
OrientedRasterObserver ()=default | |
PH_DEFINE_SDL_CLASS (TSdlOwnerClass< OrientedRasterObserver >) | |
![]() | |
Observer ()=default | |
ESdlTypeCategory | getDynamicCategory () const override |
PH_DEFINE_SDL_CLASS (TSdlOwnerClass< Observer >) | |
![]() | |
SdlResourceId | getId () const override |
Get the unique ID of this resource. The returned ID is guaranteed to be unique in the current process. Newly created resource cannot have an ID that has been used by a previous resource, even if the previous resource has ended its life cycle. See SdlResourceId.h for some utilities. | |
![]() | |
ISdlResource (const ISdlResource &other)=default | |
ISdlResource (ISdlResource &&other)=default | |
virtual | ~ISdlResource ()=default |
ISdlResource & | operator= (const ISdlResource &rhs)=default |
ISdlResource & | operator= (ISdlResource &&rhs)=default |
virtual const SdlClass * | getDynamicSdlClass () const |
Get runtime SDL class of the resource. | |
virtual bool | isInlinable () const |
Protected Member Functions | |
math::TDecomposedTransform< float64 > | makeRasterToSensor (const CoreCookingContext &ctx) const |
void | genPinholeCamera (const CoreCookingContext &ctx, CoreCookedUnit &cooked) |
void | genThinLensCamera (const CoreCookingContext &ctx, CoreCookedUnit &cooked) |
![]() | |
math::TDecomposedTransform< float64 > | makeObserverPose () const |
math::Vector3D | makePos () const |
math::QuaternionD | makeRot () const |
math::Vector3D | makeDir () const |
![]() | |
SdlResourceBase () | |
SdlResourceBase (const SdlResourceBase &other) | |
SdlResourceBase (SdlResourceBase &&other)=default | |
SdlResourceBase & | operator= (const SdlResourceBase &rhs) |
SdlResourceBase & | operator= (SdlResourceBase &&rhs)=default |
![]() | |
ISdlResource ()=default | |
Additional Inherited Members | |
![]() | |
static constexpr ESdlTypeCategory | CATEGORY = ESdlTypeCategory::Ref_Observer |
|
inlinedefault |
|
overridevirtual |
Implements ph::OrientedRasterObserver.
|
protected |
|
protected |
|
inline |
|
inline |
float64 ph::SingleLensObserver::getSensorOffset | ( | const CoreCookingContext & | ctx | ) | const |
math::Vector2D ph::SingleLensObserver::getSensorSize | ( | const CoreCookingContext & | ctx | ) | const |
|
protected |
|
inline |