#include <vil_image_view_base.h>
Inheritance diagram for vil_image_view_base:

If you want an actual image, try instantiating vil_image_view<T>.
Definition at line 26 of file vil_image_view_base.h.
Public Member Functions | |
| virtual | ~vil_image_view_base () |
| unsigned | ni () const |
| Width. | |
| unsigned | nj () const |
| Height. | |
| unsigned | nplanes () const |
| Number of planes. | |
| unsigned long | size () const |
| The number of pixels. | |
| virtual void | set_size (unsigned width, unsigned height)=0 |
| set_size current planes to width x height. | |
| virtual void | set_size (unsigned width, unsigned height, unsigned n_planes)=0 |
| resize to width x height x n_planes. | |
| virtual void | print (vcl_ostream &) const =0 |
| Print a 1-line summary of contents. | |
| virtual vcl_string | is_a () const =0 |
| Return class name. | |
| virtual enum vil_pixel_format | pixel_format () const =0 |
| Return a description of the concrete data pixel type. | |
| virtual bool | is_class (vcl_string const &s) const |
| True if this is (or is derived from) class s. | |
Protected Member Functions | |
| vil_image_view_base (unsigned n_i, unsigned n_j, unsigned n_planes) | |
| vil_image_view_base () | |
| Default is an empty one-plane image. | |
Protected Attributes | |
| unsigned | ni_ |
| Number of columns. | |
| unsigned | nj_ |
| Number of rasters. | |
| unsigned | nplanes_ |
| Number of planes. | |
Private Member Functions | |
| void | ref () |
| void | unref () |
Private Attributes | |
| int | reference_count_ |
Friends | |
| class | vil_smart_ptr< vil_image_view_base > |
|
||||||||||||||||
|
Definition at line 36 of file vil_image_view_base.h. |
|
|
Default is an empty one-plane image. Don't set nplanes_ to zero as it confuses set_size(nx,ny) later Definition at line 41 of file vil_image_view_base.h. |
|
|
Definition at line 45 of file vil_image_view_base.h. |
|
|
Return class name.
Implemented in vil_image_view< T >, and vil_image_view< bool >. |
|
|
True if this is (or is derived from) class s.
Reimplemented in vil_image_view< T >, and vil_image_view< bool >. Definition at line 78 of file vil_image_view_base.h. |
|
|
Width.
Definition at line 48 of file vil_image_view_base.h. |
|
|
Height.
Definition at line 50 of file vil_image_view_base.h. |
|
|
Number of planes.
Definition at line 52 of file vil_image_view_base.h. |
|
|
Return a description of the concrete data pixel type. For example if the value is VIL_PIXEL_FORMAT_BYTE, you can safely cast, or assign the base class reference to a vil_image_view<vxl_byte>. Implemented in vil_image_view< T >, and vil_image_view< bool >. |
|
|
Print a 1-line summary of contents.
Implemented in vil_image_view< T >, and vil_image_view< bool >. |
|
|
Definition at line 84 of file vil_image_view_base.h. |
|
||||||||||||||||
|
resize to width x height x n_planes. If already correct size, this function returns quickly Implemented in vil_image_view< T >, and vil_image_view< bool >. |
|
||||||||||||
|
set_size current planes to width x height. If already correct size, this function returns quickly Implemented in vil_image_view< T >, and vil_image_view< bool >. |
|
|
The number of pixels.
Definition at line 55 of file vil_image_view_base.h. |
|
|
Definition at line 85 of file vil_image_view_base.h. |
|
|
Definition at line 83 of file vil_image_view_base.h. |
|
|
Number of columns.
Definition at line 30 of file vil_image_view_base.h. |
|
|
Number of rasters.
Definition at line 32 of file vil_image_view_base.h. |
|
|
Number of planes.
Definition at line 34 of file vil_image_view_base.h. |
|
|
Definition at line 88 of file vil_image_view_base.h. |
1.4.4