Filter Library Camera Interface Physics

CScanFilterShift Class Reference
[Shift Filter]

#include <ScanFilterShift.h>

Inheritance diagram for CScanFilterShift:

CScanFilter List of all members.

Detailed Description

Definition at line 71 of file ScanFilterShift.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::ApplyCore().
virtual DragSupportType SupportDragInput () const
 the supported dragmethod(s).
void SetDragInput (BOOL bL2R, CRect rcIn)
 apply the filter to the selected area.
Accessors
DiffType GetShift () const
 the current shift.
DiffElementType GetShiftX () const
 the current x-shift.
DiffElementType GetShiftY () const
 the current y-shift.
Mutators
void SetShiftX (DiffElementType x)
 set the x-shift.
void SetShiftY (DiffElementType y)
 set the x-shift.

Static Public Attributes

static LPCTSTR m_lpcsFilterName
 the filter name.
static LPCTSTR m_lpcsShortFilterName
 the class short filtername.
static const DiffElementType def_nShiftX
 the default new X-size.
static const DiffElementType def_nShiftY
 the default new Y-size.

Protected Member Functions

virtual void Serialize (CArchive &ar)
 store or retrieve the object's settings.
void Shift (BOOL bDoR2L)
 process the given frame part (L2R, R2L frame part).

Protected Attributes

DiffType m_cpShift
 the shift.

Friends

class CFilterDlg_Shift
 its dialog class.


Member Function Documentation

void CScanFilterShift::ReadFilterSettings (  )  [virtual]

via registry); see also CScanFilterNull::ReadFilterSettings().

Reimplemented from CScanFilter.

Definition at line 102 of file ScanFilterShift.cpp.

References gCflRegistrySubkey, m_lpcsFilterName, Q_INVALID, and SetParameters().

void CScanFilterShift::WriteFilterSettings (  )  const [virtual]

for use with the filterlist window (e.g. via registry); see also ReadFilterSettings().

Reimplemented from CScanFilter.

Definition at line 121 of file ScanFilterShift.cpp.

References gCflRegistrySubkey, GetParameters(), m_lpcsFilterName, and Q_INVALID.


The documentation for this class was generated from the following files:
Camera Filter Library documentation © 2004-2007 by Leiden Probe Microscopy