VTK
vtkTestNewVar.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: Visualization Toolkit
4  Module: vtkTestNewVar.cxx
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 =========================================================================*/
20 #ifndef vtkTestNewVar_h
21 #define vtkTestNewVar_h
22 
23 #include "vtkObject.h"
24 #include "vtkNew.h"
25 
26 class vtkPoints2D;
27 
28 class vtkTestNewVar : public vtkObject
29 {
30 public:
31  static vtkTestNewVar * New();
32 
33  vtkTypeMacro(vtkTestNewVar, vtkObject)
34  void PrintSelf(ostream& os, vtkIndent indent);
35 
38 
42  vtkObject * GetPoints();
43 
44 protected:
45  vtkTestNewVar();
46  ~vtkTestNewVar();
47 
49 
50 private:
51  vtkTestNewVar(const vtkTestNewVar&); // Not implemented.
52  void operator=(const vtkTestNewVar&); // Not implemented.
53 };
54 
55 #endif
abstract base class for most VTK objects
Definition: vtkObject.h:61
vtkNew< vtkPoints2D > Points
Definition: vtkTestNewVar.h:48
vtkObject * GetPoints()
int vtkIdType
Definition: vtkType.h:247
void PrintSelf(ostream &os, vtkIndent indent)
a simple class to control print indentation
Definition: vtkIndent.h:38
represent and manipulate 2D points
Definition: vtkPoints2D.h:35
vtkIdType GetPointsRefCount()
Allocate and hold a VTK object.
Definition: vtkNew.h:66
static vtkTestNewVar * New()