Public Member Functions | Private Attributes
Pixel Class Reference

Stores discrete pixel coordinates. More...

#include <Pixel.h>

List of all members.

Public Member Functions

bool operator!= (Pixel &rhs)
Pixel operator* (float rhs)
Pixel operator/ (float rhs)
bool operator== (Pixel &rhs)
 Pixel (int x=0, int y=0)
void setX (int x)
void setY (int y)
Point2D toPoint2D ()
std::vector< Point2D > vertices ()
int x () const
int y () const
 ~Pixel ()

Private Attributes

int m_X
int m_Y

Detailed Description

Stores discrete pixel coordinates.

Author:
Stephan Wirth, David Gossow (RX)

Definition at line 20 of file Pixel.h.


Constructor & Destructor Documentation

Pixel::Pixel ( int  x = 0,
int  y = 0 
) [inline]

Definition at line 24 of file Pixel.h.

Pixel::~Pixel ( ) [inline]

Definition at line 25 of file Pixel.h.


Member Function Documentation

bool Pixel::operator!= ( Pixel rhs) [inline]

Definition at line 34 of file Pixel.h.

Pixel Pixel::operator* ( float  rhs) [inline]

Definition at line 35 of file Pixel.h.

Pixel Pixel::operator/ ( float  rhs) [inline]

Definition at line 36 of file Pixel.h.

bool Pixel::operator== ( Pixel rhs) [inline]

Definition at line 33 of file Pixel.h.

void Pixel::setX ( int  x) [inline]

Definition at line 30 of file Pixel.h.

void Pixel::setY ( int  y) [inline]

Definition at line 31 of file Pixel.h.

Point2D Pixel::toPoint2D ( ) [inline]

Definition at line 38 of file Pixel.h.

std::vector<Point2D> Pixel::vertices ( ) [inline]

Definition at line 40 of file Pixel.h.

int Pixel::x ( ) const [inline]

Definition at line 27 of file Pixel.h.

int Pixel::y ( ) const [inline]

Definition at line 28 of file Pixel.h.


Member Data Documentation

int Pixel::m_X [private]

Definition at line 53 of file Pixel.h.

int Pixel::m_Y [private]

Definition at line 54 of file Pixel.h.


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


robbie_architecture
Author(s): Viktor Seib
autogenerated on Mon Oct 6 2014 02:53:09