VTK  9.1.0
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.
 
vtkTuple< int, 2 > Size
 Size of the box, stored as (thickness, length) not (width, height).
 

Detailed Description

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

Definition at line 40 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 43 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 52 of file vtkScalarBarActorInternal.h.


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