Go to the documentation of this file.
19 #ifndef viskores_filter_vector_analysis_CrossProduct_h
20 #define viskores_filter_vector_analysis_CrossProduct_h
30 namespace vector_analysis
50 const std::string& name,
53 this->SetActiveField(name, association);
59 return this->GetActiveFieldName();
64 return this->GetActiveFieldAssociation();
70 this->SetUseCoordinateSystemAsField(flag);
75 return this->GetUseCoordinateSystemAsField();
83 return this->GetActiveCoordinateSystemIndex();
93 const std::string& name,
96 this->SetActiveField(1, name, association);
105 return this->GetActiveFieldAssociation(1);
111 this->SetUseCoordinateSystemAsField(1, flag);
116 return this->GetUseCoordinateSystemAsField(1);
123 this->SetActiveCoordinateSystem(1, index);
128 return this->GetActiveCoordinateSystemIndex(1);
139 #endif // viskores_filter_vector_analysis_CrossProduct_h
Contains and manages the geometric data structures that Viskores operates on.
Definition: DataSet.h:66
Association
Identifies what elements of a data set a field is associated with.
Definition: Field.h:46
@ Any
Any field regardless of the association.
viskores::cont::Field::Association GetPrimaryFieldAssociation() const
Specify the primary field to operate on.
Definition: CrossProduct.h:62
Base class for all filters.
Definition: Filter.h:171
void SetSecondaryField(const std::string &name, viskores::cont::Field::Association association=viskores::cont::Field::Association::Any)
Specify the secondary field to operate on.
Definition: CrossProduct.h:92
viskores::Int64 Id
Base type to use to index arrays.
Definition: Types.h:235
const std::string & GetPrimaryFieldName() const
Specify the primary field to operate on.
Definition: CrossProduct.h:57
#define VISKORES_CONT
Definition: ExportMacros.h:65
Groups connected points that have the same field value.
Definition: Atomic.h:27
viskores::cont::Field::Association GetSecondaryFieldAssociation() const
Specify the secondary field to operate on.
Definition: CrossProduct.h:103
void SetSecondaryCoordinateSystem(viskores::Id index)
Specify the secondary field to operate on.
Definition: CrossProduct.h:121
Compute the cross product of 3D vector fields.
Definition: CrossProduct.h:37
bool GetUseCoordinateSystemAsPrimaryField() const
Specify the primary field to operate on.
Definition: CrossProduct.h:73
bool GetUseCoordinateSystemAsSecondaryField() const
Specify the secondary field to operate on.
Definition: CrossProduct.h:114
void SetPrimaryCoordinateSystem(viskores::Id index)
Specify the primary field to operate on.
Definition: CrossProduct.h:80
viskores::Id GetPrimaryCoordinateSystemIndex() const
Definition: CrossProduct.h:81
void SetUseCoordinateSystemAsSecondaryField(bool flag)
Specify the secondary field to operate on.
Definition: CrossProduct.h:109
viskores::Id GetSecondaryCoordinateSystemIndex() const
Specify the secondary field to operate on.
Definition: CrossProduct.h:126
void SetUseCoordinateSystemAsPrimaryField(bool flag)
Specify the primary field to operate on.
Definition: CrossProduct.h:68
void SetPrimaryField(const std::string &name, viskores::cont::Field::Association association=viskores::cont::Field::Association::Any)
Specify the primary field to operate on.
Definition: CrossProduct.h:49
const std::string & GetSecondaryFieldName() const
Specify the secondary field to operate on.
Definition: CrossProduct.h:101