#include <TextAnnotation.h>
◆ HorizontalAlignment
| Enumerator | 
|---|
| Left  |  | 
| HCenter  |  | 
| Right  |  | 
 
 
◆ VerticalAlignment
| Enumerator | 
|---|
| Bottom  |  | 
| VCenter  |  | 
| Top  |  | 
 
 
◆ TextAnnotation()
◆ ~TextAnnotation()
  
  
      
        
          | virtual vtkm::rendering::TextAnnotation::~TextAnnotation  | 
          ( | 
           | ) | 
           | 
         
       
   | 
  
virtual   | 
  
 
 
◆ GetText()
      
        
          | const std::string& vtkm::rendering::TextAnnotation::GetText  | 
          ( | 
           | ) | 
           const | 
        
      
 
 
◆ Render()
◆ SetAlignment()
◆ SetRawAnchor() [1/2]
      
        
          | void vtkm::rendering::TextAnnotation::SetRawAnchor  | 
          ( | 
          const vtkm::Vec2f_32 &  | 
          anchor | ) | 
           | 
        
      
 
Set the anchor point relative to the box containing the text. 
The anchor is scaled in both directions to the range [-1,1] with -1 at the lower left and 1 at the upper right. 
 
 
◆ SetRawAnchor() [2/2]
◆ SetScale()
      
        
          | void vtkm::rendering::TextAnnotation::SetScale  | 
          ( | 
          vtkm::Float32  | 
          scale | ) | 
           | 
        
      
 
 
◆ SetText()
      
        
          | void vtkm::rendering::TextAnnotation::SetText  | 
          ( | 
          const std::string &  | 
          text | ) | 
           | 
        
      
 
 
◆ Anchor
◆ Bottom
  
  
      
        
          | constexpr VerticalAlignment vtkm::rendering::TextAnnotation::Bottom = VerticalAlignment::Bottom | 
         
       
   | 
  
staticconstexpr   | 
  
 
 
◆ HCenter
  
  
      
        
          | constexpr HorizontalAlignment vtkm::rendering::TextAnnotation::HCenter = HorizontalAlignment::HCenter | 
         
       
   | 
  
staticconstexpr   | 
  
 
 
◆ Left
  
  
      
        
          | constexpr HorizontalAlignment vtkm::rendering::TextAnnotation::Left = HorizontalAlignment::Left | 
         
       
   | 
  
staticconstexpr   | 
  
 
 
◆ Right
  
  
      
        
          | constexpr HorizontalAlignment vtkm::rendering::TextAnnotation::Right = HorizontalAlignment::Right | 
         
       
   | 
  
staticconstexpr   | 
  
 
 
◆ Scale
◆ Text
  
  
      
        
          | std::string vtkm::rendering::TextAnnotation::Text | 
         
       
   | 
  
protected   | 
  
 
 
◆ TextColor
  
  
      
        
          | Color vtkm::rendering::TextAnnotation::TextColor | 
         
       
   | 
  
protected   | 
  
 
 
◆ Top
  
  
      
        
          | constexpr VerticalAlignment vtkm::rendering::TextAnnotation::Top = VerticalAlignment::Top | 
         
       
   | 
  
staticconstexpr   | 
  
 
 
◆ VCenter
  
  
      
        
          | constexpr VerticalAlignment vtkm::rendering::TextAnnotation::VCenter = VerticalAlignment::VCenter | 
         
       
   | 
  
staticconstexpr   | 
  
 
 
The documentation for this class was generated from the following file: