11 #ifndef vtk_m_filter_field_transform_WarpScalar_h
12 #define vtk_m_filter_field_transform_WarpScalar_h
18 struct VTKM_DEPRECATED(2.2, "WarpScalar.h header no longer supported. Use Warp.h.")
29 namespace field_transform
39 this->SetScaleFactor(scaleAmount);
40 this->SetOutputFieldName(
"warpscalar");
45 const std::
string& name,
46 vtkm::cont::Field::Association association =
vtkm::cont::Field::Association::Any)
53 this->SetDirectionField(name);
57 VTKM_CONT std::
string GetNormalFieldName()
const {
return this->GetDirectionFieldName(); }
60 VTKM_CONT vtkm::cont::Field::Association GetNormalFieldAssociation()
const
62 return this->GetActiveFieldAssociation(1);
67 const std::
string& name,
68 vtkm::cont::Field::Association association =
vtkm::cont::Field::Association::Any)
75 this->SetScaleField(name);
79 VTKM_CONT std::
string GetScalarFactorFieldName()
const {
return this->GetScaleFieldName(); }
82 VTKM_CONT vtkm::cont::Field::Association GetScalarFactorFieldAssociation()
const
84 return this->GetActiveFieldAssociation(1);
92 #endif //vtk_m_filter_field_transform_WarpScalar_h