VTK
dox/Common/Core/Testing/Cxx/vtkTestNewVar.h
Go to the documentation of this file.
00001 /*=========================================================================
00002 
00003   Program:   Visualization Toolkit
00004   Module:    vtkTestNewVar.cxx
00005 
00006   Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
00007   All rights reserved.
00008   See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
00009 
00010      This software is distributed WITHOUT ANY WARRANTY; without even
00011      the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
00012      PURPOSE.  See the above copyright notice for more information.
00013 
00014 =========================================================================*/
00020 #ifndef __vtkTestNewVar_h
00021 #define __vtkTestNewVar_h
00022 
00023 #include "vtkObject.h"
00024 #include "vtkNew.h"
00025 
00026 class vtkPoints2D;
00027 
00028 class vtkTestNewVar : public vtkObject
00029 {
00030 public:
00031   static vtkTestNewVar * New();
00032 
00033   vtkTypeMacro(vtkTestNewVar, vtkObject)
00034   void PrintSelf(ostream& os, vtkIndent indent);
00035 
00037   vtkIdType GetPointsRefCount();
00038 
00042   vtkObject * GetPoints();
00043 
00044 protected:
00045   vtkTestNewVar();
00046   ~vtkTestNewVar();
00047 
00048   vtkNew<vtkPoints2D> Points;
00049 
00050 private:
00051   vtkTestNewVar(const vtkTestNewVar&);  // Not implemented.
00052   void operator=(const vtkTestNewVar&);  // Not implemented.
00053 };
00054 
00055 #endif