VTK-m  2.0
QuadExtractor.h
Go to the documentation of this file.
1 //============================================================================
2 // Copyright (c) Kitware, Inc.
3 // All rights reserved.
4 // See LICENSE.txt for details.
5 //
6 // This software is distributed WITHOUT ANY WARRANTY; without even
7 // the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
8 // PURPOSE. See the above copyright notice for more information.
9 //============================================================================
10 #ifndef vtk_m_rendering_raytracing_Quad_Extractor_h
11 #define vtk_m_rendering_raytracing_Quad_Extractor_h
12 
13 #include <vtkm/cont/DataSet.h>
14 
15 namespace vtkm
16 {
17 namespace rendering
18 {
19 namespace raytracing
20 {
21 
23 {
24 protected:
27 
28 public:
29  void ExtractCells(const vtkm::cont::UnknownCellSet& cells);
30 
32 
33  vtkm::Id GetNumberOfQuads() const;
34 
35 protected:
37 
38 }; // class ShapeIntersector
39 }
40 }
41 } //namespace vtkm::rendering::raytracing
42 #endif //vtk_m_rendering_raytracing_Shape_Extractor_h
vtkm::rendering::raytracing::QuadExtractor::SetQuadIdsFromCells
void SetQuadIdsFromCells(const vtkm::cont::UnknownCellSet &cells)
vtkm::cont::ArrayHandle
Manages an array-worth of data.
Definition: ArrayHandle.h:283
vtkm
Groups connected points that have the same field value.
Definition: Atomic.h:19
vtkm::rendering::raytracing::QuadExtractor::GetQuadIds
vtkm::cont::ArrayHandle< vtkm::Vec< vtkm::Id, 5 > > GetQuadIds()
vtkm::cont::UnknownCellSet
A CellSet of an unknown type.
Definition: UnknownCellSet.h:48
vtkm::Id
vtkm::Int32 Id
Represents an ID (index into arrays).
Definition: Types.h:191
vtkm::rendering::raytracing::QuadExtractor
Definition: QuadExtractor.h:22
vtkm::rendering::raytracing::QuadExtractor::QuadIds
vtkm::cont::ArrayHandle< vtkm::Vec< vtkm::Id, 5 > > QuadIds
Definition: QuadExtractor.h:25
vtkm::rendering::raytracing::QuadExtractor::ExtractCells
void ExtractCells(const vtkm::cont::UnknownCellSet &cells)
vtkm::rendering::raytracing::QuadExtractor::Radii
vtkm::cont::ArrayHandle< vtkm::Float32 > Radii
Definition: QuadExtractor.h:26
DataSet.h
vtkm::rendering::raytracing::QuadExtractor::GetNumberOfQuads
vtkm::Id GetNumberOfQuads() const