Hoops Visualize HPS  version 2018-SP2
Hoops Visualize HPS 3D Rendering Engine
Looking for a senior C++ dev?
I'm looking for work. Hire me!
HPS::InnerWindowPoint Class Reference

The InnerWindowPoint class is a basic 2D point that is assumed to represent a location in inner window space. More...

#include <hps.h>

Inheritance diagram for HPS::InnerWindowPoint:
Collaboration diagram for HPS::InnerWindowPoint:

Public Member Functions

 InnerWindowPoint (float px=0.0f, float py=0.0f, float pz=0.0f)
 Initializes a new Point. More...
 
 InnerWindowPoint (Point const &in_point)
 Copies the existing point in_point. More...
 
 InnerWindowPoint (WindowKey const &in_window, ObjectPoint const &in_point)
 Converts the point in_point to inner window space via in_window. More...
 
 InnerWindowPoint (WindowKey const &in_window, WorldPoint const &in_point)
 Converts the point in_point to inner window space via in_window. More...
 
 InnerWindowPoint (WindowKey const &in_window, CameraPoint const &in_point)
 Converts the point in_point to inner window space via in_window. More...
 
 InnerWindowPoint (WindowKey const &in_window, InnerWindowPoint const &in_point)
 Converts the point in_point to inner window space via in_window. More...
 
 InnerWindowPoint (WindowKey const &in_window, InnerPixelPoint const &in_point)
 Converts the point in_point to inner window space via in_window. More...
 
 InnerWindowPoint (WindowKey const &in_window, WindowPoint const &in_point)
 Converts the point in_point to inner window space via in_window. More...
 
 InnerWindowPoint (WindowKey const &in_window, PixelPoint const &in_point)
 Converts the point in_point to inner window 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_3Doperator*= (F s)
 
Point_3Doperator*= (Vector_3D< F > const &v)
 
Point_3Doperator*= (Vector_2D< F > const &v)
 
Point_3Doperator/= (F s)
 
Point_3Doperator/= (Vector_3D< F > const &v)
 
Point_3Doperator/= (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
 
Foperator[] (size_t i)
 
F const & operator[] (size_t i) const
 
Point_3Doperator+= (Vector_3D< F > const &v)
 
Point_3Doperator+= (Vector_2D< F > const &v)
 
Point_3Doperator-= (Vector_3D< F > const &v)
 
Point_3Doperator-= (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

 InnerWindowPoint (ObjectPoint const &in_point)
 
 InnerWindowPoint (WorldPoint const &in_point)
 
 InnerWindowPoint (CameraPoint const &in_point)
 
 InnerWindowPoint (InnerPixelPoint const &in_point)
 
 InnerWindowPoint (WindowPoint const &in_point)
 
 InnerWindowPoint (PixelPoint const &in_point)
 

Detailed Description

The InnerWindowPoint class is a basic 2D point that is assumed to represent a location in inner window space.

Constructor & Destructor Documentation

◆ InnerWindowPoint() [1/15]

HPS::InnerWindowPoint::InnerWindowPoint ( float  px = 0.0f,
float  py = 0.0f,
float  pz = 0.0f 
)
inline

Initializes a new Point.

◆ InnerWindowPoint() [2/15]

HPS::InnerWindowPoint::InnerWindowPoint ( Point const &  in_point)
inline

Copies the existing point in_point.

◆ InnerWindowPoint() [3/15]

HPS::InnerWindowPoint::InnerWindowPoint ( WindowKey const &  in_window,
ObjectPoint const &  in_point 
)

Converts the point in_point to inner window space via in_window.

◆ InnerWindowPoint() [4/15]

HPS::InnerWindowPoint::InnerWindowPoint ( WindowKey const &  in_window,
WorldPoint const &  in_point 
)

Converts the point in_point to inner window space via in_window.

◆ InnerWindowPoint() [5/15]

HPS::InnerWindowPoint::InnerWindowPoint ( WindowKey const &  in_window,
CameraPoint const &  in_point 
)

Converts the point in_point to inner window space via in_window.

◆ InnerWindowPoint() [6/15]

HPS::InnerWindowPoint::InnerWindowPoint ( WindowKey const &  in_window,
InnerWindowPoint const &  in_point 
)

Converts the point in_point to inner window space via in_window.

◆ InnerWindowPoint() [7/15]

HPS::InnerWindowPoint::InnerWindowPoint ( WindowKey const &  in_window,
InnerPixelPoint const &  in_point 
)

Converts the point in_point to inner window space via in_window.

◆ InnerWindowPoint() [8/15]

HPS::InnerWindowPoint::InnerWindowPoint ( WindowKey const &  in_window,
WindowPoint const &  in_point 
)

Converts the point in_point to inner window space via in_window.

◆ InnerWindowPoint() [9/15]

HPS::InnerWindowPoint::InnerWindowPoint ( WindowKey const &  in_window,
PixelPoint const &  in_point 
)

Converts the point in_point to inner window space via in_window.

◆ InnerWindowPoint() [10/15]

HPS::InnerWindowPoint::InnerWindowPoint ( ObjectPoint const &  in_point)
private

◆ InnerWindowPoint() [11/15]

HPS::InnerWindowPoint::InnerWindowPoint ( WorldPoint const &  in_point)
private

◆ InnerWindowPoint() [12/15]

HPS::InnerWindowPoint::InnerWindowPoint ( CameraPoint const &  in_point)
private

◆ InnerWindowPoint() [13/15]

HPS::InnerWindowPoint::InnerWindowPoint ( InnerPixelPoint const &  in_point)
private

◆ InnerWindowPoint() [14/15]

HPS::InnerWindowPoint::InnerWindowPoint ( WindowPoint const &  in_point)
private

◆ InnerWindowPoint() [15/15]

HPS::InnerWindowPoint::InnerWindowPoint ( PixelPoint const &  in_point)
private

Member Function Documentation

◆ Equals()

template<typename F>
bool HPS::Point_3D< F >::Equals ( Point_3D< F > const &  p,
int  in_tolerance = 32 
) const
inlineinherited

◆ operator!=()

template<typename F>
bool HPS::Point_3D< F >::operator!= ( Point_3D< F > const &  p) const
inlineinherited

◆ operator*() [1/3]

template<typename F>
Point_3D const HPS::Point_3D< F >::operator* ( F  s) const
inlineinherited

◆ operator*() [2/3]

template<typename F>
HPS_INLINE Point_3D< F > const HPS::Point_3D< F >::operator* ( Vector_3D< F > const &  v) const
inherited

◆ operator*() [3/3]

template<typename F>
HPS_INLINE Point_3D< F > const HPS::Point_3D< F >::operator* ( Vector_2D< F > const &  v) const
inherited

◆ operator*=() [1/3]

template<typename F>
Point_3D& HPS::Point_3D< F >::operator*= ( F  s)
inlineinherited

◆ operator*=() [2/3]

template<typename F>
HPS_INLINE Point_3D< F > & HPS::Point_3D< F >::operator*= ( Vector_3D< F > const &  v)
inherited

◆ operator*=() [3/3]

template<typename F>
HPS_INLINE Point_3D< F > & HPS::Point_3D< F >::operator*= ( Vector_2D< F > const &  v)
inherited

◆ operator+() [1/2]

template<typename F>
HPS_INLINE Point_3D< F > const HPS::Point_3D< F >::operator+ ( Vector_3D< F > const &  v) const
inherited

◆ operator+() [2/2]

template<typename F>
HPS_INLINE Point_3D< F > const HPS::Point_3D< F >::operator+ ( Vector_2D< F > const &  v) const
inherited

◆ operator+=() [1/2]

template<typename F>
HPS_INLINE Point_3D< F > & HPS::Point_3D< F >::operator+= ( Vector_3D< F > const &  v)
inherited

◆ operator+=() [2/2]

template<typename F>
HPS_INLINE Point_3D< F > & HPS::Point_3D< F >::operator+= ( Vector_2D< F > const &  v)
inherited

◆ operator-() [1/4]

template<typename F>
Point_3D const HPS::Point_3D< F >::operator- ( ) const
inlineinherited

◆ operator-() [2/4]

template<typename F>
Vector_3D<F> const HPS::Point_3D< F >::operator- ( Point_3D< F > const &  p) const
inherited

◆ operator-() [3/4]

template<typename F>
HPS_INLINE Point_3D< F > const HPS::Point_3D< F >::operator- ( Vector_3D< F > const &  v) const
inherited

◆ operator-() [4/4]

template<typename F>
HPS_INLINE Point_3D< F > const HPS::Point_3D< F >::operator- ( Vector_2D< F > const &  v) const
inherited

◆ operator-=() [1/2]

template<typename F>
HPS_INLINE Point_3D< F > & HPS::Point_3D< F >::operator-= ( Vector_3D< F > const &  v)
inherited

◆ operator-=() [2/2]

template<typename F>
HPS_INLINE Point_3D< F > & HPS::Point_3D< F >::operator-= ( Vector_2D< F > const &  v)
inherited

◆ operator/() [1/3]

template<typename F>
Point_3D const HPS::Point_3D< F >::operator/ ( F  s) const
inlineinherited

◆ operator/() [2/3]

template<typename F>
HPS_INLINE Point_3D< F > const HPS::Point_3D< F >::operator/ ( Vector_3D< F > const &  v) const
inherited

◆ operator/() [3/3]

template<typename F>
HPS_INLINE Point_3D< F > const HPS::Point_3D< F >::operator/ ( Vector_2D< F > const &  v) const
inherited

◆ operator/=() [1/3]

template<typename F>
Point_3D& HPS::Point_3D< F >::operator/= ( F  s)
inlineinherited

◆ operator/=() [2/3]

template<typename F>
HPS_INLINE Point_3D< F > & HPS::Point_3D< F >::operator/= ( Vector_3D< F > const &  v)
inherited

◆ operator/=() [3/3]

template<typename F>
HPS_INLINE Point_3D< F > & HPS::Point_3D< F >::operator/= ( Vector_2D< F > const &  v)
inherited

◆ operator==()

template<typename F>
bool HPS::Point_3D< F >::operator== ( Point_3D< F > const &  p) const
inlineinherited

◆ operator[]() [1/2]

template<typename F>
F& HPS::Point_3D< F >::operator[] ( size_t  i)
inlineinherited

◆ operator[]() [2/2]

template<typename F>
F const& HPS::Point_3D< F >::operator[] ( size_t  i) const
inlineinherited

◆ Origin()

template<typename F>
static HPS_INLINE Point_3D HPS::Point_3D< F >::Origin ( )
inlinestaticinherited

◆ Zero()

template<typename F>
static HPS_INLINE Point_3D HPS::Point_3D< F >::Zero ( )
inlinestaticinherited

Member Data Documentation

◆ x

template<typename F>
F HPS::Point_3D< F >::x
inherited

◆ y

template<typename F>
F HPS::Point_3D< F >::y
inherited

◆ z

template<typename F>
F HPS::Point_3D< F >::z
inherited

The documentation for this class was generated from the following file: