forked from dgobbi/ToolCursor
-
Notifications
You must be signed in to change notification settings - Fork 0
/
vtkSystemCursorShapes.h
53 lines (40 loc) · 1.57 KB
/
vtkSystemCursorShapes.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
/*=========================================================================
Program: ToolCursor
Module: vtkSystemCursorShapes.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 vtkSystemCursorShapes - Vectorized system cursor shapes.
// .SECTION Description
// This class is a collection of cursor shapes for use with the
// vtkToolCursor. The shapes are vectorized version of system
// cursor shapes that can be magnified or reoriented without looking
// pixellated. The two shapes available are "Pointer" and "Crosshair".
#ifndef __vtkSystemCursorShapes_h
#define __vtkSystemCursorShapes_h
#include "vtkCursorShapes.h"
class vtkPolyData;
class VTK_EXPORT vtkSystemCursorShapes : public vtkCursorShapes
{
public:
// Description:
// Instantiate the object.
static vtkSystemCursorShapes *New();
// Description:
// Standard vtkObject methods
vtkTypeMacro(vtkSystemCursorShapes,vtkCursorShapes);
void PrintSelf(ostream& os, vtkIndent indent);
protected:
vtkSystemCursorShapes();
~vtkSystemCursorShapes();
void MakeShapes();
static vtkDataSet *MakePointerShape();
static vtkDataSet *MakeCrosshairShape();
private:
vtkSystemCursorShapes(const vtkSystemCursorShapes&); //Not implemented
void operator=(const vtkSystemCursorShapes&); //Not implemented
};
#endif