mirror of
https://gitlab.kitware.com/vtk/vtk-m
synced 2024-09-16 17:22:55 +00:00
Deprecate SetIncludeOffset and rename to SetVOIIsGlobal
This commit is contained in:
parent
e013ad126f
commit
e55b700f75
@ -74,7 +74,7 @@ vtkm::cont::DataSet ExtractStructured::DoExecute(const vtkm::cont::DataSet& inpu
|
||||
this->VOI,
|
||||
this->SampleRate,
|
||||
this->IncludeBoundary,
|
||||
this->IncludeOffset);
|
||||
this->VOIIsGlobal);
|
||||
|
||||
// Create map arrays for mapping fields. Could potentially save some time to first check to see
|
||||
// if these arrays would be used.
|
||||
|
@ -78,8 +78,17 @@ public:
|
||||
VTKM_CONT
|
||||
void SetIncludeBoundary(bool value) { this->IncludeBoundary = value; }
|
||||
|
||||
/// Get if VOI is specified in global point (rather than in local) indices
|
||||
VTKM_CONT
|
||||
void SetIncludeOffset(bool value) { this->IncludeOffset = value; }
|
||||
bool GetVOIIsGlobal() const { return this->VOIIsGlobal; }
|
||||
/// Set if VOI is specified in global point (rather than in local) indices
|
||||
VTKM_CONT
|
||||
void SetVOIIsGlobal(bool value) { this->VOIIsGlobal = value; }
|
||||
/// Set if VOI is specified in global point (rather than in local) indices
|
||||
/// (depracted in favor of a method with a name that better conveys purpose)
|
||||
VTKM_DEPRECATED(2.0)
|
||||
VTKM_CONT
|
||||
void SetIncludeOffset(bool value) { this->VOIIsGlobal = value; }
|
||||
|
||||
private:
|
||||
VTKM_CONT
|
||||
@ -88,7 +97,7 @@ private:
|
||||
vtkm::RangeId3 VOI = vtkm::RangeId3(0, -1, 0, -1, 0, -1);
|
||||
vtkm::Id3 SampleRate = { 1, 1, 1 };
|
||||
bool IncludeBoundary = false;
|
||||
bool IncludeOffset = false;
|
||||
bool VOIIsGlobal = false;
|
||||
};
|
||||
|
||||
} // namespace entity_extraction
|
||||
|
Loading…
Reference in New Issue
Block a user