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
38class vtkDataSet;
39class vtkCellArray;
40
41
42class VTKCOMMONDATAMODEL_EXPORT vtkAbstractCellLinks : public vtkObject
43{
44public:
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
69protected:
71 ~vtkAbstractCellLinks() VTK_OVERRIDE;
72
73private:
74 vtkAbstractCellLinks(const vtkAbstractCellLinks&) VTK_DELETE_FUNCTION;
75 void operator=(const vtkAbstractCellLinks&) VTK_DELETE_FUNCTION;
76};
77
78#endif
object to represent cell connectivity
Definition: vtkCellArray.h:51
abstract class to specify dataset behavior
Definition: vtkDataSet.h:63
a simple class to control print indentation
Definition: vtkIndent.h:40
abstract base class for most VTK objects
Definition: vtkObject.h:60
@ data
Definition: vtkX3D.h:315
int vtkIdType
Definition: vtkType.h:287