vtkBlockDeliveryPreprocessor.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: ParaView
4  Module: vtkBlockDeliveryPreprocessor.h
5 
6  Copyright (c) Kitware, Inc.
7  All rights reserved.
8  See Copyright.txt or http://www.paraview.org/HTML/Copyright.html 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 =========================================================================*/
25 #ifndef vtkBlockDeliveryPreprocessor_h
26 #define vtkBlockDeliveryPreprocessor_h
27 
28 #include "vtkDataObjectAlgorithm.h"
29 #include "vtkPVVTKExtensionsFiltersRenderingModule.h" // needed for export macro
30 #include "vtkSplitColumnComponents.h" // needed for enum
31 
32 class VTKPVVTKEXTENSIONSFILTERSRENDERING_EXPORT vtkBlockDeliveryPreprocessor
33  : public vtkDataObjectAlgorithm
34 {
35 public:
38  void PrintSelf(ostream& os, vtkIndent indent) override;
39 
41 
45  void AddCompositeDataSetIndex(unsigned int index);
46  void RemoveAllCompositeDataSetIndices();
48 
50 
53  vtkSetMacro(GenerateCellConnectivity, bool);
54  vtkGetMacro(GenerateCellConnectivity, bool);
56 
58 
69  vtkSetMacro(FieldAssociation, int);
70  vtkGetMacro(FieldAssociation, int);
72 
74 
78  vtkSetMacro(FlattenTable, int);
79  vtkGetMacro(FlattenTable, int);
81 
83 
88  vtkSetClampMacro(SplitComponentsNamingMode, int, vtkSplitColumnComponents::NUMBERS_WITH_PARENS,
90  vtkGetMacro(SplitComponentsNamingMode, int);
92 
94 
99  vtkSetMacro(GenerateOriginalIds, bool);
100  vtkGetMacro(GenerateOriginalIds, bool);
102 
103 protected:
105  ~vtkBlockDeliveryPreprocessor() override;
106 
112 
114 
120 
121 private:
123  void operator=(const vtkBlockDeliveryPreprocessor&) = delete;
124 
125  class CompositeDataSetIndicesType;
126  CompositeDataSetIndicesType* CompositeDataSetIndices;
127 };
128 
129 #endif
virtual int RequestDataObject(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
static vtkDataObjectAlgorithm * New()
void PrintSelf(ostream &os, vtkIndent indent) VTK_OVERRIDE
filter used by block-delivery representation for pre-processing data.
virtual int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
void operator=(const vtkObjectBase &)