API documentation for visualization library

Michael Galloy

single page | use frames     summary     class     fields     routine details     file attributes

objectgraphics/

visgrcube__define.pro

object graphics

includes main-level program

Unit cube polygon (maybe scaled and translated).

Examples

See the main-level program at the end of this file:

IDL> .run visgrcube__define
This should produce an image of 100 cubes of random size, location, color, style, and shading:

Class description for visgrcube

Inheritance

All ancestor classes: IDLGRPOLYGON IDLGRGRAPHIC IDLGRCOMPONENT IDLITCOMPONENT

Properties

scale get set init type=float/fltarr(3)

scale cube either equally or separately in each direction

_extra set init type=keywords

properties from IDLgrPolygon

translate get set init type=fltarr(3)

translate the cube to another location

_ref_extra get

Routines

visgrcube::setProperty, scale=float/fltarr(3), translate=fltarr(3), _extra=keywords

Set properties.

visgrcube::getProperty, scale=float/fltarr(3), translate=fltarr(3), _ref_extra=_ref_extra

Get properties.

result = visgrcube::init(scale=float/fltarr(3), translate=fltarr(3), _extra=keywords)

Create a cube polygon.

visgrcube__define

Define instance variables.

Routine details

top visgrcube::setProperty

visgrcube::setProperty, scale=float/fltarr(3), translate=fltarr(3), _extra=keywords

Set properties.

Keywords

scale type=float/fltarr(3)

scale cube either equally or separately in each direction

translate type=fltarr(3)

translate the cube to another location

_extra type=keywords

properties from IDLgrPolygon

top visgrcube::getProperty

visgrcube::getProperty, scale=float/fltarr(3), translate=fltarr(3), _ref_extra=_ref_extra

Get properties.

Keywords

scale type=float/fltarr(3)

scale cube either equally or separately in each direction

translate type=fltarr(3)

translate the cube to another location

_ref_extra

top visgrcube::init

result = visgrcube::init(scale=float/fltarr(3), translate=fltarr(3), _extra=keywords)

Create a cube polygon.

Return value

1 for success, 0 for failure

Keywords

scale type=float/fltarr(3)

scale cube either equally or separately in each direction

translate type=fltarr(3)

translate the cube to another location

_extra type=keywords

properties from IDLgrPolygon

top visgrcube__define

visgrcube__define

Define instance variables.

File attributes

Modification date: Mon Nov 29 18:32:37 2010
Lines: 171
Docformat: rst rst