VTK
Public Attributes
vtkScalarBarBox Struct Reference

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

#include <vtkScalarBarActorInternal.h>

Collaboration diagram for vtkScalarBarBox:
Collaboration graph
[legend]

List of all members.

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 38 of file vtkScalarBarActorInternal.h.


Member Data Documentation

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

Definition at line 41 of file vtkScalarBarActorInternal.h.

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 50 of file vtkScalarBarActorInternal.h.


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