Main Page | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Class Members | File Members | Related Pages

vtkGenericDataSetTessellator.h

Go to the documentation of this file.
00001 /*=========================================================================
00002 
00003   Program:   Visualization Toolkit
00004   Module:    $RCSfile: vtkGenericDataSetTessellator.h,v $
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 =========================================================================*/
00038 #ifndef __vtkGenericDataSetTessellator_h
00039 #define __vtkGenericDataSetTessellator_h
00040 
00041 #include "vtkUnstructuredGridAlgorithm.h"
00042 
00043 class vtkPointData;
00044 class vtkPointLocator;
00045 
00046 class VTK_GENERIC_FILTERING_EXPORT vtkGenericDataSetTessellator : public vtkUnstructuredGridAlgorithm
00047 {
00048 public:
00050 
00051   static vtkGenericDataSetTessellator *New();
00052   vtkTypeRevisionMacro(vtkGenericDataSetTessellator,
00053                        vtkUnstructuredGridAlgorithm);
00054   void PrintSelf(ostream& os, vtkIndent indent);
00056 
00058 
00062   vtkSetMacro(KeepCellIds, int);
00063   vtkGetMacro(KeepCellIds, int);
00064   vtkBooleanMacro(KeepCellIds, int);
00066   
00067   
00069 
00072   vtkSetMacro(Merging,int);
00073   vtkGetMacro(Merging,int);
00074   vtkBooleanMacro(Merging,int);
00076 
00078 
00080   void SetLocator(vtkPointLocator *locator);
00081   vtkGetObjectMacro(Locator,vtkPointLocator);
00083 
00085   void CreateDefaultLocator();
00086   
00088   unsigned long GetMTime();
00089   
00090 protected:
00091   vtkGenericDataSetTessellator();
00092   ~vtkGenericDataSetTessellator();
00093   
00094   int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *);
00095   
00096   int FillInputPortInformation(int, vtkInformation*);
00097   
00098   // See Set/Get KeepCellIds() for explanations.
00099   int KeepCellIds;
00100   
00101   // Used internal by vtkGenericAdaptorCell::Tessellate()
00102   vtkPointData *internalPD;
00103   
00104   int Merging;
00105   vtkPointLocator *Locator;
00106   
00107 private:
00108   vtkGenericDataSetTessellator(const vtkGenericDataSetTessellator&);  // Not implemented.
00109   void operator=(const vtkGenericDataSetTessellator&);  // Not implemented.
00110 };
00111 
00112 #endif

Generated on Mon Jan 21 23:07:22 2008 for VTK by  doxygen 1.4.3-20050530