Public Member Functions | |
| void | _validate (bool) |
| void | _request (int x, int y, int r, int t, ChannelMask, int count) |
| void | engine (int y, int x, int r, ChannelMask, Row &) |
| DownRez (Node *node=0) | |
| int | factor () const |
| void | factor (int v) |
| void | factor (int v, int w) |
| int | factor_x () const |
| void | factor_x (int v) |
| int | factor_y () const |
| void | factor_y (int v) |
| const char * | Class () const |
| const char * | node_help () const |
| void DownRez::_validate | ( | bool | for_real | ) | [virtual] |
Reimplemented from DD::Image::Iop.
References DD::Image::Iop::copy_info(), DD::Image::Mask_All, DD::Image::Iop::set_out_channels(), and DD::Image::Op::slowness().
| void DownRez::_request | ( | int | x, | |
| int | y, | |||
| int | r, | |||
| int | t, | |||
| ChannelMask | c, | |||
| int | count | |||
| ) | [virtual] |
Requests the enlarged area.
Reimplemented from DD::Image::Iop.
References DD::Image::Iop::input0(), and DD::Image::Iop::request().
| void DownRez::engine | ( | int | y, | |
| int | x, | |||
| int | r, | |||
| ChannelMask | channels, | |||
| Row & | row | |||
| ) | [virtual] |
Because get() does the work of padding the request with any outside area our engine does not have to worry about the picture edges, making it much simpler.
Implements DD::Image::Iop.
References DD::Image::Row::erase(), DD::Image::Iop::get(), DD::Image::Iop::input0(), DD::Image::Row::is_zero(), MAX(), MIN(), and DD::Image::Row::writable().
| ©2009 The Foundry Visionmongers, Ltd. All Rights Reserved. |