VTK
dox
opt
build
vtk6-6.3.0+dfsg2
Filters
Extraction
vtkExtractCells.h
Go to the documentation of this file.
1
/*=========================================================================
2
3
Program: Visualization Toolkit
4
Module: vtkExtractCells.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
=========================================================================*/
15
/*----------------------------------------------------------------------------
16
Copyright (c) Sandia Corporation
17
See Copyright.txt or http://www.paraview.org/HTML/Copyright.html for details.
18
----------------------------------------------------------------------------*/
19
30
#ifndef vtkExtractCells_h
31
#define vtkExtractCells_h
32
33
#include "
vtkFiltersExtractionModule.h
"
// For export macro
34
#include "
vtkUnstructuredGridAlgorithm.h
"
35
36
class
vtkIdList
;
37
class
vtkExtractCellsSTLCloak;
38
39
class
VTKFILTERSEXTRACTION_EXPORT
vtkExtractCells
:
public
vtkUnstructuredGridAlgorithm
40
{
41
public
:
42
vtkTypeMacro
(
vtkExtractCells
,
vtkUnstructuredGridAlgorithm
);
43
virtual
void
PrintSelf
(ostream &os,
vtkIndent
indent);
44
45
static
vtkExtractCells
*
New
();
46
51
void
SetCellList
(
vtkIdList
*l);
52
56
void
AddCellList
(
vtkIdList
*l);
57
61
void
AddCellRange
(
vtkIdType
from,
vtkIdType
to);
62
63
protected
:
64
65
virtual
int
RequestData
(
vtkInformation
*,
vtkInformationVector
**,
vtkInformationVector
*);
66
virtual
int
FillInputPortInformation
(
int
port
,
vtkInformation
*
info
);
67
68
vtkExtractCells
();
69
~vtkExtractCells
();
70
71
private
:
72
73
void
Copy(
vtkDataSet
*
input
,
vtkUnstructuredGrid
*output);
74
static
vtkIdType
findInSortedList(
vtkIdList
*idList,
vtkIdType
id
);
75
vtkIdList
*reMapPointIds(
vtkDataSet
*grid);
76
77
void
CopyCellsDataSet(
vtkIdList
*ptMap,
vtkDataSet
*
input
,
78
vtkUnstructuredGrid
*output);
79
void
CopyCellsUnstructuredGrid(
vtkIdList
*ptMap,
vtkDataSet
*
input
,
80
vtkUnstructuredGrid
*output);
81
82
vtkExtractCellsSTLCloak *CellList;
83
84
int
SubSetUGridCellArraySize;
85
char
InputIsUgrid;
86
87
vtkExtractCells
(
const
vtkExtractCells
&);
// Not implemented
88
void
operator=(
const
vtkExtractCells
&);
// Not implemented
89
};
90
91
#endif
vtkExtractCells
subset a vtkDataSet to create a vtkUnstructuredGrid
Definition:
vtkExtractCells.h:40
vtkIdType
int vtkIdType
Definition:
vtkType.h:275
vtkInformationVector
Store zero or more vtkInformation instances.
Definition:
vtkInformationVector.h:41
vtkFiltersExtractionModule.h
vtkExtractCells::New
static vtkExtractCells * New()
vtkTypeMacro
#define vtkTypeMacro(thisClass, superclass)
Definition:
vtkSetGet.h:642
vtkExtractCells::SetCellList
void SetCellList(vtkIdList *l)
vtkExtractCells::RequestData
virtual int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
vtkgl::input
GLenum GLenum GLenum input
Definition:
vtkgl.h:15941
vtkExtractCells::FillInputPortInformation
virtual int FillInputPortInformation(int port, vtkInformation *info)
vtkX3D::port
@ port
Definition:
vtkX3D.h:447
vtkIndent
a simple class to control print indentation
Definition:
vtkIndent.h:39
vtkIdList
list of point or cell ids
Definition:
vtkIdList.h:36
vtkExtractCells::AddCellList
void AddCellList(vtkIdList *l)
vtkExtractCells::vtkExtractCells
vtkExtractCells()
vtkExtractCells::PrintSelf
virtual void PrintSelf(ostream &os, vtkIndent indent)
vtkDataSet
abstract class to specify dataset behavior
Definition:
vtkDataSet.h:62
vtkInformation
Store vtkAlgorithm input/output information.
Definition:
vtkInformation.h:86
vtkX3D::info
@ info
Definition:
vtkX3D.h:376
VTKFILTERSEXTRACTION_EXPORT
#define VTKFILTERSEXTRACTION_EXPORT
Definition:
vtkFiltersExtractionModule.h:15
vtkUnstructuredGridAlgorithm.h
vtkExtractCells::AddCellRange
void AddCellRange(vtkIdType from, vtkIdType to)
vtkUnstructuredGridAlgorithm
Superclass for algorithms that produce only unstructured grid as output.
Definition:
vtkUnstructuredGridAlgorithm.h:40
vtkUnstructuredGrid
dataset represents arbitrary combinations of all possible cell types
Definition:
vtkUnstructuredGrid.h:82
vtkExtractCells::~vtkExtractCells
~vtkExtractCells()
Generated by
1.8.20