VTK-m
2.0
|
#include <FilterField.h>
Classes | |
struct | ScalarToVec |
Protected Member Functions | |
const VTKM_CONT vtkm::cont::Field & | GetFieldFromDataSet (const vtkm::cont::DataSet &input) const |
const VTKM_CONT vtkm::cont::Field & | GetFieldFromDataSet (vtkm::IdComponent index, const vtkm::cont::DataSet &input) const |
template<typename Functor , typename... Args> | |
VTKM_CONT void | CastAndCallScalarField (const vtkm::cont::UnknownArrayHandle &fieldArray, Functor &&functor, Args &&... args) const |
template<typename Functor , typename... Args> | |
VTKM_CONT void | CastAndCallScalarField (const vtkm::cont::Field &field, Functor &&functor, Args &&... args) const |
template<vtkm::IdComponent VecSize, typename Functor , typename... Args> | |
VTKM_CONT void | CastAndCallVecField (const vtkm::cont::UnknownArrayHandle &fieldArray, Functor &&functor, Args &&... args) const |
template<vtkm::IdComponent VecSize, typename Functor , typename... Args> | |
VTKM_CONT void | CastAndCallVecField (const vtkm::cont::Field &field, Functor &&functor, Args &&... args) const |
VTKM_CONT vtkm::cont::DataSet | CreateResultField (const vtkm::cont::DataSet &inDataSet, const vtkm::cont::Field &resultField) const |
Create the output data set for DoExecute More... | |
VTKM_CONT vtkm::cont::DataSet | CreateResultField (const vtkm::cont::DataSet &inDataSet, const std::string &resultFieldName, vtkm::cont::Field::Association resultFieldAssociation, const vtkm::cont::UnknownArrayHandle &resultFieldArray) const |
Create the output data set for DoExecute More... | |
VTKM_CONT vtkm::cont::DataSet | CreateResultFieldPoint (const vtkm::cont::DataSet &inDataSet, const std::string &resultFieldName, const vtkm::cont::UnknownArrayHandle &resultFieldArray) const |
Create the output data set for DoExecute More... | |
VTKM_CONT vtkm::cont::DataSet | CreateResultFieldCell (const vtkm::cont::DataSet &inDataSet, const std::string &resultFieldName, const vtkm::cont::UnknownArrayHandle &resultFieldArray) const |
Create the output data set for DoExecute More... | |
![]() | |
VTKM_CONT vtkm::cont::DataSet | CreateResult (const vtkm::cont::DataSet &inDataSet) const |
Create the output data set for DoExecute . More... | |
VTKM_CONT vtkm::cont::PartitionedDataSet | CreateResult (const vtkm::cont::PartitionedDataSet &input, const vtkm::cont::PartitionedDataSet &resultPartitions) const |
Create the output data set for DoExecute . More... | |
template<typename FieldMapper > | |
VTKM_CONT vtkm::cont::PartitionedDataSet | CreateResult (const vtkm::cont::PartitionedDataSet &input, const vtkm::cont::PartitionedDataSet &resultPartitions, FieldMapper &&fieldMapper) const |
Create the output data set for DoExecute . More... | |
template<typename FieldMapper > | |
VTKM_CONT vtkm::cont::DataSet | CreateResult (const vtkm::cont::DataSet &inDataSet, const vtkm::cont::UnknownCellSet &resultCellSet, FieldMapper &&fieldMapper) const |
Create the output data set for DoExecute . More... | |
virtual VTKM_CONT vtkm::cont::DataSet | DoExecute (const vtkm::cont::DataSet &inData)=0 |
virtual VTKM_CONT vtkm::cont::PartitionedDataSet | DoExecutePartitions (const vtkm::cont::PartitionedDataSet &inData) |
template<typename FieldMapper > | |
VTKM_CONT vtkm::cont::DataSet | CreateResultCoordinateSystem (const vtkm::cont::DataSet &inDataSet, const vtkm::cont::UnknownCellSet &resultCellSet, const vtkm::cont::CoordinateSystem &resultCoordSystem, FieldMapper &&fieldMapper) const |
Create the output data set for DoExecute . More... | |
template<typename FieldMapper > | |
VTKM_CONT vtkm::cont::DataSet | CreateResultCoordinateSystem (const vtkm::cont::DataSet &inDataSet, const vtkm::cont::UnknownCellSet &resultCellSet, const std::string &coordsName, const vtkm::cont::UnknownArrayHandle &coordsData, FieldMapper &&fieldMapper) const |
Create the output data set for DoExecute . More... | |
Private Member Functions | |
void | ResizeIfNeeded (size_t index_st) |
Private Attributes | |
std::string | OutputFieldName |
std::vector< std::string > | ActiveFieldNames |
std::vector< vtkm::cont::Field::Association > | ActiveFieldAssociation |
std::vector< bool > | UseCoordinateSystemAsField |
std::vector< vtkm::Id > | ActiveCoordinateSystemIndices |
Additional Inherited Members | |
![]() | |
vtkm::cont::Invoker | Invoke |
|
inline |
|
inlineprotected |
|
inlineprotected |
|
inlineprotected |
|
inlineprotected |
|
inlineprotected |
Create the output data set for DoExecute
This form of CreateResult
will create an output data set with the same cell structure and coordinate system as the input and pass all fields (as requested by the Filter
state). Additionally, it will add a field matching the provided specifications to the result.
[in] | inDataSet | The input data set being modified (usually the one passed into DoExecute ). The returned DataSet is filled with fields of inDataSet (as selected by the FieldsToPass state of the filter). |
[in] | resultFieldName | The name of the field added to the returned DataSet . |
[in] | resultFieldAssociation | The association of the field (e.g. point or cell) added to the returned DataSet . |
[in] | resultFieldArray | An array containing the data for the field added to the returned DataSet . |
|
protected |
Create the output data set for DoExecute
This form of CreateResult
will create an output data set with the same cell structure and coordinate system as the input and pass all fields (as requested by the Filter
state). Additionally, it will add the provided field to the result.
[in] | inDataSet | The input data set being modified (usually the one passed into DoExecute ). The returned DataSet is filled with fields of inDataSet (as selected by the FieldsToPass state of the filter). |
[in] | resultField | A Field that is added to the returned DataSet . |
|
inlineprotected |
Create the output data set for DoExecute
This form of CreateResult
will create an output data set with the same cell structure and coordinate system as the input and pass all fields (as requested by the Filter
state). Additionally, it will add a cell field matching the provided specifications to the result.
[in] | inDataSet | The input data set being modified (usually the one passed into DoExecute ). The returned DataSet is filled with fields of inDataSet (as selected by the FieldsToPass state of the filter). |
[in] | resultFieldName | The name of the field added to the returned DataSet . |
[in] | resultFieldArray | An array containing the data for the field added to the returned DataSet . |
|
inlineprotected |
Create the output data set for DoExecute
This form of CreateResult
will create an output data set with the same cell structure and coordinate system as the input and pass all fields (as requested by the Filter
state). Additionally, it will add a point field matching the provided specifications to the result.
[in] | inDataSet | The input data set being modified (usually the one passed into DoExecute ). The returned DataSet is filled with fields of inDataSet (as selected by the FieldsToPass state of the filter). |
[in] | resultFieldName | The name of the field added to the returned DataSet . |
[in] | resultFieldArray | An array containing the data for the field added to the returned DataSet . |
Select the coordinate system coord_idx to make active to use when processing the input DataSet. This is used primarily by the Filter to select the coordinate system to use as a field when UseCoordinateSystemAsField
is true.
|
inline |
Select the coordinate system coord_idx to make active to use when processing the input DataSet. This is used primarily by the Filter to select the coordinate system to use as a field when UseCoordinateSystemAsField
is true.
|
inline |
Choose the field to operate on. Note, if this->UseCoordinateSystemAsField
is true, then the active field is not used.
|
inline |
Choose the field to operate on. Note, if this->UseCoordinateSystemAsField
is true, then the active field is not used.
|
inlineprotected |
|
inlineprotected |
|
inline |
|
inline |
To simply use the active coordinate system as the field to operate on, set UseCoordinateSystemAsField to true.
|
private |
Select the coordinate system coord_idx to make active to use when processing the input DataSet. This is used primarily by the Filter to select the coordinate system to use as a field when UseCoordinateSystemAsField
is true.
|
inline |
Select the coordinate system coord_idx to make active to use when processing the input DataSet. This is used primarily by the Filter to select the coordinate system to use as a field when UseCoordinateSystemAsField
is true.
|
inline |
Choose the field to operate on. Note, if this->UseCoordinateSystemAsField
is true, then the active field is not used.
|
inline |
Choose the field to operate on. Note, if this->UseCoordinateSystemAsField
is true, then the active field is not used.
|
inline |
|
inline |
To simply use the active coordinate system as the field to operate on, set UseCoordinateSystemAsField to true.
|
inline |
To simply use the active coordinate system as the field to operate on, set UseCoordinateSystemAsField to true.
|
private |
|
private |
|
private |
|
private |
|
private |