-
Notifications
You must be signed in to change notification settings - Fork 6
/
vtkFocalPlaneTool.h
55 lines (41 loc) · 1.48 KB
/
vtkFocalPlaneTool.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
/*=========================================================================
Program: ToolCursor
Module: vtkFocalPlaneTool.h
Copyright (c) 2010 David Gobbi
All rights reserved.
This software is distributed WITHOUT ANY WARRANTY; without even
the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
PURPOSE. See the above copyright notice for more information.
=========================================================================*/
// .NAME vtkFocalPlaneTool - Move the camera focal plane in and out.
// .SECTION Description
// This class moves the focal point of the camera away from or towards the
// viewer, in order to adjust the slice plane for the images.
#ifndef __vtkFocalPlaneTool_h
#define __vtkFocalPlaneTool_h
#include "vtkTool.h"
class vtkTransform;
class VTK_EXPORT vtkFocalPlaneTool : public vtkTool
{
public:
// Description:
// Instantiate the object.
static vtkFocalPlaneTool *New();
// Description:
// Standard vtkObject methods
vtkTypeMacro(vtkFocalPlaneTool,vtkTool);
void PrintSelf(ostream& os, vtkIndent indent);
// Description:
// These are the methods that are called when the action takes place.
virtual void StartAction();
virtual void StopAction();
virtual void DoAction();
protected:
vtkFocalPlaneTool();
~vtkFocalPlaneTool();
double StartDistance;
private:
vtkFocalPlaneTool(const vtkFocalPlaneTool&); //Not implemented
void operator=(const vtkFocalPlaneTool&); //Not implemented
};
#endif