VTK
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
dox
Rendering
Core
vtkPointPicker.h
Go to the documentation of this file.
1
/*=========================================================================
2
3
Program: Visualization Toolkit
4
Module: vtkPointPicker.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
=========================================================================*/
35
#ifndef __vtkPointPicker_h
36
#define __vtkPointPicker_h
37
38
#include "vtkRenderingCoreModule.h"
// For export macro
39
#include "
vtkPicker.h
"
40
41
class
VTKRENDERINGCORE_EXPORT
vtkPointPicker
:
public
vtkPicker
42
{
43
public
:
44
static
vtkPointPicker
*
New
();
45
vtkTypeMacro(
vtkPointPicker
,
vtkPicker
);
46
void
PrintSelf
(ostream& os,
vtkIndent
indent);
47
49
50
vtkGetMacro(PointId,
vtkIdType
);
52
53
protected
:
54
vtkPointPicker
();
55
~vtkPointPicker
() {};
56
57
vtkIdType
PointId;
//picked point
58
59
double
IntersectWithLine
(
double
p1[3],
double
p2[3],
double
tol,
60
vtkAssemblyPath
*path,
vtkProp3D
*p,
61
vtkAbstractMapper3D
*m);
62
void
Initialize
();
63
64
private
:
65
vtkPointPicker
(
const
vtkPointPicker
&);
// Not implemented.
66
void
operator=(
const
vtkPointPicker
&);
// Not implemented.
67
};
68
69
#endif
70
71
Generated on Thu May 24 2012 22:22:34 for VTK by
1.8.1