#include <transform.h>
Public Member Functions | |
Transform () | |
Transform (float mat[4][4]) | |
Transform (const boost::shared_ptr< Matrix4x4 > &mat) | |
Transform (const boost::shared_ptr< Matrix4x4 > &mat, const boost::shared_ptr< Matrix4x4 > &minv) | |
Transform | GetInverse () const |
bool | HasScale () const |
Point | operator() (const Point &pt) const |
void | operator() (const Point &pt, Point *ptrans) const |
Vector | operator() (const Vector &v) const |
void | operator() (const Vector &v, Vector *vt) const |
Normal | operator() (const Normal &) const |
void | operator() (const Normal &, Normal *nt) const |
Ray | operator() (const Ray &r) const |
void | operator() (const Ray &r, Ray *rt) const |
BBox | operator() (const BBox &b) const |
Transform | operator* (const Transform &t2) const |
bool | SwapsHandedness () const |
Private Attributes | |
boost::shared_ptr< Matrix4x4 > | m |
boost::shared_ptr< Matrix4x4 > | mInv |
Friends | |
ostream & | operator<< (ostream &, const Transform &) |
Definition at line 33 of file transform.h.
lux::Transform::Transform | ( | ) | [inline] |
lux::Transform::Transform | ( | float | mat[4][4] | ) | [inline] |
lux::Transform::Transform | ( | const boost::shared_ptr< Matrix4x4 > & | mat | ) | [inline] |
Transform lux::Transform::GetInverse | ( | ) | const [inline] |
Definition at line 58 of file transform.h.
References m, mInv, and Transform().
Referenced by lux::Context::camera(), lux::Camera::Camera(), lux::ImageTexture< T >::CreateFloatTexture(), lux::DotsTexture< T >::CreateFloatTexture(), lux::Checkerboard::CreateFloatTexture(), lux::BilerpTexture< T >::CreateFloatTexture(), lux::SpotLight::CreateLight(), lux::UVTexture::CreateSpectrumTexture(), lux::ImageTexture< T >::CreateSpectrumTexture(), lux::DotsTexture< T >::CreateSpectrumTexture(), lux::Checkerboard::CreateSpectrumTexture(), lux::BilerpTexture< T >::CreateSpectrumTexture(), lux::DensityRegion::DensityRegion(), lux::GeometricPrimitive::GetBSDF(), lux::HomogeneousVolume::HomogeneousVolume(), lux::InstancePrimitive::InstancePrimitive(), lux::ProjectiveCamera::ProjectiveCamera(), lux::RealisticCamera::RealisticCamera(), lux::VolumeGrid::WorldBound(), lux::HomogeneousVolume::WorldBound(), and lux::ExponentialDensity::WorldBound().
bool lux::Transform::HasScale | ( | ) | const |
Definition at line 139 of file transform.cpp.
References m.
Referenced by lux::Camera::Camera(), and lux::Light::Light().
Definition at line 148 of file transform.cpp.
References lux::BBox::pMax, lux::BBox::pMin, lux::Union(), lux::Point::x, lux::Point::y, and lux::Point::z.
Definition at line 180 of file transform.h.
Definition at line 171 of file transform.h.
Definition at line 147 of file transform.h.
Definition at line 140 of file transform.h.
Definition at line 132 of file transform.h.
Definition at line 125 of file transform.h.
Definition at line 115 of file transform.h.
Definition at line 103 of file transform.h.
Definition at line 160 of file transform.cpp.
References m, mInv, lux::Matrix4x4::Mul(), and Transform().
bool lux::Transform::SwapsHandedness | ( | ) | const [inline] |
Definition at line 155 of file transform.h.
ostream& operator<< | ( | ostream & | os, | |
const Transform & | t | |||
) | [friend] |
Definition at line 31 of file transform.cpp.
boost::shared_ptr<Matrix4x4> lux::Transform::m [private] |
Definition at line 75 of file transform.h.
Referenced by GetInverse(), HasScale(), operator*(), lux::operator<<(), and Transform().
boost::shared_ptr<Matrix4x4> lux::Transform::mInv [private] |
Definition at line 75 of file transform.h.
Referenced by GetInverse(), operator*(), and Transform().