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 =========================================================================*/
31 #ifndef vtkAbstractCellLinks_h
32 #define vtkAbstractCellLinks_h
33 
34 #include "vtkCommonDataModelModule.h" // For export macro
35 #include "vtkObject.h"
36 
37 class vtkDataSet;
38 class vtkCellArray;
39 
40 
42 {
43 public:
45 
47  void PrintSelf(ostream& os, vtkIndent indent);
49 
51  virtual void BuildLinks(vtkDataSet *data) = 0;
52 
60  static int GetIdType(vtkIdType maxPtId, vtkIdType maxCellId, vtkCellArray *ca);
61 
62 protected:
64  virtual ~vtkAbstractCellLinks();
65 
66 private:
67  vtkAbstractCellLinks(const vtkAbstractCellLinks&); // Not implemented.
68  void operator=(const vtkAbstractCellLinks&); // Not implemented.
69 };
70 
71 #endif
abstract base class for most VTK objects
Definition: vtkObject.h:61
abstract class to specify dataset behavior
Definition: vtkDataSet.h:61
int vtkIdType
Definition: vtkType.h:247
virtual void PrintSelf(ostream &os, vtkIndent indent)
a simple class to control print indentation
Definition: vtkIndent.h:38
object to represent cell connectivity
Definition: vtkCellArray.h:49
#define VTKCOMMONDATAMODEL_EXPORT