Go to the documentation of this file.
11 #ifndef vtk_m_filter_field_transform_WarpVector_h
12 #define vtk_m_filter_field_transform_WarpVector_h
18 struct VTKM_DEPRECATED(2.2, "WarpVector.h header no longer supported. Use Warp.h.")
29 namespace field_transform
39 this->SetScaleFactor(scale);
40 this->SetOutputFieldName(
"warpvector");
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 GetVectorFieldName()
const {
return this->GetDirectionFieldName(); }
60 VTKM_CONT vtkm::cont::Field::Association GetVectorFieldAssociation()
const
62 return this->GetActiveFieldAssociation(1);
69 #endif // vtk_m_filter_field_transform_WarpVector_h
Definition: WarpVector.h:18
Groups connected points that have the same field value.
Definition: Atomic.h:19
@ Any
Any field regardless of the association.
@ Points
A field that applies to points.
#define VTKM_CONT
Definition: ExportMacros.h:57
vtkm_deprecated_WarpVector_h_warning vtkm_give_WarpVector_h_warning
Definition: WarpVector.h:23
vtkm::Float32 FloatDefault
The floating point type to use when no other precision is specified.
Definition: Types.h:236
This class is thrown when a VTKm function or method encounters an invalid value that inhibits progres...
Definition: ErrorBadValue.h:25
#define VTKM_DEPRECATED(...)
Definition: Deprecated.h:145