Viskores
1.0
|
MapperCylinder
renderers edges from a cell set and renders them as cylinders via ray tracing.
More...
#include <MapperCylinder.h>
Public Member Functions | |
MapperCylinder () | |
~MapperCylinder () | |
void | SetCanvas (viskores::rendering::Canvas *canvas) override |
virtual viskores::rendering::Canvas * | GetCanvas () const override |
void | UseVariableRadius (bool useVariableRadius) |
render points using a variable radius based on the scalar field. More... | |
void | SetRadius (const viskores::Float32 &radius) |
Set a base radius for all points. More... | |
void | SetRadiusDelta (const viskores::Float32 &delta) |
When using a variable radius for all cylinder, the radius delta controls how much larger and smaller radii become based on the scalar field. More... | |
void | SetCompositeBackground (bool on) |
viskores::rendering::Mapper * | NewCopy () const override |
![]() | |
Mapper () | |
virtual | ~Mapper () |
virtual void | RenderCells (const viskores::cont::UnknownCellSet &cellset, const viskores::cont::CoordinateSystem &coords, const viskores::cont::Field &scalarField, const viskores::cont::ColorTable &colorTable, const viskores::rendering::Camera &camera, const viskores::Range &scalarRange) |
void | RenderCells (const viskores::cont::UnknownCellSet &cellset, const viskores::cont::CoordinateSystem &coords, const viskores::cont::Field &scalarField, const viskores::cont::ColorTable &colorTable, const viskores::rendering::Camera &camera, const viskores::Range &scalarRange, const viskores::cont::Field &ghostField) |
virtual void | RenderCellsPartitioned (const viskores::cont::PartitionedDataSet partitionedData, const std::string fieldName, const viskores::cont::ColorTable &colorTable, const viskores::rendering::Camera &camera, const viskores::Range &scalarRange) |
virtual void | SetActiveColorTable (const viskores::cont::ColorTable &ct) |
virtual void | SetLogarithmX (bool l) |
virtual void | SetLogarithmY (bool l) |
Private Member Functions | |
void | RenderCellsImpl (const viskores::cont::UnknownCellSet &cellset, const viskores::cont::CoordinateSystem &coords, const viskores::cont::Field &scalarField, const viskores::cont::ColorTable &colorTable, const viskores::rendering::Camera &camera, const viskores::Range &scalarRange, const viskores::cont::Field &ghostField) override |
Private Attributes | |
std::shared_ptr< InternalsType > | Internals |
Additional Inherited Members | |
![]() | |
viskores::cont::ArrayHandle< viskores::Vec4f_32 > | ColorMap |
bool | LogarithmX = false |
bool | LogarithmY = false |
bool | SortBackToFront = true |
MapperCylinder
renderers edges from a cell set and renders them as cylinders via ray tracing.
viskores::rendering::MapperCylinder::MapperCylinder | ( | ) |
viskores::rendering::MapperCylinder::~MapperCylinder | ( | ) |
|
overridevirtual |
Implements viskores::rendering::Mapper.
|
overridevirtual |
Implements viskores::rendering::Mapper.
|
overrideprivatevirtual |
Implements viskores::rendering::Mapper.
|
overridevirtual |
Implements viskores::rendering::Mapper.
void viskores::rendering::MapperCylinder::SetCompositeBackground | ( | bool | on | ) |
void viskores::rendering::MapperCylinder::SetRadius | ( | const viskores::Float32 & | radius | ) |
Set a base radius for all points.
If a radius is never specified the default heuristic is used.
void viskores::rendering::MapperCylinder::SetRadiusDelta | ( | const viskores::Float32 & | delta | ) |
When using a variable radius for all cylinder, the radius delta controls how much larger and smaller radii become based on the scalar field.
If the delta is 0 all points will have the same radius. If the delta is 0.5 then the max/min scalar values would have a radii of base +/- base * 0.5.
void viskores::rendering::MapperCylinder::UseVariableRadius | ( | bool | useVariableRadius | ) |
render points using a variable radius based on the scalar field.
The default is false.
|
private |