Scope
scope::gui::CStackSettingsPage Class Reference

#include <StackSettingsPage.h>

Inherits CPropertyPageImpl< CStackSettingsPage >.

Public Types

enum  { IDD = IDD_STACK_PROPPAGE }
 

Public Member Functions

void OnChangedRunState ()
 
void UpdatePlanesList ()
 
Called via Win32 messages

=/*;

()

BOOL OnInitDialog (CWindow wndFocus, LPARAM lInitParam)
 
LRESULT OnZControlRadio (WORD, WORD, HWND, BOOL &)
 
LRESULT OnRecalcButton (WORD, WORD, HWND, BOOL &)
 

Protected Attributes

bool initialized
 
scope::ScopeController scope_controller
 
CScopeButtonCtrl start_stack_button
 
CScopeEditCtrl< double > startat_edit
 
CScopeEditCtrl< double > stopat_edit
 
CScopeEditCtrl< double > spacing_edit
 
CScopeButtonCtrl starthere_button
 
CScopeButtonCtrl stophere_button
 
CScopeProgressCtrl stack_progress
 
CButton recalc_button
 
CButton zstage_button
 
CButton fastz_button
 
CStatic lambda_static
 
ZDevice zdevicetype
 
CListViewCtrl planes_list
 

Detailed Description

Settings page for stack scan stuff.

Definition at line 13 of file StackSettingsPage.h.

Member Function Documentation

BOOL scope::gui::CStackSettingsPage::OnInitDialog ( CWindow  wndFocus,
LPARAM  lInitParam 
)

initializes the dialog

Definition at line 20 of file StackSettingsPage.cpp.

LRESULT scope::gui::CStackSettingsPage::OnZControlRadio ( WORD  ,
WORD  wID,
HWND  ,
BOOL &   
)

handles clicks on the z control buttons

Definition at line 52 of file StackSettingsPage.cpp.

LRESULT scope::gui::CStackSettingsPage::OnRecalcButton ( WORD  ,
WORD  wID,
HWND  ,
BOOL &   
)

handles clicks on the recalculate button

Definition at line 64 of file StackSettingsPage.cpp.

void scope::gui::CStackSettingsPage::OnChangedRunState ( )

changes button states etc when acquisition is running.

Is connected to ScopeController::DisableOnRun

Definition at line 108 of file StackSettingsPage.cpp.

void scope::gui::CStackSettingsPage::UpdatePlanesList ( )

updates the list view ctrl on start/stop/spacing changes

Definition at line 69 of file StackSettingsPage.cpp.

Member Data Documentation

bool scope::gui::CStackSettingsPage::initialized
protected

true if window is initialized

Definition at line 18 of file StackSettingsPage.h.

scope::ScopeController scope::gui::CStackSettingsPage::scope_controller
protected

keep a ScopeController to connect GUI controls

Definition at line 21 of file StackSettingsPage.h.

CScopeButtonCtrl scope::gui::CStackSettingsPage::start_stack_button
protected

to start stack scan

Definition at line 24 of file StackSettingsPage.h.

CScopeEditCtrl<double> scope::gui::CStackSettingsPage::startat_edit
protected

stack start zcontrol position

Definition at line 27 of file StackSettingsPage.h.

CScopeEditCtrl<double> scope::gui::CStackSettingsPage::stopat_edit
protected

stack end zcontrol position

Definition at line 30 of file StackSettingsPage.h.

CScopeEditCtrl<double> scope::gui::CStackSettingsPage::spacing_edit
protected

spacing (in um) between slices

Definition at line 33 of file StackSettingsPage.h.

CScopeButtonCtrl scope::gui::CStackSettingsPage::starthere_button
protected

to set startat to current position

Definition at line 36 of file StackSettingsPage.h.

CScopeButtonCtrl scope::gui::CStackSettingsPage::stophere_button
protected

to set stopat to current position

Definition at line 39 of file StackSettingsPage.h.

CScopeProgressCtrl scope::gui::CStackSettingsPage::stack_progress
protected

for stack progress

Definition at line 42 of file StackSettingsPage.h.

CButton scope::gui::CStackSettingsPage::recalc_button
protected

trigger recalculation of the slices list

Definition at line 45 of file StackSettingsPage.h.

CButton scope::gui::CStackSettingsPage::zstage_button
protected

use zstage radio button

Definition at line 48 of file StackSettingsPage.h.

CButton scope::gui::CStackSettingsPage::fastz_button
protected

use fastz radio button

Definition at line 51 of file StackSettingsPage.h.

CStatic scope::gui::CStackSettingsPage::lambda_static
protected

for displaying space constant of exponential pockels interpolation (see parameters::stack)

Definition at line 54 of file StackSettingsPage.h.

ZDevice scope::gui::CStackSettingsPage::zdevicetype
protected

keeps track locally which zdevice type to use for stack

Definition at line 57 of file StackSettingsPage.h.

CListViewCtrl scope::gui::CStackSettingsPage::planes_list
protected

to edit properties of each plane

Definition at line 60 of file StackSettingsPage.h.


The documentation for this class was generated from the following files: