QCAD Application Framework
CAD Application Development and Automation.
Main Page
Related Pages
Modules
Classes
Files
File List
File Members
All
Classes
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Groups
Pages
RMoveSelectionOperation.h
Go to the documentation of this file.
1
#ifndef RMOVESELECTIONOPERATION_H
2
#define RMOVESELECTIONOPERATION_H
3
4
#include "
RDocument.h
"
5
#include "
REntity.h
"
6
#include "
RExporter.h
"
7
#include "
ROperation.h
"
8
#include "
RVector.h
"
9
10
18
class
RMoveSelectionOperation
:
public
ROperation
{
19
public
:
20
RMoveSelectionOperation
(
21
const
RVector
&
referencePoint
,
const
RVector
&
targetPoint
22
);
23
24
virtual
~RMoveSelectionOperation
() { }
25
26
virtual
RTransaction
apply
(
RDocument
& document,
bool
preview =
false
)
const
;
27
28
private
:
29
RVector
referencePoint
;
30
RVector
targetPoint
;
31
};
32
33
Q_DECLARE_METATYPE
(
RMoveSelectionOperation
*)
34
35
#endif
src
operations
RMoveSelectionOperation.h
Generated on Tue Jun 26 2012 18:41:08 for QCAD Application Framework by
1.8.1.1