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

#include <ColorBarAnnotation.h>

Public Member Functions

 ColorBarAnnotation ()
 
virtual ~ColorBarAnnotation ()
 
VTKM_CONT void SetColorTable (const vtkm::cont::ColorTable &colorTable)
 
VTKM_CONT void SetRange (const vtkm::Range &range, vtkm::IdComponent numTicks)
 
VTKM_CONT void SetFieldName (const std::string &fieldName)
 
VTKM_CONT void SetRange (vtkm::Float64 l, vtkm::Float64 h, vtkm::IdComponent numTicks)
 
VTKM_CONT void SetPosition (const vtkm::Bounds &position)
 
virtual 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 ( )

◆ ~ColorBarAnnotation()

virtual vtkm::rendering::ColorBarAnnotation::~ColorBarAnnotation ( )
virtual

Member Function Documentation

◆ Render()

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

◆ SetColorTable()

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

◆ SetFieldName()

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

◆ SetPosition()

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

◆ SetRange() [1/2]

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

◆ SetRange() [2/2]

VTKM_CONT 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: