Filter Library | Camera | Interface Physics |
#include <ScanFilterRank.h>
Inheritance diagram for CScanFilterRank:
Definition at line 37 of file ScanFilterRank.h.
Public Types | |
typedef CScanBaseBuffer::ValueType | ValueType |
the value type. | |
typedef CPoint | DiffType |
the point type. | |
typedef int | DiffElementType |
the point element type. | |
Public Member Functions | |
Camera--Filter Interface | |
virtual void | ReadFilterSettings () |
configure filter with settings as provided by the application on the filterlist window (e.g. | |
virtual void | WriteFilterSettings () const |
save filter settings e.g. | |
virtual LPCTSTR | GetParameters () const |
provide current filter parameter(s) for filter-scripting capture in the main application; see also CScanFilterNull::GetParameters(). | |
virtual BOOL | SetParameters (LPCTSTR lpParameters) |
set parameters for filter-script execution of filter; see also CScanFilterNull::SetParameters(). | |
virtual BOOL | RunModeless (CWnd *pParentWnd, CDocument *pDoc) |
create filter dialog and pre Apply() filter to view result; see also CScanFilterNull::RunModeless(). | |
virtual BOOL | Apply () |
check parameters, take care of a properly sized output buffer, set its name and copy filter parameters and process; see also CScanFilterNull::Apply(). | |
Accessors | |
int | Columns () const |
number of columns in image. | |
int | Rows () const |
number of columns in image. | |
DiffType | GetSize () const |
the current size. | |
DiffElementType | GetSizeX () const |
the current x-size. | |
DiffElementType | GetSizeY () const |
the current y-size. | |
Mutators | |
void | SetSize (CScanFilterRank::DiffType size) |
set the size. | |
void | SetSizeX (DiffElementType x) |
set the x-size. | |
void | SetSizeY (DiffElementType y) |
set the x-size. | |
Static Public Attributes | |
static const DiffElementType | def_nSizeX |
the default new X-size. | |
static const DiffElementType | def_nSizeY |
the default new Y-size. | |
Protected Member Functions | |
virtual void | Serialize (CArchive &ar) |
store or retrieve the object's settings; see also CScanFilterNull::Serialize(). | |
DECLARE_SERIAL (CScanFilterRank) virtual const char *GetFilterName() const | |
the filter name. | |
Protected Attributes | |
DiffType | m_cpSize |
the area size. | |
Friends | |
class | CFilterDlg_Rank |
its dialog class. |
void CScanFilterRank::ReadFilterSettings | ( | ) | [virtual] |
via registry); see also CScanFilterNull::ReadFilterSettings().
Reimplemented from CScanFilter.
Definition at line 114 of file ScanFilterRank.cpp.
References gCflRegistrySubkey, CScanFilter::GetFilterName(), Q_INVALID, and SetParameters().
void CScanFilterRank::WriteFilterSettings | ( | ) | const [virtual] |
for use with the filterlist window (e.g. via registry); see also ReadFilterSettings().
Reimplemented from CScanFilter.
Definition at line 133 of file ScanFilterRank.cpp.
References gCflRegistrySubkey, CScanFilter::GetFilterName(), GetParameters(), and Q_INVALID.