1 /*=========================================================================
3 Program: Visualization Toolkit
4 Module: $RCSfile: vtkStructuredPoints.h,v $
6 Date: $Date: 2002/11/12 19:21:02 $
7 Version: $Revision: 1.79 $
9 Copyright (c) 1993-2002 Ken Martin, Will Schroeder, Bill Lorensen
11 See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
13 This software is distributed WITHOUT ANY WARRANTY; without even
14 the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
15 PURPOSE. See the above copyright notice for more information.
17 =========================================================================*/
18 // .NAME vtkStructuredPoints - A subclass of ImageData.
19 // .SECTION Description
20 // StructuredPoints is a subclass of ImageData that requires the data extent
21 // to exactly match the update extent. Normall image data allows that the
22 // data extent may be larger than the update extent.
23 // StructuredPoints also defines the origin differently that vtkImageData.
24 // For structured points the origin is the location of first point.
25 // Whereas images define the origin as the location of point 0, 0, 0.
26 // Image Origin is stored in ivar, and structured points
27 // have special methods for setting/getting the origin/extents.
30 #ifndef __vtkStructuredPoints_h
31 #define __vtkStructuredPoints_h
33 #include "vtkImageData.h"
36 class VTK_COMMON_EXPORT vtkStructuredPoints : public vtkImageData
39 static vtkStructuredPoints *New();
40 vtkTypeRevisionMacro(vtkStructuredPoints,vtkImageData);
43 // To simplify filter superclasses,
44 int GetDataObjectType() {return VTK_STRUCTURED_POINTS;}
47 vtkStructuredPoints();
48 ~vtkStructuredPoints() {};
50 vtkStructuredPoints(const vtkStructuredPoints&); // Not implemented.
51 void operator=(const vtkStructuredPoints&); // Not implemented.