VTK
dox/Filters/General/vtkAppendPoints.h
Go to the documentation of this file.
00001 /*=========================================================================
00002 
00003   Program:   Visualization Toolkit
00004   Module:    vtkAppendPoints.h
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 =========================================================================*/
00030 #ifndef __vtkAppendPoints_h
00031 #define __vtkAppendPoints_h
00032 
00033 #include "vtkFiltersGeneralModule.h" // For export macro
00034 #include "vtkPolyDataAlgorithm.h"
00035 
00036 class VTKFILTERSGENERAL_EXPORT vtkAppendPoints : public vtkPolyDataAlgorithm
00037 {
00038 public:
00039   static vtkAppendPoints *New();
00040   vtkTypeMacro(vtkAppendPoints,vtkPolyDataAlgorithm);
00041   void PrintSelf(ostream& os, vtkIndent indent);
00042 
00044 
00048   vtkSetStringMacro(InputIdArrayName);
00049   vtkGetStringMacro(InputIdArrayName);
00051 
00053 
00061   vtkSetMacro(OutputPointsPrecision,int);
00062   vtkGetMacro(OutputPointsPrecision,int);
00064 
00065 protected:
00066   vtkAppendPoints();
00067   ~vtkAppendPoints();
00068 
00069   // Usual data generation method
00070   virtual int RequestData(vtkInformation *,
00071                           vtkInformationVector **, vtkInformationVector *);
00072   virtual int FillInputPortInformation(int, vtkInformation *);
00073 
00074   char* InputIdArrayName;
00075   int OutputPointsPrecision;
00076 private:
00077   vtkAppendPoints(const vtkAppendPoints&);  // Not implemented.
00078   void operator=(const vtkAppendPoints&);  // Not implemented.
00079 };
00080 
00081 #endif
00082 
00083