VTK
vtkAbstractCellLinks.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: Visualization Toolkit
4  Module: vtkAbstractCellLinks.h
5 
6  Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
7  All rights reserved.
8  See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
9 
10  This software is distributed WITHOUT ANY WARRANTY; without even
11  the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
12  PURPOSE. See the above copyright notice for more information.
13 
14 =========================================================================*/
32 #ifndef vtkAbstractCellLinks_h
33 #define vtkAbstractCellLinks_h
34 
35 #include "vtkCommonDataModelModule.h" // For export macro
36 #include "vtkObject.h"
37 
38 class vtkDataSet;
39 class vtkCellArray;
40 
41 
42 class VTKCOMMONDATAMODEL_EXPORT vtkAbstractCellLinks : public vtkObject
43 {
44 public:
46 
50  void PrintSelf(ostream& os, vtkIndent indent) VTK_OVERRIDE;
52 
56  virtual void BuildLinks(vtkDataSet *data) = 0;
57 
67  static int GetIdType(vtkIdType maxPtId, vtkIdType maxCellId, vtkCellArray *ca);
68 
69 protected:
71  ~vtkAbstractCellLinks() VTK_OVERRIDE;
72 
73 private:
74  vtkAbstractCellLinks(const vtkAbstractCellLinks&) VTK_DELETE_FUNCTION;
75  void operator=(const vtkAbstractCellLinks&) VTK_DELETE_FUNCTION;
76 };
77 
78 #endif
abstract base class for most VTK objects
Definition: vtkObject.h:59
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
abstract class to specify dataset behavior
Definition: vtkDataSet.h:62
int vtkIdType
Definition: vtkType.h:287
a simple class to control print indentation
Definition: vtkIndent.h:39
object to represent cell connectivity
Definition: vtkCellArray.h:50