Image Component Library (ICL)
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Public Member Functions | Public Attributes | Static Public Attributes
icl::utils::Size32f Class Reference

Size32f class of the ICL (float valued) More...

#include <Size32f.h>

List of all members.

Public Member Functions

 Size32f ()
 default constructor
 Size32f (const Size32f &s)
 deep copy of another Size32f
 Size32f (float width, float height)
 creates a specified size
 Size32f (const Size &other)
 creates a float-size from given int size
bool isNull () const
 checks wether the object instance is null, i.e. all elements are zero
bool operator== (const Size32f &s) const
 checks if two sizes are equal
bool operator!= (const Size32f &s) const
 checks if two size are not equal
Size32f operator+ (const Size32f &s) const
 add a size to another size
Size32f operator- (const Size32f &s) const
 substracts a size from another size
Size32f operator* (double d) const
 scales the size by a scalar value
Size32f operator/ (double d) const
 scales the size by a scalar value
Size32foperator+= (const Size32f &s)
 adds another size inplace
Size32foperator-= (const Size32f &s)
 substracst another size inplace
Size32foperator*= (double d)
 scales the size parameters inplace by a scalar
Size32foperator/= (double d)
 scales the size parameters inplace by a scalar
float getDim () const
 reutrns width*height

Public Attributes

float width
float height

Static Public Attributes

static const Size32f null
 null is w=0, h=0

Detailed Description

Size32f class of the ICL (float valued)


Constructor & Destructor Documentation

default constructor

icl::utils::Size32f::Size32f ( const Size32f s) [inline]

deep copy of another Size32f

icl::utils::Size32f::Size32f ( float  width,
float  height 
) [inline]

creates a specified size

icl::utils::Size32f::Size32f ( const Size other) [inline]

creates a float-size from given int size


Member Function Documentation

float icl::utils::Size32f::getDim ( ) const [inline]

reutrns width*height

bool icl::utils::Size32f::isNull ( ) const [inline]

checks wether the object instance is null, i.e. all elements are zero

bool icl::utils::Size32f::operator!= ( const Size32f s) const [inline]

checks if two size are not equal

Size32f icl::utils::Size32f::operator* ( double  d) const [inline]

scales the size by a scalar value

Size32f& icl::utils::Size32f::operator*= ( double  d) [inline]

scales the size parameters inplace by a scalar

Size32f icl::utils::Size32f::operator+ ( const Size32f s) const [inline]

add a size to another size

Size32f& icl::utils::Size32f::operator+= ( const Size32f s) [inline]

adds another size inplace

Size32f icl::utils::Size32f::operator- ( const Size32f s) const [inline]

substracts a size from another size

Size32f& icl::utils::Size32f::operator-= ( const Size32f s) [inline]

substracst another size inplace

Size32f icl::utils::Size32f::operator/ ( double  d) const [inline]

scales the size by a scalar value

Size32f& icl::utils::Size32f::operator/= ( double  d) [inline]

scales the size parameters inplace by a scalar

bool icl::utils::Size32f::operator== ( const Size32f s) const [inline]

checks if two sizes are equal


Member Data Documentation

null is w=0, h=0


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines