VTK  9.3.20240328
Public Attributes | List of all members
vtkScalarBarBox Struct Reference

A structure to represent pixel coordinates for text or swatch bounds. More...

#include <vtkScalarBarActorInternal.h>

Collaboration diagram for vtkScalarBarBox:
[legend]

Public Attributes

vtkTuple< int, 2 > Posn
 The position of the box in viewport (pixel) coordinates. More...
 
vtkTuple< int, 2 > Size
 Size of the box, stored as (thickness, length) not (width, height). More...
 

Detailed Description

A structure to represent pixel coordinates for text or swatch bounds.

Definition at line 41 of file vtkScalarBarActorInternal.h.

Member Data Documentation

◆ Posn

vtkTuple<int, 2> vtkScalarBarBox::Posn

The position of the box in viewport (pixel) coordinates.

Definition at line 44 of file vtkScalarBarActorInternal.h.

◆ Size

vtkTuple<int, 2> vtkScalarBarBox::Size

Size of the box, stored as (thickness, length) not (width, height).

Thickness is a measure of the box size perpendicular to the long axis of the scalar bar. When the scalar bar orientation is horizontal, thickness measures height. Length is a measure of the box size parallel to the long axis of the scalar bar. When the scalar bar orientation is horizontal, length measures width.

Definition at line 53 of file vtkScalarBarActorInternal.h.


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