VTK
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
dox
Common
vtkEventForwarderCommand.h
Go to the documentation of this file.
1
/*=========================================================================
2
3
Program: Visualization Toolkit
4
Module: vtkEventForwarderCommand.h
5
6
Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
7
All rights reserved.
8
See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
9
10
This software is distributed WITHOUT ANY WARRANTY; without even
11
the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
12
PURPOSE. See the above copyright notice for more information.
13
14
=========================================================================*/
27
#ifndef __vtkEventForwarderCommand_h
28
#define __vtkEventForwarderCommand_h
29
30
#include "
vtkCommand.h
"
31
32
class
VTK_COMMON_EXPORT
vtkEventForwarderCommand
:
public
vtkCommand
33
{
34
public
:
35
vtkTypeMacro(
vtkEventForwarderCommand
,
vtkCommand
);
36
37
static
vtkEventForwarderCommand
*
New
()
38
{
return
new
vtkEventForwarderCommand
;};
39
44
void
Execute
(
vtkObject
*caller,
unsigned
long
eid,
void
*callData);
45
47
49
virtual
void
SetTarget(
vtkObject
*obj)
50
{ this->Target = obj; }
51
virtual
void
* GetTarget()
52
{
return
this->Target; }
54
55
protected
:
56
57
vtkObject
*
Target
;
58
59
vtkEventForwarderCommand
();
60
~vtkEventForwarderCommand
() {};
61
};
62
63
#endif
/* __vtkEventForwarderCommand_h */
64
Generated on Sun Sep 9 2012 13:03:26 for VTK by
1.8.1.2