VTK
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
dox
Common
DataModel
vtkExplicitCell.h
Go to the documentation of this file.
1
/*=========================================================================
2
3
Program: Visualization Toolkit
4
Module: vtkExplicitCell.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
=========================================================================*/
26
#ifndef __vtkExplicitCell_h
27
#define __vtkExplicitCell_h
28
29
#include "vtkCommonDataModelModule.h"
// For export macro
30
#include "
vtkNonLinearCell.h
"
31
32
class
vtkDataSet
;
33
34
class
VTKCOMMONDATAMODEL_EXPORT
vtkExplicitCell
:
public
vtkNonLinearCell
35
{
36
public
:
37
vtkTypeMacro(
vtkExplicitCell
,
vtkNonLinearCell
);
38
void
PrintSelf
(ostream& os,
vtkIndent
indent);
39
44
virtual
int
IsExplicitCell
() {
return
1;}
45
47
51
vtkSetMacro(CellId,
vtkIdType
);
52
vtkGetMacro(CellId,
vtkIdType
);
54
56
60
virtual
void
SetDataSet(
vtkDataSet
*);
61
vtkGetObjectMacro(DataSet,
vtkDataSet
);
63
64
protected
:
65
vtkExplicitCell
();
66
~vtkExplicitCell
() {}
67
68
vtkIdType
CellId
;
//used to index into other arrays
69
vtkDataSet
*
DataSet
;
//dataset from which this cell came
70
71
private
:
72
vtkExplicitCell
(
const
vtkExplicitCell
&);
// Not implemented.
73
void
operator=(
const
vtkExplicitCell
&);
// Not implemented.
74
};
75
76
#endif
77
78
Generated on Thu May 24 2012 22:22:10 for VTK by
1.8.1