Inherited by DD::Image::DeepPixelOp.
Public Member Functions | |
| DeepFilterOp (Node *node) | |
| virtual bool | test_input (int idx, Op *op) const |
| void | _validate (bool for_real) |
| void | getDeepRequests (DD::Image::Box box, const DD::Image::ChannelSet &channels, int count, std::vector< RequestData > &requests) |
| DeepOp * | input0 () |
_validate gets the deep info from the input, and getDeepRequests() forwards the request to the input (adding Mask_Z). The only remaining function for subclasses to implement is doDeepEngine().
| virtual bool DD::Image::DeepFilterOp::test_input | ( | int | idx, | |
| Op * | op | |||
| ) | const [inline, virtual] |
Only allow DeepOps to be connected as inputs
Reimplemented from DD::Image::Op.
| void DD::Image::DeepFilterOp::_validate | ( | bool | for_real | ) | [inline, virtual] |
Copy the input deepInfo as this Op's deepInfo, otherwise start a new (empty) one.
Implements DD::Image::DeepOp.
| void DD::Image::DeepFilterOp::getDeepRequests | ( | DD::Image::Box | box, | |
| const DD::Image::ChannelSet & | channels, | |||
| int | count, | |||
| std::vector< RequestData > & | requests | |||
| ) | [inline, virtual] |
Pass through the request, but additionally add on a request for the Z channel
Implements DD::Image::DeepOp.
| DeepOp* DD::Image::DeepFilterOp::input0 | ( | ) | [inline] |
Get the first input, as a DeepOp, or NULL if it is not connected.
References DD::Image::Op::input().
| ©2009 The Foundry Visionmongers, Ltd. All Rights Reserved. |