Go to the documentation of this file.
11 #ifndef vtk_m_filter_vector_analysis_DotProduct_h
12 #define vtk_m_filter_vector_analysis_DotProduct_h
21 namespace vector_analysis
43 const std::string& name,
46 this->SetActiveField(name, association);
54 return this->GetActiveFieldAssociation();
60 this->SetUseCoordinateSystemAsField(flag);
65 return this->GetUseCoordinateSystemAsField();
71 this->SetActiveCoordinateSystem(coord_idx);
76 return this->GetActiveCoordinateSystemIndex();
86 const std::string& name,
89 this->SetActiveField(1, name, association);
97 return this->GetActiveFieldAssociation(1);
103 this->SetUseCoordinateSystemAsField(1, flag);
108 return this->GetUseCoordinateSystemAsField(1);
114 this->SetActiveCoordinateSystem(1, index);
119 return this->GetActiveCoordinateSystemIndex(1);
130 #endif // vtk_m_filter_vector_analysis_DotProduct_h
vtkm::cont::Field::Association GetSecondaryFieldAssociation() const
Specify the secondary field to operate on.
Definition: DotProduct.h:95
Groups connected points that have the same field value.
Definition: Atomic.h:19
Association
Identifies what elements of a data set a field is associated with.
Definition: Field.h:38
Contains and manages the geometric data structures that VTK-m operates on.
Definition: DataSet.h:57
bool GetUseCoordinateSystemAsPrimaryField() const
Specify the primary field to operate on.
Definition: DotProduct.h:63
const std::string & GetPrimaryFieldName() const
Specify the primary field to operate on.
Definition: DotProduct.h:50
vtkm::Id GetSecondaryCoordinateSystemIndex() const
Specify the secondary field to operate on.
Definition: DotProduct.h:117
#define VTKM_FILTER_VECTOR_ANALYSIS_EXPORT
Definition: vtkm_filter_vector_analysis_export.h:44
void SetUseCoordinateSystemAsPrimaryField(bool flag)
Specify the primary field to operate on.
Definition: DotProduct.h:58
void SetUseCoordinateSystemAsSecondaryField(bool flag)
Specify the secondary field to operate on.
Definition: DotProduct.h:101
vtkm::Id GetPrimaryCoordinateSystemIndex() const
Specify the primary field to operate on.
Definition: DotProduct.h:74
vtkm::cont::Field::Association GetPrimaryFieldAssociation() const
Specify the primary field to operate on.
Definition: DotProduct.h:52
Base class for all filters.
Definition: Filter.h:163
@ Any
Any field regardless of the association.
#define VTKM_CONT
Definition: ExportMacros.h:57
vtkm::Int64 Id
Base type to use to index arrays.
Definition: Types.h:227
Compute the dot product of vector fields.
Definition: DotProduct.h:31
void SetPrimaryCoordinateSystem(vtkm::Id coord_idx)
Specify the primary field to operate on.
Definition: DotProduct.h:69
void SetSecondaryCoordinateSystem(vtkm::Id index)
Specify the secondary field to operate on.
Definition: DotProduct.h:112
const std::string & GetSecondaryFieldName() const
Specify the secondary field to operate on.
Definition: DotProduct.h:93
void SetSecondaryField(const std::string &name, vtkm::cont::Field::Association association=vtkm::cont::Field::Association::Any)
Specify the secondary field to operate on.
Definition: DotProduct.h:85
void SetPrimaryField(const std::string &name, vtkm::cont::Field::Association association=vtkm::cont::Field::Association::Any)
Specify the primary field to operate on.
Definition: DotProduct.h:42
bool GetUseCoordinateSystemAsSecondaryField() const
Specify the secondary field to operate on.
Definition: DotProduct.h:106