projector.h
187 ImagePoint p((m_imagePoint.x + m_halfImageWidth) / (2.0 * m_halfImageWidth), (m_imagePoint.y + m_halfImageHeight) / (2.0 * m_halfImageHeight));
FARSA_UTIL_TEMPLATE real toRad(real x)
wMatrix inverse() const
This file contains the common type defitions used on the whole framework.
A class projecting a 3D space point into a 2D image point.
Definition: projector.h:97
bool pointInsideImage() const
Returns true if the point is inside the image.
Definition: projector.h:196
const ImagePoint & getImagePoint() const
Returns the position on the 2D image of the point to project.
Definition: projector.h:171
ImagePoint getImagePoint01() const
Returns the normalized position on the 2D image of the point to project.
Definition: projector.h:185
void set3DPointWorld(const wVector &point)
Sets the 3D point to project on the 2D image.
Definition: projector.h:135
void set3DPointEye(const wVector &point)
Sets the 3D point to project on the 2D image.
Definition: projector.h:146