Go to the documentation of this file.
   11 #ifndef vtk_m_filter_contour_Contour_h 
   12 #define vtk_m_filter_contour_Contour_h 
   15 #include <vtkm/filter/contour/vtkm_filter_contour_export.h> 
   37       this->IsoValues.resize(
static_cast<std::size_t
>(num));
 
   47     std::size_t i = 
static_cast<std::size_t
>(index);
 
   48     if (i >= this->IsoValues.size())
 
   50       this->IsoValues.resize(i + 1);
 
   52     this->IsoValues[i] = v;
 
   55   void SetIsoValues(
const std::vector<vtkm::Float64>& values) { this->IsoValues = values; }
 
   59     return this->IsoValues[
static_cast<std::size_t
>(index)];
 
   67   void SetMergeDuplicatePoints(
bool on);
 
   70   bool GetMergeDuplicatePoints() 
const;
 
  100     this->ComputeFastNormalsForUnstructured = on;
 
  105     return this->ComputeFastNormalsForUnstructured;
 
  118   bool GenerateNormals = 
false;
 
  119   bool AddInterpolationEdgeIds = 
false;
 
  120   bool ComputeFastNormalsForStructured = 
false;
 
  121   bool ComputeFastNormalsForUnstructured = 
true;
 
  122   bool MergeDuplicatedPoints = 
true;
 
  123   std::string NormalArrayName = 
"normals";
 
  124   std::string InterpolationEdgeIdsArrayName = 
"edgeIds";
 
  134 #endif // vtk_m_filter_contour_Contour_h 
  
Groups connected points that have the same field value.
Definition: Atomic.h:19
 
vtkm::Float64 GetIsoValue(vtkm::Id index) const
Definition: Contour.h:57
 
VTKM_CONT void SetComputeFastNormalsForUnstructured(bool on)
Set/Get whether the fast path should be used for normals computation for unstructured datasets.
Definition: Contour.h:98
 
void SetIsoValue(vtkm::Float64 v)
Definition: Contour.h:43
 
vtkm::Id GetNumberOfIsoValues() const
Definition: Contour.h:41
 
VTKM_CONT bool GetComputeFastNormalsForUnstructured() const
Definition: Contour.h:103
 
void SetIsoValues(const std::vector< vtkm::Float64 > &values)
Definition: Contour.h:55
 
VTKM_CONT void SetComputeFastNormalsForStructured(bool on)
Set/Get whether the fast path should be used for normals computation for structured datasets.
Definition: Contour.h:91
 
const VTKM_CONT std::string & GetNormalArrayName() const
Definition: Contour.h:112
 
VTKM_CONT void SetAddInterpolationEdgeIds(bool on)
Set/Get whether to append the ids of the intersected edges to the vertices of the isosurface triangle...
Definition: Contour.h:84
 
void SetIsoValue(vtkm::Id index, vtkm::Float64 v)
Definition: Contour.h:45
 
vtkm::Int32 Id
Represents an ID (index into arrays).
Definition: Types.h:191
 
VTKM_CONT std::vector< vtkm::Float64 > IsoValues
Definition: Contour.h:117
 
Definition: FilterField.h:21
 
#define VTKM_CONT
Definition: ExportMacros.h:57
 
VTKM_CONT void SetGenerateNormals(bool on)
Set/Get whether normals should be generated.
Definition: Contour.h:78
 
VTKM_CONT bool GetGenerateNormals() const
Definition: Contour.h:80
 
generate isosurface(s) from a Volume
Definition: Contour.h:30
 
VTKM_CONT bool GetComputeFastNormalsForStructured() const
Definition: Contour.h:93
 
double Float64
Definition: Types.h:155
 
VTKM_CONT bool GetAddInterpolationEdgeIds() const
Definition: Contour.h:86
 
void SetNumberOfIsoValues(vtkm::Id num)
Definition: Contour.h:33
 
VTKM_CONT void SetNormalArrayName(const std::string &name)
Definition: Contour.h:109