Go to the documentation of this file.
10 #ifndef vtk_m_rendering_ConnectivityProxy_h
11 #define vtk_m_rendering_ConnectivityProxy_h
18 #include <vtkm/rendering/raytracing/Camera.h>
19 #include <vtkm/rendering/raytracing/PartialComposite.h>
20 #include <vtkm/rendering/raytracing/Ray.h>
27 using PartialVector64 = std::vector<vtkm::rendering::raytracing::PartialComposite<vtkm::Float64>>;
28 using PartialVector32 = std::vector<vtkm::rendering::raytracing::PartialComposite<vtkm::Float32>>;
36 const std::string& fieldName,
37 const std::string& coordinateName);
57 void SetRenderMode(RenderMode mode);
59 void SetScalarField(
const std::string& fieldName);
60 void SetEmissionField(
const std::string& fieldName);
63 void SetCompositeBackground(
bool on);
64 void SetDebugPrints(
bool on);
73 void Trace(vtkm::rendering::raytracing::Ray<vtkm::Float64>& rays);
74 void Trace(vtkm::rendering::raytracing::Ray<vtkm::Float32>& rays);
76 PartialVector64 PartialTrace(vtkm::rendering::raytracing::Ray<vtkm::Float64>& rays);
77 PartialVector32 PartialTrace(vtkm::rendering::raytracing::Ray<vtkm::Float32>& rays);
85 #endif //vtk_m_rendering_ConnectivityProxy_h
Manages an array-worth of data.
Definition: ArrayHandle.h:300
Groups connected points that have the same field value.
Definition: Atomic.h:19
#define VTKM_RENDERING_EXPORT
Definition: vtkm_rendering_export.h:44
std::unique_ptr< InternalsType > Internals
Definition: ConnectivityProxy.h:80
Contains and manages the geometric data structures that VTK-m operates on.
Definition: DataSet.h:57
A CellSet of an unknown type.
Definition: UnknownCellSet.h:48
Manages a coordinate system for a DataSet.
Definition: CoordinateSystem.h:30
Definition: ConnectivityProxy.h:30
A Field encapsulates an array on some piece of the mesh, such as the points, a cell set,...
Definition: Field.h:31
Represent an axis-aligned 3D bounds in space.
Definition: Bounds.h:29
RenderMode
Definition: ConnectivityProxy.h:51
float Float32
Base type to use for 32-bit floating-point numbers.
Definition: Types.h:157
double Float64
Base type to use for 64-bit floating-point numbers.
Definition: Types.h:161
Represents the image space that is the target of rendering using the internal ray tracing code.
Definition: CanvasRayTracer.h:25
Specifies the viewport for a rendering.
Definition: Camera.h:37
std::vector< vtkm::rendering::raytracing::PartialComposite< vtkm::Float32 > > PartialVector32
Definition: ConnectivityProxy.h:28
std::vector< vtkm::rendering::raytracing::PartialComposite< vtkm::Float64 > > PartialVector64
Definition: ConnectivityProxy.h:27
Represent a continuous scalar range of values.
Definition: Range.h:31