TuttleOFX
1
|
#include <Rect.hpp>
Public Types | |
typedef T | value_type |
Public Member Functions | |
Rect () | |
Rect (const T nX1, const T nY1, const T nX2, const T nY2) | |
Rect (const Rect &r) | |
template<class OtherRect > | |
Rect (const OtherRect &r) | |
~Rect () | |
Rect & | operator= (const Rect &r) |
const T & | operator[] (const std::size_t i) const |
T & | operator[] (const std::size_t i) |
point2< T > | cornerMin () const |
point2< T > | cornerMax () const |
point2< T > | size () const |
Data Fields | |
T | x1 |
T | y1 |
T | x2 |
T | y2 |
Static Public Attributes | |
static const std::size_t | num_dimensions = 4 |
Static Private Attributes | |
static T Rect< T >const | mem_array [num_dimensions] = { &Rect<T>::x1, &Rect<T>::y1, &Rect<T>::x2, &Rect<T>::y2 } |
typedef T terry::Rect< T >::value_type |
terry::Rect< T >::Rect | ( | ) | [inline] |
terry::Rect< T >::Rect | ( | const T | nX1, |
const T | nY1, | ||
const T | nX2, | ||
const T | nY2 | ||
) | [inline] |
terry::Rect< T >::Rect | ( | const Rect< T > & | r | ) | [inline] |
terry::Rect< T >::Rect | ( | const OtherRect< T > & | r | ) | [inline] |
terry::Rect< T >::~Rect | ( | ) | [inline] |
point2<T> terry::Rect< T >::cornerMax | ( | ) | const [inline] |
point2<T> terry::Rect< T >::cornerMin | ( | ) | const [inline] |
Rect& terry::Rect< T >::operator= | ( | const Rect< T > & | r | ) | [inline] |
Definition at line 36 of file Rect.hpp.
References terry::Rect< T >::x1, terry::Rect< T >::x2, terry::Rect< T >::y1, and terry::Rect< T >::y2.
const T& terry::Rect< T >::operator[] | ( | const std::size_t | i | ) | const [inline] |
T& terry::Rect< T >::operator[] | ( | const std::size_t | i | ) | [inline] |
point2<T> terry::Rect< T >::size | ( | ) | const [inline] |
Definition at line 45 of file Rect.hpp.
Referenced by terry::filter::motionvectors_resample_pixels(), terry::render_glyph< view_t >::operator()(), and terry::sampler::resample_pixels_progress().
const std::size_t terry::Rect< T >::num_dimensions = 4 [static] |
T terry::Rect< T >::x1 |
Definition at line 47 of file Rect.hpp.
Referenced by BOOST_AUTO_TEST_CASE(), terry::draw::fill_pixels(), terry::filter::floodFill::flood_fill(), terry::filter::floodFill::flood_fill_bruteForce(), tuttle::plugin::gilToOfx(), terry::filter::motionvectors_resample_pixels(), terry::render_glyph< view_t >::operator()(), terry::operator<<(), terry::Rect< T >::operator=(), terry::pointInRect(), terry::sampler::resample_pixels_progress(), terry::subimage_view(), terry::algorithm::transform_pixels_locator(), terry::algorithm::transform_pixels_locator_progress(), and terry::translateRegion().
T terry::Rect< T >::x2 |
Definition at line 47 of file Rect.hpp.
Referenced by BOOST_AUTO_TEST_CASE(), terry::draw::fill_pixels(), terry::filter::floodFill::flood_fill(), terry::filter::floodFill::flood_fill_bruteForce(), tuttle::plugin::gilToOfx(), terry::filter::motionvectors_resample_pixels(), terry::render_glyph< view_t >::operator()(), terry::Rect< T >::operator=(), terry::pointInRect(), terry::sampler::resample_pixels_progress(), terry::subimage_view(), terry::algorithm::transform_pixels_locator(), terry::algorithm::transform_pixels_locator_progress(), and terry::translateRegion().
T terry::Rect< T >::y1 |
Definition at line 47 of file Rect.hpp.
Referenced by BOOST_AUTO_TEST_CASE(), terry::draw::fill_pixels(), terry::filter::floodFill::flood_fill(), terry::filter::floodFill::flood_fill_bruteForce(), tuttle::plugin::gilToOfx(), terry::filter::motionvectors_resample_pixels(), terry::render_glyph< view_t >::operator()(), terry::Rect< T >::operator=(), terry::pointInRect(), terry::sampler::resample_pixels_progress(), terry::subimage_view(), terry::algorithm::transform_pixels_locator(), terry::algorithm::transform_pixels_locator_progress(), and terry::translateRegion().
T terry::Rect< T >::y2 |
Definition at line 47 of file Rect.hpp.
Referenced by BOOST_AUTO_TEST_CASE(), terry::draw::fill_pixels(), terry::filter::floodFill::flood_fill(), terry::filter::floodFill::flood_fill_bruteForce(), tuttle::plugin::gilToOfx(), terry::filter::motionvectors_resample_pixels(), terry::render_glyph< view_t >::operator()(), terry::Rect< T >::operator=(), terry::pointInRect(), terry::sampler::resample_pixels_progress(), terry::subimage_view(), terry::algorithm::transform_pixels_locator(), terry::algorithm::transform_pixels_locator_progress(), and terry::translateRegion().