OSDN Git Service

FIRST REPOSITORY
[eos/hostdependOTHERS.git] / I686LINUX / util / I686LINUX / include / vtk / vtkStructuredPoints.h
1 /*=========================================================================
2
3   Program:   Visualization Toolkit
4   Module:    $RCSfile: vtkStructuredPoints.h,v $
5   Language:  C++
6   Date:      $Date: 2002/11/12 19:21:02 $
7   Version:   $Revision: 1.79 $
8
9   Copyright (c) 1993-2002 Ken Martin, Will Schroeder, Bill Lorensen 
10   All rights reserved.
11   See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
12
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.
16
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.
28
29
30 #ifndef __vtkStructuredPoints_h
31 #define __vtkStructuredPoints_h
32
33 #include "vtkImageData.h"
34
35   
36 class VTK_COMMON_EXPORT vtkStructuredPoints : public vtkImageData
37 {
38 public:
39   static vtkStructuredPoints *New();
40   vtkTypeRevisionMacro(vtkStructuredPoints,vtkImageData);
41
42   // Description:
43   // To simplify filter superclasses,
44   int GetDataObjectType() {return VTK_STRUCTURED_POINTS;}
45
46 protected:
47   vtkStructuredPoints();
48   ~vtkStructuredPoints() {};
49 private:
50   vtkStructuredPoints(const vtkStructuredPoints&);  // Not implemented.
51   void operator=(const vtkStructuredPoints&);  // Not implemented.
52 };
53
54 #endif
55
56
57