//============================================================================ // Copyright (c) Kitware, Inc. // All rights reserved. // See LICENSE.txt for details. // // This software is distributed WITHOUT ANY WARRANTY; without even // the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR // PURPOSE. See the above copyright notice for more information. //============================================================================ #ifndef vtk_m_rendering_raytracing_PartialComposite_h #define vtk_m_rendering_raytracing_PartialComposite_h #include #include namespace vtkm { namespace rendering { namespace raytracing { template struct PartialComposite { vtkm::cont::ArrayHandle PixelIds; // pixel that owns composite vtkm::cont::ArrayHandle Distances; // distance of composite end ChannelBuffer Buffer; // holds either color or absorption // (optional fields) ChannelBuffer Intensities; // holds the intensity emerging from each ray vtkm::cont::ArrayHandle PathLengths; // Total distance traversed through the mesh }; } } } // namespace vtkm::rendering::raytracing #endif