Go to the documentation of this file.
11 #ifndef vtk_m_filter_vector_analysis_CrossProduct_h
12 #define vtk_m_filter_vector_analysis_CrossProduct_h
22 namespace vector_analysis
42 const std::string& name,
45 this->SetActiveField(name, association);
53 return this->GetActiveFieldAssociation();
59 this->SetUseCoordinateSystemAsField(flag);
64 return this->GetUseCoordinateSystemAsField();
72 return this->GetActiveCoordinateSystemIndex();
82 const std::string& name,
85 this->SetActiveField(1, name, association);
94 return this->GetActiveFieldAssociation(1);
100 this->SetUseCoordinateSystemAsField(1, flag);
105 return this->GetUseCoordinateSystemAsField(1);
114 return this->GetActiveCoordinateSystemIndex(1);
125 #endif // vtk_m_filter_vector_analysis_CrossProduct_h
Compute the cross product of 3D vector fields.
Definition: CrossProduct.h:29
vtkm::Id GetPrimaryCoordinateSystemIndex() const
Definition: CrossProduct.h:70
void SetPrimaryField(const std::string &name, vtkm::cont::Field::Association association=vtkm::cont::Field::Association::Any)
Specify the primary field to operate on.
Definition: CrossProduct.h:41
Groups connected points that have the same field value.
Definition: Atomic.h:19
const std::string & GetPrimaryFieldName() const
Specify the primary field to operate on.
Definition: CrossProduct.h:49
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
#define VTKM_FILTER_VECTOR_ANALYSIS_EXPORT
Definition: vtkm_filter_vector_analysis_export.h:44
vtkm::cont::Field::Association GetPrimaryFieldAssociation() const
Specify the primary field to operate on.
Definition: CrossProduct.h:51
bool GetUseCoordinateSystemAsPrimaryField() const
Specify the primary field to operate on.
Definition: CrossProduct.h:62
vtkm::cont::Field::Association GetSecondaryFieldAssociation() const
Specify the secondary field to operate on.
Definition: CrossProduct.h:92
vtkm::Id GetSecondaryCoordinateSystemIndex() const
Specify the secondary field to operate on.
Definition: CrossProduct.h:112
void SetUseCoordinateSystemAsSecondaryField(bool flag)
Specify the secondary field to operate on.
Definition: CrossProduct.h:98
Base class for all filters.
Definition: Filter.h:163
void SetPrimaryCoordinateSystem(vtkm::Id index)
Specify the primary field to operate on.
Definition: CrossProduct.h:69
@ 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
void SetSecondaryField(const std::string &name, vtkm::cont::Field::Association association=vtkm::cont::Field::Association::Any)
Specify the secondary field to operate on.
Definition: CrossProduct.h:81
void SetUseCoordinateSystemAsPrimaryField(bool flag)
Specify the primary field to operate on.
Definition: CrossProduct.h:57
const std::string & GetSecondaryFieldName() const
Specify the secondary field to operate on.
Definition: CrossProduct.h:90
bool GetUseCoordinateSystemAsSecondaryField() const
Specify the secondary field to operate on.
Definition: CrossProduct.h:103
void SetSecondaryCoordinateSystem(vtkm::Id index)
Specify the secondary field to operate on.
Definition: CrossProduct.h:110