objectgraphics/
mggrcube__define.pro
A graphics atom for the object graphics system representing a cube.
Class description for mggrcube
Inheritance
- IDLGRPOLYGON
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
- AMBIENT ptr_new()
- ANTIALIAS 0L
- BTMCOLOR ptr_new()
- DATA ptr_new()
- DEPTHOFFSET 0L
- DIFFUSE ptr_new()
- EMISSION ptr_new()
- FILLPATTERN obj_new()
- IDLGRPOLYGONVERSION 0S
- IDLGRPOLYGON_BOTTOM 0LL
- IDLGRPOLYGON_TOP 0LL
- LINESTYLE 0L
- NORMALS ptr_new()
- PARTCOLORS ptr_new()
- PARTHIDE ptr_new()
- POLYGONFLAGS 0L
- POLYGONS ptr_new()
- PRECISION 0L
- SHADERANGE [0L, 0L]
- SHADING 0L
- SHININESS 0.00000
- SPECULAR ptr_new()
- STYLE 0L
- THICK 0.00000
- TXTRCOORD ptr_new()
- TXTRMAP ptr_new()
- VERTCOLORS ptr_new()
Fields in IDLGRGRAPHIC
- ALPHACHANNEL 0.00000
- CLIP_PLANES ptr_new()
- COLOR ptr_new()
- DEPTH_TEST_DISABLE 0L
- DEPTH_TEST_FUNCTION 0L
- DEPTH_WRITE_DISABLE 0L
- GRAPHICFLAGS 0L
- GRAPHIC_DATA_OBJECT ptr_new()
- HVIDMULTITEXTURELIST ptr_new()
- HVIDVERTATTRLIST ptr_new()
- IDLGRGRAPHICVERSION 0S
- IDLGRGRAPHIC_BOTTOM 0LL
- IDLGRGRAPHIC_TOP 0LL
- PALETTE obj_new()
- SHADER ptr_new()
- XCOORD_CONV [0.0000000D, 0.0000000D]
- XRANGE [0.0000000D, 0.0000000D]
- YCOORD_CONV [0.0000000D, 0.0000000D]
- YRANGE [0.0000000D, 0.0000000D]
- ZCOORD_CONV [0.0000000D, 0.0000000D]
- ZRANGE [0.0000000D, 0.0000000D]
Fields in IDLGRCOMPONENT
- HIDE 0L
- IDLGRCOMPONENTVERSION 0S
- IDLGRCOMPONENT_BOTTOM 0LL
- IDLGRCOMPONENT_TOP 0LL
- PARENT obj_new()
Fields in IDLITCOMPONENT
- DESCRIPTION ''
- HELP ''
- ICON ''
- IDENTIFIER ''
- IDLITCOMPONENTVERSION 0S
- IDLITCOMPONENT_BOTTOM 0LL
- IDLITCOMPONENT_TOP 0LL
- NAME ''
- PROPERTYDESCRIPTORS obj_new()
- TOOL obj_new()
- UVALUE ptr_new()
- _FLAGS 0L
- _PARENT obj_new()
- _PROXY obj_new()
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::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
File attributes
Modification date: | Fri Feb 8 22:55:36 2013 |
Lines: | 86 |
Docformat: | rst rst |