VTK-m
2.2
|
Mapper that renders a volume as a translucent cloud. More...
#include <MapperVolume.h>
Public Member Functions | |
MapperVolume () | |
~MapperVolume () | |
void | SetCanvas (vtkm::rendering::Canvas *canvas) override |
virtual vtkm::rendering::Canvas * | GetCanvas () const override |
vtkm::rendering::Mapper * | NewCopy () const override |
void | SetSampleDistance (const vtkm::Float32 distance) |
Specify how much space is between samples of rays that traverse the volume. More... | |
void | SetCompositeBackground (const bool compositeBackground) |
Public Member Functions inherited from vtkm::rendering::Mapper | |
Mapper () | |
virtual | ~Mapper () |
virtual void | RenderCells (const vtkm::cont::UnknownCellSet &cellset, const vtkm::cont::CoordinateSystem &coords, const vtkm::cont::Field &scalarField, const vtkm::cont::ColorTable &colorTable, const vtkm::rendering::Camera &camera, const vtkm::Range &scalarRange) |
void | RenderCells (const vtkm::cont::UnknownCellSet &cellset, const vtkm::cont::CoordinateSystem &coords, const vtkm::cont::Field &scalarField, const vtkm::cont::ColorTable &colorTable, const vtkm::rendering::Camera &camera, const vtkm::Range &scalarRange, const vtkm::cont::Field &ghostField) |
virtual void | RenderCellsPartitioned (const vtkm::cont::PartitionedDataSet partitionedData, const std::string fieldName, const vtkm::cont::ColorTable &colorTable, const vtkm::rendering::Camera &camera, const vtkm::Range &scalarRange) |
virtual void | SetActiveColorTable (const vtkm::cont::ColorTable &ct) |
virtual void | SetLogarithmX (bool l) |
virtual void | SetLogarithmY (bool l) |
Private Member Functions | |
virtual void | RenderCellsImpl (const vtkm::cont::UnknownCellSet &cellset, const vtkm::cont::CoordinateSystem &coords, const vtkm::cont::Field &scalarField, const vtkm::cont::ColorTable &, const vtkm::rendering::Camera &camera, const vtkm::Range &scalarRange, const vtkm::cont::Field &ghostField) override |
Private Attributes | |
std::shared_ptr< InternalsType > | Internals |
Additional Inherited Members | |
Protected Attributes inherited from vtkm::rendering::Mapper | |
vtkm::cont::ArrayHandle< vtkm::Vec4f_32 > | ColorMap |
bool | LogarithmX = false |
bool | LogarithmY = false |
bool | SortBackToFront = true |
Mapper that renders a volume as a translucent cloud.
vtkm::rendering::MapperVolume::MapperVolume | ( | ) |
vtkm::rendering::MapperVolume::~MapperVolume | ( | ) |
|
overridevirtual |
Implements vtkm::rendering::Mapper.
|
overridevirtual |
Implements vtkm::rendering::Mapper.
|
overrideprivatevirtual |
Implements vtkm::rendering::Mapper.
|
overridevirtual |
Implements vtkm::rendering::Mapper.
void vtkm::rendering::MapperVolume::SetCompositeBackground | ( | const bool | compositeBackground | ) |
void vtkm::rendering::MapperVolume::SetSampleDistance | ( | const vtkm::Float32 | distance | ) |
Specify how much space is between samples of rays that traverse the volume.
The volume rendering ray caster finds the entry point of the ray through the volume and then samples the volume along the direction of the ray at regular intervals. This parameter specifies how far these samples occur.
|
private |