VTK-m  2.0
Public Types | Public Member Functions | Public Attributes | Protected Attributes | List of all members
vtkm::rendering::raytracing::LinearBVH Class Reference

#include <BoundingVolumeHierarchy.h>

Public Types

using InnerNodesHandle = vtkm::cont::ArrayHandle< vtkm::Vec4f_32 >
 
using LeafNodesHandle = vtkm::cont::ArrayHandle< Id >
 

Public Member Functions

 LinearBVH ()
 
VTKM_CONT LinearBVH (AABBs &aabbs)
 
VTKM_CONT LinearBVH (const LinearBVH &other)
 
VTKM_CONT void Allocate (const vtkm::Id &leafCount)
 
VTKM_CONT void Construct ()
 
VTKM_CONT void SetData (AABBs &aabbs)
 
VTKM_CONT AABBsGetAABBs ()
 
VTKM_CONT bool GetIsConstructed () const
 
vtkm::Id GetNumberOfAABBs () const
 

Public Attributes

AABBs AABB
 
InnerNodesHandle FlatBVH
 
LeafNodesHandle Leafs
 
vtkm::Bounds TotalBounds
 
vtkm::Id LeafCount
 

Protected Attributes

bool IsConstructed
 
bool CanConstruct
 

Member Typedef Documentation

◆ InnerNodesHandle

◆ LeafNodesHandle

Constructor & Destructor Documentation

◆ LinearBVH() [1/3]

vtkm::rendering::raytracing::LinearBVH::LinearBVH ( )

◆ LinearBVH() [2/3]

VTKM_CONT vtkm::rendering::raytracing::LinearBVH::LinearBVH ( AABBs aabbs)

◆ LinearBVH() [3/3]

VTKM_CONT vtkm::rendering::raytracing::LinearBVH::LinearBVH ( const LinearBVH other)

Member Function Documentation

◆ Allocate()

VTKM_CONT void vtkm::rendering::raytracing::LinearBVH::Allocate ( const vtkm::Id leafCount)

◆ Construct()

VTKM_CONT void vtkm::rendering::raytracing::LinearBVH::Construct ( )

◆ GetAABBs()

VTKM_CONT AABBs& vtkm::rendering::raytracing::LinearBVH::GetAABBs ( )

◆ GetIsConstructed()

VTKM_CONT bool vtkm::rendering::raytracing::LinearBVH::GetIsConstructed ( ) const

◆ GetNumberOfAABBs()

vtkm::Id vtkm::rendering::raytracing::LinearBVH::GetNumberOfAABBs ( ) const

◆ SetData()

VTKM_CONT void vtkm::rendering::raytracing::LinearBVH::SetData ( AABBs aabbs)

Member Data Documentation

◆ AABB

AABBs vtkm::rendering::raytracing::LinearBVH::AABB

◆ CanConstruct

bool vtkm::rendering::raytracing::LinearBVH::CanConstruct
protected

◆ FlatBVH

InnerNodesHandle vtkm::rendering::raytracing::LinearBVH::FlatBVH

◆ IsConstructed

bool vtkm::rendering::raytracing::LinearBVH::IsConstructed
protected

◆ LeafCount

vtkm::Id vtkm::rendering::raytracing::LinearBVH::LeafCount

◆ Leafs

LeafNodesHandle vtkm::rendering::raytracing::LinearBVH::Leafs

◆ TotalBounds

vtkm::Bounds vtkm::rendering::raytracing::LinearBVH::TotalBounds

The documentation for this class was generated from the following file: