VR-Forces 4.1 Class Documentation
Home
Modules
Namespaces
Classes
Files
Examples
Behavior Models
File List
File Members
include
vrvCore
DtViewMagnificationCommand.h
Go to the documentation of this file.
1
/*******************************************************************************
2
** Copyright (c) 2010 MAK Technologies, Inc.
3
** All rights reserved.
4
*******************************************************************************/
5
/*******************************************************************************
6
** $RCSfile: $ $Revision: 95512 $ $State: $
7
*******************************************************************************/
8
12
13
#pragma once
14
15
#include <
vrvCore/DtVrvCommand.h
>
16
17
namespace
makVrv
18
{
22
class
DT_DLL_VRVCORE
DtViewMagnificationCommand
:
public
DtVrvCommand
23
{
24
public
:
25
DtViewMagnificationCommand
();
26
virtual
~
DtViewMagnificationCommand
();
27
28
virtual
std::string observer()
const
;
29
virtual
void
setObserver(
const
std::string& newObs);
30
31
virtual
double
viewMagnification()
const
;
32
virtual
void
setViewMagnification(
double
mag );
33
34
virtual
void
execute(
DtDe
& de);
35
36
protected
:
37
std::string
myObserver
;
38
double
myViewMagnification
;
39
};
40
43
class
DT_DLL_VRVCORE
DtViewMagnificationCommandCreator
:
44
public
DtVrvCommandCreator
45
{
46
public
:
47
DtViewMagnificationCommandCreator
(
GlobalIdConvertFunc
func);
48
virtual
~
DtViewMagnificationCommandCreator
();
49
virtual
DtVrvCommand
* create(
50
vrvControlToolkit::DtVrvControl_v1
* control);
51
};
52
53
}
//makVrv::
54
Document ID: Generated on Tue Jan 29 18:21:16 EST 2013 from SVN revision 123193
Copyright © 2005-2013 VT MÄK Inc. All Rights Reserved (
www.mak.com
)