Filter Library | Camera | Interface Physics |
#include <ScanFilterDZ.h>
Inheritance diagram for CScanFilterDZ:
Definition at line 78 of file ScanFilterDZ.h.
Public Types | |
typedef CScanBaseBuffer::ValueType | ValueType |
the value type. | |
typedef ValueType * | Pointer |
the pointer type. | |
typedef const ValueType * | ConstPointer |
the const pointer type. | |
typedef CSize | SizeType |
the size type. | |
typedef DWORD | SizeElementType |
the size 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 | EditModeless (CWnd *pParentWnd) |
start filter dialog to edit parameters; no filter operations; see also CScanFilterNull::EditModeless(). | |
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::ApplyCore(). | |
virtual DWORD | GetNrOfInBuffers () const |
the number of input buffers is 2. | |
virtual CScanBaseBuffer * | GetInputBuffer (UINT nNr) |
the requested input buffer. | |
virtual void | SetInputBuffer (UINT nNr, CScanBaseBuffer *lpsbIn) |
set the given input buffer. | |
Accessors | |
double | GetFactor () const |
the current factor. | |
double | GetOffset () const |
the current offset. | |
Mutators | |
void | SetFactor (double factor) |
set the factor. | |
void | SetOffset (double offset) |
set the offset. | |
Static Public Attributes | |
static LPCTSTR | m_lpcsFilterName |
the filter name. | |
static LPCTSTR | m_lpcsShortFilterName |
the class short filtername. | |
static const double | def_dFactor |
the default factor. | |
static const double | def_dOffset |
the default offset. | |
Protected Member Functions | |
virtual void | Serialize (CArchive &ar) |
store or retrieve the object's settings. | |
void | Process (ConstPointer in1, ConstPointer end1, ConstPointer in2, Pointer out) |
process the given frame part (L2R, R2L frame part). | |
Protected Attributes | |
CScanBaseBuffer * | m_lpsbIn2 |
the second input buffer. | |
double | m_dOffset |
the filter offset value. | |
double | m_dFactor |
the filter multiplication value | |
Friends | |
class | CFilterDlg_DZ |
its dialog class. |
void CScanFilterDZ::ReadFilterSettings | ( | ) | [virtual] |
via registry); see also CScanFilterNull::ReadFilterSettings().
Reimplemented from CScanFilter.
Definition at line 114 of file ScanFilterDZ.cpp.
References gCflRegistrySubkey, m_lpcsFilterName, Q_INVALID, and SetParameters().
void CScanFilterDZ::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 ScanFilterDZ.cpp.
References gCflRegistrySubkey, GetParameters(), m_lpcsFilterName, and Q_INVALID.