VTK
dox
Common
DataModel
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
49
vtkTypeMacro(
vtkAbstractCellLinks
,
vtkObject
);
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
:
70
vtkAbstractCellLinks
();
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
vtkIdType
int vtkIdType
Definition:
vtkType.h:287
vtkX3D::data
@ data
Definition:
vtkX3D.h:315
vtkAbstractCellLinks::vtkAbstractCellLinks
vtkAbstractCellLinks()
vtkObject
abstract base class for most VTK objects
Definition:
vtkObject.h:60
vtkAbstractCellLinks::GetIdType
static int GetIdType(vtkIdType maxPtId, vtkIdType maxCellId, vtkCellArray *ca)
Based on the input (i.e., number of points, number of cells, and length of connectivity array) this h...
vtkAbstractCellLinks
an abstract base class for classes that build topological links from points to cells
Definition:
vtkAbstractCellLinks.h:43
vtkIndent
a simple class to control print indentation
Definition:
vtkIndent.h:40
vtkCellArray
object to represent cell connectivity
Definition:
vtkCellArray.h:51
vtkObject.h
vtkDataSet
abstract class to specify dataset behavior
Definition:
vtkDataSet.h:63
vtkAbstractCellLinks::BuildLinks
virtual void BuildLinks(vtkDataSet *data)=0
Build the link list array.
vtkAbstractCellLinks::PrintSelf
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
vtkAbstractCellLinks::~vtkAbstractCellLinks
~vtkAbstractCellLinks() override
Generated by
1.8.20