IDLitVisualization::Scale

Syntax | Arguments | Keywords | Version History

The IDLitVisualization::Scale procedure method scales the visualization by the given scale factors.

Syntax

Obj->[IDLitVisualization::]Scale, SX, SY, SZ [, CENTER_OF_ROTATION=[x, y] | [x, y, z]] [, /PREMULTIPLY]

Arguments

SX

The factor in the x-dimension by which the visualization is to be scaled.

SY

The factor in the y-dimension by which the visualization is to be scaled.

SZ

The factor in the z-dimension by which the visualization is to be scaled.

Keywords

CENTER_OF_ROTATION

Set this keyword to a 2- or 3-element vector, [x, y] or [x,y,z], representing the center of rotation (in data coordinates) to be used as the center for scaling. By default, if PREMULTIPLY is set, then this visualization's own center of rotation will be used as the center for scaling; if PREMULTIPLY is not set, the result of transforming this visualization's center of rotation by its own transformation matrix will be used as the center for scaling.

PREMULTIPLY

Set this keyword to cause the scaling matrix specified by Sx, Sy, and Sz to be pre-multiplied to this visualization's transformation matrix. By default, the scaling matrix is post-multiplied.

Version History

6.0

Introduced