#include <HxNeighbFunctorTem.h>
Inheritance diagram for HxNeighbFunctorTem::
Public Methods | |
HxNeighbFunctorTem (HxString name) | |
Constructor. More... | |
virtual | ~HxNeighbFunctorTem () |
virtual void | init ()=0 |
Initialize the functor. More... | |
virtual void | next (ArgType pixV, ArgType maskV, HxPoint p)=0 |
Process the next element. More... | |
virtual ResType | result ()=0 |
Produce result. More... | |
virtual int | hasPhase2 () |
Does functor have a second phase?. More... | |
virtual void | init2 () |
Initialize phase 2. More... | |
virtual void | next2 (ArgType pixV, ArgType maskV, HxPoint p) |
Process the next element in phase 2. More... | |
virtual ResType | result2 () |
Produce result phase 2. More... |
|
Constructor.
00020 { 00021 HxNeighbFunctorTable<ArgType, ResType>::instance()->insert(name, this); 00022 _name = name; 00023 } |
|
Initialize the functor.
|
|
Process the next element.
|
|
Produce result.
|
|
Does functor have a second phase?. Default: 0.
00039 { 00040 return 0; 00041 } |
|
Initialize phase 2. Default: ignore.
00046 { 00047 } |
|
Process the next element in phase 2. Default: ignore.
00052 { 00053 } |
|
Produce result phase 2. Default: HxScalarInt(0).
00058 { 00059 return HxScalarInt(0); 00060 } |