Modern IDL by Michael Galloy

API documentation for example code

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

objectgraphics/

mggrcube__define.pro


A graphics atom for the object graphics system representing a cube.

Class description for mggrcube

Inheritance

All ancestor classes: IDLGRPOLYGON IDLGRGRAPHIC IDLGRCOMPONENT IDLITCOMPONENT

Properties

Properties in mggrcube

_extra set init
_ref_extra get
center get set init
side get set init

Fields

Fields in IDLGRPOLYGON

Fields in IDLGRGRAPHIC

Fields in IDLGRCOMPONENT

Fields in IDLITCOMPONENT

Fields in mggrcube

SCALE [0.00000, 0.00000, 0.00000]
TRANSLATE [0.00000, 0.00000, 0.00000]
X fltarr(8)
Y fltarr(8)
Z fltarr(8)

Routines

Routines from mggrcube__define.pro

mggrcube::recompute

Recompute vertices and connectivity list from center and side length.

mggrcube::setProperty [, center=fltarr(3)] [, side=float] [, _extra=keywords]

Set properties of the cube.

mggrcube::getProperty [, center=fltarr(3)] [, side=float] [, _ref_extra=keywords]

Set properties of the cube.

mggrcube::cleanup

Free resouces.

result = mggrcube::init( [center=fltarr(3)] [, side=float] [, _extra=keywords])

Initialize.

mggrcube__define

Define member variables.

Routine details

top source mggrcube::recompute

mggrcube::recompute

Recompute vertices and connectivity list from center and side length.

top source mggrcube::setProperty

mggrcube::setProperty [, center=fltarr(3)] [, side=float] [, _extra=keywords]

Set properties of the cube.

Keywords

center in optional type=fltarr(3)

center of the cube

side in optional type=float

side length

_extra in optional type=keywords

keywords to IDLgrPolygon::setProperty

top source mggrcube::getProperty

mggrcube::getProperty [, center=fltarr(3)] [, side=float] [, _ref_extra=keywords]

Set properties of the cube.

Keywords

center out optional type=fltarr(3)

center of the cube

side out optional type=float

side length

_ref_extra out optional type=keywords

keywords to IDLgrPolygon::setProperty

top source mggrcube::cleanup

mggrcube::cleanup

Free resouces.

top source mggrcube::init

result = mggrcube::init( [center=fltarr(3)] [, side=float] [, _extra=keywords])

Initialize.

Return value

1 for succes, 0 otherwise

Keywords

center in optional type=fltarr(3) default=fltarr(3)

center of the cube

side in optional type=float default=1.0

side length

_extra in optional type=keywords

keywords to IDLgrPolygon::setProperty

top source mggrcube__define

mggrcube__define

Define member variables.

File attributes

Modification date: Fri Feb 8 22:55:36 2013
Lines: 86
Docformat: rst rst