VTK-m  2.0
PartialComposite.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_PartialComposite_h
11 #define vtk_m_rendering_raytracing_PartialComposite_h
12 
13 #include <vtkm/cont/ArrayHandle.h>
15 
16 namespace vtkm
17 {
18 namespace rendering
19 {
20 namespace raytracing
21 {
22 
23 template <typename FloatType>
25 {
26  vtkm::cont::ArrayHandle<vtkm::Id> PixelIds; // pixel that owns composite
27  vtkm::cont::ArrayHandle<FloatType> Distances; // distance of composite end
28  ChannelBuffer<FloatType> Buffer; // holds either color or absorption
29  // (optional fields)
30  ChannelBuffer<FloatType> Intensities; // holds the intensity emerging from each ray
31  vtkm::cont::ArrayHandle<FloatType> PathLengths; // Total distance traversed through the mesh
32 };
33 }
34 }
35 } // namespace vtkm::rendering::raytracing
36 #endif
vtkm::rendering::raytracing::PartialComposite::PathLengths
vtkm::cont::ArrayHandle< FloatType > PathLengths
Definition: PartialComposite.h:31
vtkm::cont::ArrayHandle< vtkm::Id >
ArrayHandle.h
vtkm
Groups connected points that have the same field value.
Definition: Atomic.h:19
vtkm::rendering::raytracing::PartialComposite::Intensities
ChannelBuffer< FloatType > Intensities
Definition: PartialComposite.h:30
ChannelBuffer.h
vtkm::rendering::raytracing::ChannelBuffer< FloatType >
vtkm::rendering::raytracing::PartialComposite
Definition: PartialComposite.h:24
vtkm::rendering::raytracing::PartialComposite::Distances
vtkm::cont::ArrayHandle< FloatType > Distances
Definition: PartialComposite.h:27
vtkm::rendering::raytracing::PartialComposite::Buffer
ChannelBuffer< FloatType > Buffer
Definition: PartialComposite.h:28
vtkm::rendering::raytracing::PartialComposite::PixelIds
vtkm::cont::ArrayHandle< vtkm::Id > PixelIds
Definition: PartialComposite.h:26