The WorldPoint class is a basic 3D point that is assumed to represent a location in world space. More...
#include <hps.h>
Public Member Functions | |
WorldPoint (float px=0.0f, float py=0.0f, float pz=0.0f) | |
Initializes a new Point. More... | |
WorldPoint (Point const &in_point) | |
Copies the existing point in_point. More... | |
WorldPoint (WindowKey const &in_window, ObjectPoint const &in_point) | |
Converts the point in_point to world space via in_window. More... | |
WorldPoint (WindowKey const &in_window, WorldPoint const &in_point) | |
Converts the point in_point to world space via in_window. More... | |
WorldPoint (WindowKey const &in_window, CameraPoint const &in_point) | |
Converts the point in_point to world space via in_window. More... | |
WorldPoint (WindowKey const &in_window, InnerWindowPoint const &in_point) | |
Converts the point in_point to world space via in_window. More... | |
WorldPoint (WindowKey const &in_window, InnerPixelPoint const &in_point) | |
Converts the point in_point to world space via in_window. More... | |
WorldPoint (WindowKey const &in_window, WindowPoint const &in_point) | |
Converts the point in_point to world space via in_window. More... | |
WorldPoint (WindowKey const &in_window, PixelPoint const &in_point) | |
Converts the point in_point to world space via in_window. More... | |
Point_3D const | operator- () const |
Vector_3D< F > const | operator- (Point_3D const &p) const |
Point_3D const | operator- (Vector_3D< F > const &v) const |
Point_3D const | operator- (Vector_2D< F > const &v) const |
bool | operator== (Point_3D const &p) const |
bool | operator!= (Point_3D const &p) const |
bool | Equals (Point_3D const &p, int in_tolerance=32) const |
Point_3D & | operator*= (F s) |
Point_3D & | operator*= (Vector_3D< F > const &v) |
Point_3D & | operator*= (Vector_2D< F > const &v) |
Point_3D & | operator/= (F s) |
Point_3D & | operator/= (Vector_3D< F > const &v) |
Point_3D & | operator/= (Vector_2D< F > const &v) |
Point_3D const | operator* (F s) const |
Point_3D const | operator* (Vector_3D< F > const &v) const |
Point_3D const | operator* (Vector_2D< F > const &v) const |
Point_3D const | operator/ (F s) const |
Point_3D const | operator/ (Vector_3D< F > const &v) const |
Point_3D const | operator/ (Vector_2D< F > const &v) const |
F & | operator[] (size_t i) |
F const & | operator[] (size_t i) const |
Point_3D & | operator+= (Vector_3D< F > const &v) |
Point_3D & | operator+= (Vector_2D< F > const &v) |
Point_3D & | operator-= (Vector_3D< F > const &v) |
Point_3D & | operator-= (Vector_2D< F > const &v) |
Point_3D const | operator+ (Vector_3D< F > const &v) const |
Point_3D const | operator+ (Vector_2D< F > const &v) const |
Static Public Member Functions | |
static HPS_INLINE Point_3D | Origin () |
static HPS_INLINE Point_3D | Zero () |
Public Attributes | |
F | x |
F | y |
F | z |
Private Member Functions | |
WorldPoint (ObjectPoint const &in_point) | |
WorldPoint (CameraPoint const &in_point) | |
WorldPoint (InnerWindowPoint const &in_point) | |
WorldPoint (InnerPixelPoint const &in_point) | |
WorldPoint (WindowPoint const &in_point) | |
WorldPoint (PixelPoint const &in_point) | |
The WorldPoint class is a basic 3D point that is assumed to represent a location in world space.
|
inline |
Initializes a new Point.
|
inline |
Copies the existing point in_point.
HPS::WorldPoint::WorldPoint | ( | WindowKey const & | in_window, |
ObjectPoint const & | in_point | ||
) |
Converts the point in_point to world space via in_window.
HPS::WorldPoint::WorldPoint | ( | WindowKey const & | in_window, |
WorldPoint const & | in_point | ||
) |
Converts the point in_point to world space via in_window.
HPS::WorldPoint::WorldPoint | ( | WindowKey const & | in_window, |
CameraPoint const & | in_point | ||
) |
Converts the point in_point to world space via in_window.
HPS::WorldPoint::WorldPoint | ( | WindowKey const & | in_window, |
InnerWindowPoint const & | in_point | ||
) |
Converts the point in_point to world space via in_window.
HPS::WorldPoint::WorldPoint | ( | WindowKey const & | in_window, |
InnerPixelPoint const & | in_point | ||
) |
Converts the point in_point to world space via in_window.
HPS::WorldPoint::WorldPoint | ( | WindowKey const & | in_window, |
WindowPoint const & | in_point | ||
) |
Converts the point in_point to world space via in_window.
HPS::WorldPoint::WorldPoint | ( | WindowKey const & | in_window, |
PixelPoint const & | in_point | ||
) |
Converts the point in_point to world space via in_window.
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inherited |
|
inherited |
|
inlineinherited |
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
inlineinherited |
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
inlineinherited |
|
inherited |
|
inherited |
|
inlineinherited |
|
inherited |
|
inherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlinestaticinherited |
|
inlinestaticinherited |
|
inherited |
|
inherited |
|
inherited |