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

CylinderExtractor creates a line segments from the edges of a cell set. More...

#include <CylinderExtractor.h>

Public Member Functions

void ExtractCells (const vtkm::cont::UnknownCellSet &cells, vtkm::Float32 radius)
 
void ExtractCells (const vtkm::cont::UnknownCellSet &cells, const vtkm::cont::Field &field, const vtkm::Float32 minRadius, const vtkm::Float32 maxRadius)
 
vtkm::cont::ArrayHandle< vtkm::Id3GetCylIds ()
 
vtkm::cont::ArrayHandle< vtkm::Float32GetRadii ()
 
vtkm::Id GetNumberOfCylinders () const
 

Protected Member Functions

void SetUniformRadius (const vtkm::Float32 radius)
 
void SetVaryingRadius (const vtkm::Float32 minRadius, const vtkm::Float32 maxRadius, const vtkm::cont::Field &field)
 
void SetCylinderIdsFromCells (const vtkm::cont::UnknownCellSet &cells)
 

Protected Attributes

vtkm::cont::ArrayHandle< vtkm::Id3CylIds
 
vtkm::cont::ArrayHandle< vtkm::Float32Radii
 

Detailed Description

CylinderExtractor creates a line segments from the edges of a cell set.

Member Function Documentation

◆ ExtractCells() [1/2]

void vtkm::rendering::raytracing::CylinderExtractor::ExtractCells ( const vtkm::cont::UnknownCellSet cells,
const vtkm::cont::Field field,
const vtkm::Float32  minRadius,
const vtkm::Float32  maxRadius 
)

◆ ExtractCells() [2/2]

void vtkm::rendering::raytracing::CylinderExtractor::ExtractCells ( const vtkm::cont::UnknownCellSet cells,
vtkm::Float32  radius 
)

◆ GetCylIds()

vtkm::cont::ArrayHandle<vtkm::Id3> vtkm::rendering::raytracing::CylinderExtractor::GetCylIds ( )

◆ GetNumberOfCylinders()

vtkm::Id vtkm::rendering::raytracing::CylinderExtractor::GetNumberOfCylinders ( ) const

◆ GetRadii()

vtkm::cont::ArrayHandle<vtkm::Float32> vtkm::rendering::raytracing::CylinderExtractor::GetRadii ( )

◆ SetCylinderIdsFromCells()

void vtkm::rendering::raytracing::CylinderExtractor::SetCylinderIdsFromCells ( const vtkm::cont::UnknownCellSet cells)
protected

◆ SetUniformRadius()

void vtkm::rendering::raytracing::CylinderExtractor::SetUniformRadius ( const vtkm::Float32  radius)
protected

◆ SetVaryingRadius()

void vtkm::rendering::raytracing::CylinderExtractor::SetVaryingRadius ( const vtkm::Float32  minRadius,
const vtkm::Float32  maxRadius,
const vtkm::cont::Field field 
)
protected

Member Data Documentation

◆ CylIds

vtkm::cont::ArrayHandle<vtkm::Id3> vtkm::rendering::raytracing::CylinderExtractor::CylIds
protected

◆ Radii

vtkm::cont::ArrayHandle<vtkm::Float32> vtkm::rendering::raytracing::CylinderExtractor::Radii
protected

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