VTK-m  2.2
Public Member Functions | Protected Attributes | List of all members
vtkm::rendering::ColorBarAnnotation Class Reference

#include <ColorBarAnnotation.h>

Public Member Functions

 ColorBarAnnotation ()
 
void SetColorTable (const vtkm::cont::ColorTable &colorTable)
 
void SetRange (const vtkm::Range &range, vtkm::IdComponent numTicks)
 
void SetFieldName (const std::string &fieldName)
 
void SetRange (vtkm::Float64 l, vtkm::Float64 h, vtkm::IdComponent numTicks)
 
void SetPosition (const vtkm::Bounds &position)
 
void Render (const vtkm::rendering::Camera &camera, const vtkm::rendering::WorldAnnotator &worldAnnotator, vtkm::rendering::Canvas &canvas)
 

Protected Attributes

vtkm::cont::ColorTable ColorTable
 
vtkm::rendering::AxisAnnotation2D Axis
 
vtkm::Bounds Position
 
bool Horizontal
 
std::string FieldName
 

Constructor & Destructor Documentation

◆ ColorBarAnnotation()

vtkm::rendering::ColorBarAnnotation::ColorBarAnnotation ( )

Member Function Documentation

◆ Render()

void vtkm::rendering::ColorBarAnnotation::Render ( const vtkm::rendering::Camera camera,
const vtkm::rendering::WorldAnnotator worldAnnotator,
vtkm::rendering::Canvas canvas 
)

◆ SetColorTable()

void vtkm::rendering::ColorBarAnnotation::SetColorTable ( const vtkm::cont::ColorTable colorTable)
inline

◆ SetFieldName()

void vtkm::rendering::ColorBarAnnotation::SetFieldName ( const std::string &  fieldName)

◆ SetPosition()

void vtkm::rendering::ColorBarAnnotation::SetPosition ( const vtkm::Bounds position)

◆ SetRange() [1/2]

void vtkm::rendering::ColorBarAnnotation::SetRange ( const vtkm::Range range,
vtkm::IdComponent  numTicks 
)

◆ SetRange() [2/2]

void vtkm::rendering::ColorBarAnnotation::SetRange ( vtkm::Float64  l,
vtkm::Float64  h,
vtkm::IdComponent  numTicks 
)
inline

Member Data Documentation

◆ Axis

vtkm::rendering::AxisAnnotation2D vtkm::rendering::ColorBarAnnotation::Axis
protected

◆ ColorTable

vtkm::cont::ColorTable vtkm::rendering::ColorBarAnnotation::ColorTable
protected

◆ FieldName

std::string vtkm::rendering::ColorBarAnnotation::FieldName
protected

◆ Horizontal

bool vtkm::rendering::ColorBarAnnotation::Horizontal
protected

◆ Position

vtkm::Bounds vtkm::rendering::ColorBarAnnotation::Position
protected

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