Go to the documentation of this file.
17 #ifndef vtkDaxContourImpl_h
18 #define vtkDaxContourImpl_h
21 #include "vtkDaxConfig.h"
68 bool computeScalars) :
75 template<
typename LHS>
80 if (arrayField.GetNumberOfComponents() == 1)
85 return dispatchOnFieldType<LHS,VT1>(arrayField);
90 template<
typename VTKArrayType,
typename DaxValueType>
94 typedef dax::cont::ArrayHandle<DaxValueType,FieldTag> FieldHandle;
96 typedef typename dax::cont::ArrayHandle
97 <DaxValueType, FieldTag>::PortalConstControl PortalType;
99 FieldHandle
field = FieldHandle( PortalType(&vtkField,
100 vtkField.GetNumberOfTuples() ) );
102 DaxValueType(this->IsoValue),
103 this->ComputeScalars);
115 int validMC = dataDispatcher.
Go(this->Input,this->Cell);
136 isoValue, computeScalars);
143 return fieldDispatcher.
Go(
field);
void setFieldName(const char *name)
a cell that represents a linear 3D hexahedron
void Add(Functor fun)
Add in a functor that is mapped to the combination of the two template parameters passed in.
dynamic, self-adjusting array of float
abstract superclass for arrays of numeric data
Dispatch to functor based on a pointer type.
ReturnType Go(BaseLhs *lhs, BaseRhs *rhs)
Given two pointers of objects that derive from the BaseLhs and BaseRhs we find the matching functor t...
abstract class to specify cell behavior
topologically and geometrically regular array of data
CellTypeInDataSet cellType(vtkDataSet *input)
abstract class to specify dataset behavior
void setOutputGrid(vtkPolyData *grid)
int Contour(vtkDataSet *input, vtkPolyData *output, vtkDataArray *field, float isoValue, bool computeScalars)
void Add(Functor fun)
Add in a functor that is mapped to the template SomeLhs parameter.
concrete dataset represents vertices, lines, polygons, and triangle strips
Dispatch to functor based on two pointer types.
dynamic, self-adjusting array of double
dataset represents arbitrary combinations of all possible cell types
a 3D cell that represents a tetrahedron
ReturnType Go(BaseLhs *lhs)
Given a pointer to an object that derives from the BaseLhs we find the matching functor that was adde...
a cell that represents a 3D orthogonal parallelepiped