VTK
vtkmExternalFaces.h
Go to the documentation of this file.
1 //=============================================================================
2 //
3 // Copyright (c) Kitware, Inc.
4 // All rights reserved.
5 // See LICENSE.txt for details.
6 //
7 // This software is distributed WITHOUT ANY WARRANTY; without even
8 // the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
9 // PURPOSE. See the above copyright notice for more information.
10 //
11 // Copyright 2012 Sandia Corporation.
12 // Under the terms of Contract DE-AC04-94AL85000 with Sandia Corporation,
13 // the U.S. Government retains certain rights in this software.
14 //
15 //=============================================================================
16 
17 #ifndef vtkmExternalFaces_h
18 #define vtkmExternalFaces_h
19 
20 #include "vtkAlgorithm.h"
21 #include "vtkAcceleratorsVTKmModule.h" //required for correct implementation
22 
23 
25 
26 class VTKACCELERATORSVTKM_EXPORT vtkmExternalFaces : public vtkAlgorithm
27 {
28 public:
30  void PrintSelf(ostream& os, vtkIndent indent) VTK_OVERRIDE;
31  static vtkmExternalFaces* New();
32 
36  void SetInputData(vtkUnstructuredGrid *ds);
37 
41  vtkUnstructuredGrid* GetOutput();
42 
44 
49  vtkSetMacro(CompactPoints, bool);
50  vtkGetMacro(CompactPoints, bool);
51  vtkBooleanMacro(CompactPoints, bool);
53 
54 protected:
57 
58  int FillInputPortInformation(int, vtkInformation *) VTK_OVERRIDE;
59  int FillOutputPortInformation(int, vtkInformation *) VTK_OVERRIDE;
60 
62  vtkInformationVector*) VTK_OVERRIDE;
63  virtual int RequestData(vtkInformation *, vtkInformationVector **,
65 
67 
68 private:
69  vtkmExternalFaces(const vtkmExternalFaces&) VTK_DELETE_FUNCTION;
70  void operator=(const vtkmExternalFaces&) VTK_DELETE_FUNCTION;
71 };
72 
73 #endif // vtkmExternalFaces_h
74 // VTK-HeaderTest-Exclude: vtkmExternalFaces.h
Store vtkAlgorithm input/output information.
virtual int ProcessRequest(vtkInformation *request, vtkInformationVector **inInfo, vtkInformationVector *outInfo)
Upstream/Downstream requests form the generalized interface through which executives invoke a algorit...
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
Superclass for all sources, filters, and sinks in VTK.
Definition: vtkAlgorithm.h:53
virtual int FillOutputPortInformation(int port, vtkInformation *info)
Fill the output port information objects for this algorithm.
a simple class to control print indentation
Definition: vtkIndent.h:33
dataset represents arbitrary combinations of all possible cell types
virtual int FillInputPortInformation(int port, vtkInformation *info)
Fill the input port information objects for this algorithm.
vtkSetMacro(IgnoreDriverBugs, bool)
When set known driver bugs are ignored during driver feature detection.
Store zero or more vtkInformation instances.
static vtkAlgorithm * New()
vtkBooleanMacro(IgnoreDriverBugs, bool)
When set known driver bugs are ignored during driver feature detection.