VTK
vtkExtractPolyDataPiece.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: Visualization Toolkit
4  Module: vtkExtractPolyDataPiece.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 =========================================================================*/
23 #ifndef vtkExtractPolyDataPiece_h
24 #define vtkExtractPolyDataPiece_h
25 
26 #include "vtkFiltersParallelModule.h" // For export macro
27 #include "vtkPolyDataAlgorithm.h"
28 
29 class vtkIdList;
30 class vtkIntArray;
31 
33 {
34 public:
37  void PrintSelf(ostream& os, vtkIndent indent);
38 
40 
41  vtkSetMacro(CreateGhostCells, int);
42  vtkGetMacro(CreateGhostCells, int);
43  vtkBooleanMacro(CreateGhostCells, int);
45 
46 protected:
49 
50  // Usual data generation method
53 
54  // A method for labeling which piece the cells belong to.
55  void ComputeCellTags(vtkIntArray *cellTags, vtkIdList *pointOwnership,
56  int piece, int numPieces, vtkPolyData *input);
57 
58  void AddGhostLevel(vtkPolyData *input, vtkIntArray *cellTags, int ghostLevel);
59 
61 private:
62  vtkExtractPolyDataPiece(const vtkExtractPolyDataPiece&); // Not implemented.
63  void operator=(const vtkExtractPolyDataPiece&); // Not implemented.
64 };
65 
66 #endif
VTKFILTERSPARALLEL_EXPORT
#define VTKFILTERSPARALLEL_EXPORT
Definition: vtkFiltersParallelModule.h:15
vtkInformationVector
Store zero or more vtkInformation instances.
Definition: vtkInformationVector.h:41
vtkExtractPolyDataPiece
Return specified piece, including specified number of ghost levels.
Definition: vtkExtractPolyDataPiece.h:33
vtkTypeMacro
#define vtkTypeMacro(thisClass, superclass)
Definition: vtkSetGet.h:642
vtkExtractPolyDataPiece::PrintSelf
void PrintSelf(ostream &os, vtkIndent indent)
vtkgl::input
GLenum GLenum GLenum input
Definition: vtkgl.h:15941
vtkFiltersParallelModule.h
vtkExtractPolyDataPiece::New
static vtkExtractPolyDataPiece * New()
vtkPolyDataAlgorithm.h
vtkExtractPolyDataPiece::AddGhostLevel
void AddGhostLevel(vtkPolyData *input, vtkIntArray *cellTags, int ghostLevel)
vtkExtractPolyDataPiece::~vtkExtractPolyDataPiece
~vtkExtractPolyDataPiece()
Definition: vtkExtractPolyDataPiece.h:48
vtkExtractPolyDataPiece::RequestData
int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
vtkIndent
a simple class to control print indentation
Definition: vtkIndent.h:39
vtkIntArray
dynamic, self-adjusting array of int
Definition: vtkIntArray.h:53
vtkIdList
list of point or cell ids
Definition: vtkIdList.h:36
vtkGetMacro
#define vtkGetMacro(name, type)
Definition: vtkSetGet.h:93
vtkBooleanMacro
vtkBooleanMacro(IgnoreDriverBugs, bool)
vtkInformation
Store vtkAlgorithm input/output information.
Definition: vtkInformation.h:86
vtkSetMacro
vtkSetMacro(IgnoreDriverBugs, bool)
vtkExtractPolyDataPiece::RequestUpdateExtent
int RequestUpdateExtent(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
vtkPolyData
concrete dataset represents vertices, lines, polygons, and triangle strips
Definition: vtkPolyData.h:84
vtkExtractPolyDataPiece::ComputeCellTags
void ComputeCellTags(vtkIntArray *cellTags, vtkIdList *pointOwnership, int piece, int numPieces, vtkPolyData *input)
vtkExtractPolyDataPiece::vtkExtractPolyDataPiece
vtkExtractPolyDataPiece()
vtkExtractPolyDataPiece::CreateGhostCells
int CreateGhostCells
Definition: vtkExtractPolyDataPiece.h:60
vtkPolyDataAlgorithm
Superclass for algorithms that produce only polydata as output.
Definition: vtkPolyDataAlgorithm.h:44