Go to the documentation of this file.
10 #ifndef vtk_m_rendering_AxisAnnotation3D_h
11 #define vtk_m_rendering_AxisAnnotation3D_h
46 std::vector<std::unique_ptr<TextAnnotationBillboard>>
Labels;
65 void SetTickInvert(
bool x,
bool y,
bool z);
73 this->TickMajorSize = size;
74 this->TickMajorOffset = offset;
79 this->TickMinorSize = size;
80 this->TickMinorOffset = offset;
86 this->Point0 = point0;
87 this->Point1 = point1;
119 #endif // vtk_m_rendering_AxisAnnotation3D_h
Definition: AxisAnnotation3D.h:32
vtkm::Vec3f_32 Invert
Definition: AxisAnnotation3D.h:39
Representation of a color.
Definition: Color.h:29
Groups connected points that have the same field value.
Definition: Atomic.h:19
#define VTKM_RENDERING_EXPORT
Definition: vtkm_rendering_export.h:44
std::vector< std::unique_ptr< TextAnnotationBillboard > > Labels
Definition: AxisAnnotation3D.h:46
vtkm::Range Range
Definition: AxisAnnotation3D.h:41
constexpr vtkm::Vec< T, vtkm::IdComponent(sizeof...(Ts)+1)> make_Vec(T value0, Ts &&... args)
Initializes and returns a Vec containing all the arguments.
Definition: Types.h:1250
vtkm::Float64 TickMinorSize
Definition: AxisAnnotation3D.h:37
int Axis
Definition: AxisAnnotation3D.h:38
void SetMajorTickSize(vtkm::Float64 size, vtkm::Float64 offset)
offset of 0 means the tick is inside the frame offset of 1 means the tick is outside the frame offset...
Definition: AxisAnnotation3D.h:71
int MoreOrLessTickAdjustment
Definition: AxisAnnotation3D.h:47
void SetRange(vtkm::Float64 lower, vtkm::Float64 upper)
Definition: AxisAnnotation3D.h:107
Represents the image space that is the target of rendering.
Definition: Canvas.h:35
void SetWorldPosition(vtkm::Float64 x0, vtkm::Float64 y0, vtkm::Float64 z0, vtkm::Float64 x1, vtkm::Float64 y1, vtkm::Float64 z1)
Definition: AxisAnnotation3D.h:91
void SetAxis(int a)
Definition: AxisAnnotation3D.h:63
#define VTKM_CONT
Definition: ExportMacros.h:57
void SetMoreOrLessTickAdjustment(int offset)
Definition: AxisAnnotation3D.h:57
void SetColor(vtkm::rendering::Color c)
Definition: AxisAnnotation3D.h:60
void SetMinorTickSize(vtkm::Float64 size, vtkm::Float64 offset)
Definition: AxisAnnotation3D.h:77
Definition: WorldAnnotator.h:27
vtkm::Float64 TickMajorSize
Definition: AxisAnnotation3D.h:36
void SetRange(const vtkm::Range &range)
Definition: AxisAnnotation3D.h:105
void SetLabelFontOffset(vtkm::Float32 off)
Definition: AxisAnnotation3D.h:103
float Float32
Base type to use for 32-bit floating-point numbers.
Definition: Types.h:157
vtkm::rendering::Color Color
Definition: AxisAnnotation3D.h:45
double Float64
Base type to use for 64-bit floating-point numbers.
Definition: Types.h:161
Specifies the viewport for a rendering.
Definition: Camera.h:37
void SetWorldPosition(const vtkm::Vec3f_64 &point0, const vtkm::Vec3f_64 &point1)
Definition: AxisAnnotation3D.h:84
vtkm::Float32 FontOffset
Definition: AxisAnnotation3D.h:43
Definition: AxisAnnotation.h:24
vtkm::Vec3f_64 Point1
Definition: AxisAnnotation3D.h:40
vtkm::Float64 FontScale
Definition: AxisAnnotation3D.h:42
vtkm::Float32 LineWidth
Definition: AxisAnnotation3D.h:44
Represent a continuous scalar range of values.
Definition: Range.h:31