VTK-m  2.0
Classes | Typedefs | Functions
vtkm::rendering::raytracing Namespace Reference

Classes

struct  AABBs
 
class  BVHTraverser
 
class  Camera
 
class  CellIntersector
 
class  CellIntersector< 254 >
 
class  CellIntersector< 255 >
 
class  CellIntersector< CELL_SHAPE_HEXAHEDRON >
 
class  CellIntersector< CELL_SHAPE_TETRA >
 
class  CellIntersector< CELL_SHAPE_WEDGE >
 
class  CellSampler
 
class  CellSampler< 255 >
 
class  CellSampler< CELL_SHAPE_HEXAHEDRON >
 
class  CellSampler< CELL_SHAPE_PYRAMID >
 
class  CellSampler< CELL_SHAPE_STRUCTURED >
 
class  CellSampler< CELL_SHAPE_TETRA >
 
class  CellSampler< CELL_SHAPE_WEDGE >
 
struct  CellTables
 
class  ChannelBuffer
 Mananges a buffer that contains many channels per value (e.g., RGBA values). More...
 
class  ChannelBufferOperations
 
class  ConnectivityTracer
 ConnectivityTracer is volumetric ray tracer for unstructured grids. More...
 
class  CopyAndOffset
 
class  CopyAndOffsetMask
 
class  CylinderExtractor
 CylinderExtractor creates a line segments from the edges of a cell set. More...
 
class  CylinderIntersector
 
struct  DeviceStringFunctor
 
class  GlyphExtractor
 
class  GlyphExtractorVector
 
class  GlyphIntersector
 
class  GlyphIntersectorVector
 
class  LinearBVH
 
class  Logger
 
class  ManyMask
 
class  Mask
 
struct  MaxValue
 
class  MemSet
 
class  MeshConnectivity
 General version of mesh connectivity that can be used for all supported mesh types. More...
 
class  MeshConnectivityBuilder
 
class  MeshConnectivityContainer
 
class  MeshConnectivityContainerSingleType
 
class  MeshConnectivityContainerStructured
 
class  MeshConnectivityContainerUnstructured
 
class  MeshConnectivitySingleType
 
class  MeshConnectivityStructured
 
class  MeshConnectivityUnstructured
 
struct  MinValue
 
class  Moller
 
class  MortonCodeAABB
 
class  MortonCodeFace
 
struct  PartialComposite
 
class  QuadExtractor
 
class  QuadIntersector
 
class  Ray
 
class  RayOperations
 
class  RayTracer
 
class  ScalarRenderer
 
class  ShapeIntersector
 
class  SphereExtractor
 
class  SphereIntersector
 
class  TriangleExtractor
 
class  TriangleIntersector
 
class  VolumeRendererStructured
 
class  WaterTight
 

Typedefs

using ColorBuffer4f = vtkm::cont::ArrayHandle< vtkm::Vec4f_32 >
 
using ColorBuffer4b = vtkm::cont::ArrayHandle< vtkm::Vec4ui_8 >
 
using Vec3F = vtkm::Vec3f_32
 
using Vec3D = vtkm::Vec3f_64
 
using Vec3RenderingTypes = vtkm::List< Vec3F, Vec3D >
 
using ScalarF = vtkm::Float32
 
using ScalarD = vtkm::Float64
 
using RayStatusType = vtkm::List< vtkm::UInt8 >
 
using ScalarRenderingTypes = vtkm::List< ScalarF, ScalarD >
 

Functions

template<typename BVHPortalType , typename Precision >
VTKM_EXEC bool IntersectAABB (const BVHPortalType &bvh, const vtkm::Int32 &currentNode, const vtkm::Vec< Precision, 3 > &originDir, const vtkm::Vec< Precision, 3 > &invDir, const Precision &closestDistance, bool &hitLeftChild, bool &hitRightChild, const Precision &minDistance)
 
template<typename T >
VTKM_EXEC_CONT void IntersectZoo (T xpoints[8], T ypoints[8], T zpoints[8], const vtkm::Vec< T, 3 > &dir, const vtkm::Vec< T, 3 > &origin, T distances[6], const vtkm::Int32 &shapeType)
 
template<typename T >
VTKM_EXEC_CONT void IntersectHex (T xpoints[8], T ypoints[8], T zpoints[8], const vtkm::Vec< T, 3 > &dir, const vtkm::Vec< T, 3 > &origin, T distances[6])
 
template<typename T >
VTKM_EXEC_CONT void IntersectTet (T xpoints[8], T ypoints[8], T zpoints[8], const vtkm::Vec< T, 3 > &dir, const vtkm::Vec< T, 3 > &origin, T distances[6])
 
template<typename T >
VTKM_EXEC_CONT void IntersectWedge (T xpoints[8], T ypoints[8], T zpoints[8], const vtkm::Vec< T, 3 > &dir, const vtkm::Vec< T, 3 > &origin, T distances[6])
 
VTKM_EXEC vtkm::UInt32 ExpandBits32 (vtkm::UInt32 x32)
 
VTKM_EXEC vtkm::UInt64 ExpandBits64 (vtkm::UInt32 x)
 
VTKM_EXEC vtkm::UInt32 Morton3D (vtkm::Float32 &x, vtkm::Float32 &y, vtkm::Float32 &z)
 
VTKM_EXEC vtkm::UInt64 Morton3D64 (vtkm::Float32 &x, vtkm::Float32 &y, vtkm::Float32 &z)
 
template<typename T >
VTKM_EXEC_CONT void GetInfinity (T &vtkmNotUsed(infinity))
 
template<>
VTKM_EXEC_CONT void GetInfinity< vtkm::Float32 > (vtkm::Float32 &infinity)
 
template<>
VTKM_EXEC_CONT void GetInfinity< vtkm::Float64 > (vtkm::Float64 &infinity)
 
template<typename Device >
std::string GetDeviceString (Device)
 
template<>
std::string GetDeviceString< vtkm::cont::DeviceAdapterTagSerial > (vtkm::cont::DeviceAdapterTagSerial)
 
template<>
std::string GetDeviceString< vtkm::cont::DeviceAdapterTagTBB > (vtkm::cont::DeviceAdapterTagTBB)
 
template<>
std::string GetDeviceString< vtkm::cont::DeviceAdapterTagOpenMP > (vtkm::cont::DeviceAdapterTagOpenMP)
 
template<>
std::string GetDeviceString< vtkm::cont::DeviceAdapterTagCuda > (vtkm::cont::DeviceAdapterTagCuda)
 
template<>
std::string GetDeviceString< vtkm::cont::DeviceAdapterTagKokkos > (vtkm::cont::DeviceAdapterTagKokkos)
 
std::string GetDeviceString ()
 
VTKM_CONT vtkm::cont::UncertainArrayHandle< ScalarRenderingTypes, VTKM_DEFAULT_STORAGE_LIST > GetScalarFieldArray (const vtkm::cont::Field &field)
 
VTKM_CONT vtkm::cont::UncertainArrayHandle< Vec3RenderingTypes, VTKM_DEFAULT_STORAGE_LIST > GetVec3FieldArray (const vtkm::cont::Field &field)
 
template<vtkm::Int32 Base>
VTKM_EXEC void Halton2D (const vtkm::Int32 &sampleNum, vtkm::Vec2f_32 &coord)
 
VTKM_EXEC vtkm::Vec3f_32 CosineWeightedHemisphere (const vtkm::Int32 &sampleNum, const vtkm::Vec3f_32 &normal)
 
template<>
VTKM_EXEC void WaterTight::IntersectTri< vtkm::Float64 > (const vtkm::Vec3f_64 &a, const vtkm::Vec3f_64 &b, const vtkm::Vec3f_64 &c, const vtkm::Vec3f_64 &dir, vtkm::Float64 &distance, vtkm::Float64 &u, vtkm::Float64 &v, const vtkm::Vec3f_64 &origin) const
 

Typedef Documentation

◆ ColorBuffer4b

◆ ColorBuffer4f

◆ RayStatusType

◆ ScalarD

◆ ScalarF

◆ ScalarRenderingTypes

◆ Vec3D

◆ Vec3F

◆ Vec3RenderingTypes

Function Documentation

◆ CosineWeightedHemisphere()

VTKM_EXEC vtkm::Vec3f_32 vtkm::rendering::raytracing::CosineWeightedHemisphere ( const vtkm::Int32 sampleNum,
const vtkm::Vec3f_32 normal 
)

◆ ExpandBits32()

VTKM_EXEC vtkm::UInt32 vtkm::rendering::raytracing::ExpandBits32 ( vtkm::UInt32  x32)
inline

◆ ExpandBits64()

VTKM_EXEC vtkm::UInt64 vtkm::rendering::raytracing::ExpandBits64 ( vtkm::UInt32  x)
inline

◆ GetDeviceString() [1/2]

std::string vtkm::rendering::raytracing::GetDeviceString ( )
inline

◆ GetDeviceString() [2/2]

template<typename Device >
std::string vtkm::rendering::raytracing::GetDeviceString ( Device  )
inline

◆ GetDeviceString< vtkm::cont::DeviceAdapterTagCuda >()

template<>
std::string vtkm::rendering::raytracing::GetDeviceString< vtkm::cont::DeviceAdapterTagCuda > ( vtkm::cont::DeviceAdapterTagCuda  )
inline

◆ GetDeviceString< vtkm::cont::DeviceAdapterTagKokkos >()

template<>
std::string vtkm::rendering::raytracing::GetDeviceString< vtkm::cont::DeviceAdapterTagKokkos > ( vtkm::cont::DeviceAdapterTagKokkos  )
inline

◆ GetDeviceString< vtkm::cont::DeviceAdapterTagOpenMP >()

template<>
std::string vtkm::rendering::raytracing::GetDeviceString< vtkm::cont::DeviceAdapterTagOpenMP > ( vtkm::cont::DeviceAdapterTagOpenMP  )
inline

◆ GetDeviceString< vtkm::cont::DeviceAdapterTagSerial >()

template<>
std::string vtkm::rendering::raytracing::GetDeviceString< vtkm::cont::DeviceAdapterTagSerial > ( vtkm::cont::DeviceAdapterTagSerial  )
inline

◆ GetDeviceString< vtkm::cont::DeviceAdapterTagTBB >()

template<>
std::string vtkm::rendering::raytracing::GetDeviceString< vtkm::cont::DeviceAdapterTagTBB > ( vtkm::cont::DeviceAdapterTagTBB  )
inline

◆ GetInfinity()

template<typename T >
VTKM_EXEC_CONT void vtkm::rendering::raytracing::GetInfinity ( T &  vtkmNotUsedinfinity)
inline

◆ GetInfinity< vtkm::Float32 >()

◆ GetInfinity< vtkm::Float64 >()

◆ GetScalarFieldArray()

VTKM_CONT vtkm::cont::UncertainArrayHandle<ScalarRenderingTypes, VTKM_DEFAULT_STORAGE_LIST> vtkm::rendering::raytracing::GetScalarFieldArray ( const vtkm::cont::Field field)
inline

◆ GetVec3FieldArray()

VTKM_CONT vtkm::cont::UncertainArrayHandle<Vec3RenderingTypes, VTKM_DEFAULT_STORAGE_LIST> vtkm::rendering::raytracing::GetVec3FieldArray ( const vtkm::cont::Field field)
inline

◆ Halton2D()

template<vtkm::Int32 Base>
VTKM_EXEC void vtkm::rendering::raytracing::Halton2D ( const vtkm::Int32 sampleNum,
vtkm::Vec2f_32 coord 
)

◆ IntersectAABB()

template<typename BVHPortalType , typename Precision >
VTKM_EXEC bool vtkm::rendering::raytracing::IntersectAABB ( const BVHPortalType &  bvh,
const vtkm::Int32 currentNode,
const vtkm::Vec< Precision, 3 > &  originDir,
const vtkm::Vec< Precision, 3 > &  invDir,
const Precision &  closestDistance,
bool &  hitLeftChild,
bool &  hitRightChild,
const Precision &  minDistance 
)
inline

◆ IntersectHex()

template<typename T >
VTKM_EXEC_CONT void vtkm::rendering::raytracing::IntersectHex ( xpoints[8],
ypoints[8],
zpoints[8],
const vtkm::Vec< T, 3 > &  dir,
const vtkm::Vec< T, 3 > &  origin,
distances[6] 
)
inline

◆ IntersectTet()

template<typename T >
VTKM_EXEC_CONT void vtkm::rendering::raytracing::IntersectTet ( xpoints[8],
ypoints[8],
zpoints[8],
const vtkm::Vec< T, 3 > &  dir,
const vtkm::Vec< T, 3 > &  origin,
distances[6] 
)
inline

◆ IntersectWedge()

template<typename T >
VTKM_EXEC_CONT void vtkm::rendering::raytracing::IntersectWedge ( xpoints[8],
ypoints[8],
zpoints[8],
const vtkm::Vec< T, 3 > &  dir,
const vtkm::Vec< T, 3 > &  origin,
distances[6] 
)
inline

◆ IntersectZoo()

template<typename T >
VTKM_EXEC_CONT void vtkm::rendering::raytracing::IntersectZoo ( xpoints[8],
ypoints[8],
zpoints[8],
const vtkm::Vec< T, 3 > &  dir,
const vtkm::Vec< T, 3 > &  origin,
distances[6],
const vtkm::Int32 shapeType 
)
inline

◆ Morton3D()

VTKM_EXEC vtkm::UInt32 vtkm::rendering::raytracing::Morton3D ( vtkm::Float32 x,
vtkm::Float32 y,
vtkm::Float32 z 
)
inline

◆ Morton3D64()

VTKM_EXEC vtkm::UInt64 vtkm::rendering::raytracing::Morton3D64 ( vtkm::Float32 x,
vtkm::Float32 y,
vtkm::Float32 z 
)
inline

◆ WaterTight::IntersectTri< vtkm::Float64 >()

template<>
VTKM_EXEC void vtkm::rendering::raytracing::WaterTight::IntersectTri< vtkm::Float64 > ( const vtkm::Vec3f_64 a,
const vtkm::Vec3f_64 b,
const vtkm::Vec3f_64 c,
const vtkm::Vec3f_64 dir,
vtkm::Float64 distance,
vtkm::Float64 u,
vtkm::Float64 v,
const vtkm::Vec3f_64 origin 
) const
inline