degate  0.1.2
Public Member Functions | Private Attributes
degate::ImageBase Class Reference

#include <Image.h>

Inheritance diagram for degate::ImageBase:
Inheritance graph
[legend]

List of all members.

Public Member Functions

 ImageBase (unsigned int _width, unsigned int _height)
virtual ~ImageBase ()
unsigned int get_width () const
 Get the width of an image.
unsigned int get_height () const
 Get the height of an image.
BoundingBox const & get_bounding_box () const
 Get the bounding box that represents the image.

Private Attributes

BoundingBox bounding_box

Detailed Description

Definition at line 58 of file Image.h.


Constructor & Destructor Documentation

degate::ImageBase::ImageBase ( unsigned int  _width,
unsigned int  _height 
) [inline]

Definition at line 66 of file Image.h.

                                                         :
      bounding_box(_width, _height) {}
virtual degate::ImageBase::~ImageBase ( ) [inline, virtual]

Definition at line 69 of file Image.h.

{}

Member Function Documentation

Get the bounding box that represents the image.

Definition at line 90 of file Image.h.

References bounding_box.

                                                       {
      return bounding_box;
    }
unsigned int degate::ImageBase::get_height ( ) const [inline]

Get the height of an image.

Definition at line 83 of file Image.h.

References bounding_box, and degate::BoundingBox::get_height().

                                           {
      return bounding_box.get_height();
    }

Here is the call graph for this function:

unsigned int degate::ImageBase::get_width ( ) const [inline]

Get the width of an image.

Definition at line 75 of file Image.h.

References bounding_box, and degate::BoundingBox::get_width().

                                          {
      return bounding_box.get_width();
    }

Here is the call graph for this function:


Member Data Documentation

Definition at line 62 of file Image.h.

Referenced by get_bounding_box(), get_height(), and get_width().


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