Go to the documentation of this file.
10 #ifndef vtk_m_rendering_raytracing_ConnectivityTracer_h
11 #define vtk_m_rendering_raytracing_ConnectivityTracer_h
13 #include <vtkm/rendering/vtkm_rendering_export.h>
38 template <
typename FloatType>
51 EnterDist = &Distance1;
52 ExitDist = &Distance2;
75 : MeshContainer(nullptr)
77 , CountRayStatus(false)
84 if (MeshContainer !=
nullptr)
121 vtkm::Id GetNumberOfMeshCells()
const;
132 template <
typename FloatType>
141 template <
typename FloatType>
142 std::vector<PartialComposite<FloatType>> PartialTrace(
Ray<FloatType>& rays);
149 template <
typename FloatType>
155 template <
typename FloatType>
159 template <
typename FloatType>
160 void IntersectCell(
Ray<FloatType>& rays, detail::RayTracking<FloatType>& tracker);
162 template <
typename FloatType>
163 void AccumulatePathLengths(
Ray<FloatType>& rays, detail::RayTracking<FloatType>& tracker);
165 template <
typename FloatType>
166 void FindLostRays(
Ray<FloatType>& rays, detail::RayTracking<FloatType>& tracker);
168 template <
typename FloatType>
169 void SampleCells(
Ray<FloatType>& rays, detail::RayTracking<FloatType>& tracker);
171 template <
typename FloatType>
172 void IntegrateCells(
Ray<FloatType>& rays, detail::RayTracking<FloatType>& tracker);
174 template <
typename FloatType>
177 template <
typename FloatType>
MeshConnectivityContainer * MeshContainer
Definition: ConnectivityTracer.h:196
MeshConnectivityContainer * GetMeshContainer()
Definition: ConnectivityTracer.h:111
bool CountRayStatus
Definition: ConnectivityTracer.h:202
IntegrationMode
Definition: ConnectivityTracer.h:90
vtkm::Float32 SampleDistance
Definition: ConnectivityTracer.h:192
VTKM_EXEC_CONT void Swap(T &a, T &b)
Performs a swap operation. Safe to call from cuda code.
Definition: Swap.h:59
void SetDebugOn(bool on)
Definition: ConnectivityTracer.h:115
vtkm::cont::CoordinateSystem Coords
Definition: ConnectivityTracer.h:185
Groups connected points that have the same field value.
Definition: Atomic.h:19
@ Volume
Definition: ConnectivityTracer.h:92
vtkm::Float64 SampleTime
Definition: ConnectivityTracer.h:213
bool FieldAssocPoints
Definition: ConnectivityTracer.h:207
vtkm::Float32 UnitScalar
Definition: ConnectivityTracer.h:216
vtkm::cont::ArrayHandle< vtkm::Vec4f_32 > ColorMap
Definition: ConnectivityTracer.h:189
vtkm::Float64 BumpEpsilon
Definition: ConnectivityTracer.h:198
vtkm::Float64 LostRayTime
Definition: ConnectivityTracer.h:214
vtkm::cont::CellLocatorGeneral Locator
Definition: ConnectivityTracer.h:197
vtkm::Float64 MeshEntryTime
Definition: ConnectivityTracer.h:215
ConnectivityTracer()
Definition: ConnectivityTracer.h:74
A CellSet of an unknown type.
Definition: UnknownCellSet.h:48
vtkm::Int32 Id
Represents an ID (index into arrays).
Definition: Types.h:191
vtkm::Float64 BumpDistance
Definition: ConnectivityTracer.h:199
Definition: CoordinateSystem.h:25
vtkm::Id RaysLost
Definition: ConnectivityTracer.h:193
vtkm::cont::UnknownCellSet CellSet
Definition: ConnectivityTracer.h:184
A Field encapsulates an array on some piece of the mesh, such as the points, a cell set,...
Definition: cont/Field.h:31
ConnectivityTracer is volumetric ray tracer for unstructured grids.
Definition: ConnectivityTracer.h:71
void SetUnitScalar(const vtkm::Float32 unitScalar)
Definition: ConnectivityTracer.h:117
vtkm::cont::Field EmissionField
Definition: ConnectivityTracer.h:183
bool CreatePartialComposites
Definition: ConnectivityTracer.h:206
vtkm::Float64 IntegrateTime
Definition: ConnectivityTracer.h:212
bool HasEmission
Definition: ConnectivityTracer.h:208
A CellLocator that works generally well for any supported cell set.
Definition: CellLocatorGeneral.h:41
bool ReEnterMesh
Definition: ConnectivityTracer.h:205
~ConnectivityTracer()
Definition: ConnectivityTracer.h:82
vtkm::Float64 IntersectTime
Definition: ConnectivityTracer.h:211
vtkm::Vec4f_32 BackgroundColor
Definition: ConnectivityTracer.h:191
bool DebugFiltersOn
Definition: ConnectivityTracer.h:204
vtkm::Range ScalarBounds
Definition: ConnectivityTracer.h:186
float Float32
Definition: Types.h:154
void SetEpsilon(const vtkm::Float64 epsilon)
Definition: ConnectivityTracer.h:118
int32_t Int32
Definition: Types.h:160
double Float64
Definition: Types.h:155
bool MeshConnIsConstructed
Definition: ConnectivityTracer.h:203
vtkm::cont::Field ScalarField
Definition: ConnectivityTracer.h:182
Definition: MeshConnectivityContainers.h:24
IntegrationMode Integrator
Definition: ConnectivityTracer.h:194
Represent a continuous scalar range of values.
Definition: Range.h:31