VTK-m  2.2
MergeDataSets.h
Go to the documentation of this file.
1 //============================================================================
2 // Copyright (c) Kitware, Inc.
3 // All rights reserved.
4 // See LICENSE.txt for details.
5 //
6 // This software is distributed WITHOUT ANY WARRANTY; without even
7 // the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
8 // PURPOSE. See the above copyright notice for more information.
9 //============================================================================
10 #ifndef vtk_m_filter_multi_block_MergeDataSets_h
11 #define vtk_m_filter_multi_block_MergeDataSets_h
12 
14 #include <vtkm/filter/Filter.h>
16 
17 namespace vtkm
18 {
19 namespace filter
20 {
21 namespace multi_block
22 {
35 {
36 public:
44  void SetInvalidValue(vtkm::Float64 invalidValue) { this->InvalidValue = invalidValue; };
46  vtkm::Float64 GetInvalidValue() { return this->InvalidValue; }
47 
48 private:
49  vtkm::cont::DataSet DoExecute(const vtkm::cont::DataSet& inputDataSet) override;
50 
51  vtkm::cont::PartitionedDataSet DoExecutePartitions(
52  const vtkm::cont::PartitionedDataSet& input) override;
53 
54  vtkm::Float64 InvalidValue = vtkm::Nan64();
55 };
56 } // namespace multi_block
57 } // namesapce filter
58 } // namespace vtkm
59 
60 #endif //vtk_m_filter_multi_block_MergeDataSets_h
VTKM_FILTER_MULTI_BLOCK_EXPORT
#define VTKM_FILTER_MULTI_BLOCK_EXPORT
Definition: vtkm_filter_multi_block_export.h:44
vtkm
Groups connected points that have the same field value.
Definition: Atomic.h:19
vtkm_filter_multi_block_export.h
vtkm::filter::multi_block::MergeDataSets::SetInvalidValue
void SetInvalidValue(vtkm::Float64 invalidValue)
Specify the value to use where field values are missing.
Definition: MergeDataSets.h:44
vtkm::filter::multi_block::MergeDataSets
Merging multiple data sets into one data set.
Definition: MergeDataSets.h:34
vtkm::cont::DataSet
Contains and manages the geometric data structures that VTK-m operates on.
Definition: DataSet.h:57
ErrorFilterExecution.h
vtkm::filter::Filter
Base class for all filters.
Definition: Filter.h:163
vtkm::filter::multi_block::MergeDataSets::GetInvalidValue
vtkm::Float64 GetInvalidValue()
Specify the value to use where field values are missing.
Definition: MergeDataSets.h:46
vtkm::Float64
double Float64
Base type to use for 64-bit floating-point numbers.
Definition: Types.h:161
vtkm::cont::PartitionedDataSet
Comprises a set of vtkm::cont::DataSet objects.
Definition: PartitionedDataSet.h:26
Filter.h