IDLgrSymbol

A symbol object represents a graphical element that is plotted relative to a particular position.

Superclasses

This class has no superclass.

Subclasses

This class has no subclasses.

Creation

See IDLgrSymbol::Init

Methods

Intrinsic Methods

This class has the following methods:


IDLgrSymbol::Cleanup

The IDLgrSymbol:: Cleanup procedure method performs all cleanup on the object. IDLgrSymbol is described above.

Calling Sequence

OBJ_DESTROY, Obj

or

Obj -> [IDLgrSymbol::] Cleanup                               ( In a subclass' Cleanup method only .)

Arguments

There are no arguments for this method.

Keywords

There are no keywords for this method.


IDLgrSymbol::GetProperty

The IDLgrSymbol:: GetProperty procedure method retrieves the value of a property or group of properties for the symbol. IDLgrSymbol is described above.

Calling Sequence

Obj -> [IDLgrSymbol::] GetProperty

Arguments

There are no arguments for this method.

Keywords

Any keyword to IDLgrSymbol::Init

ALL

Set this keyword to a named variable that will contain an anonymous structure containing the values of all of the properties associated with the state of this object. State information about the object includes things like color, range, tick direction, etc., but not image, vertex, or connectivity data, or user values.


IDLgrSymbol::Init

The IDLgrSymbol:: Init function method initializes the plot symbol. IDLgrSymbol is described above.

Calling Sequence

Obj = OBJ_NEW('IDLgrSymbol' [Data] )

or

Result = Obj -> [IDLgrSymbol::] Init( [Data] )         ( In a subclass' Init method only .)

Arguments

Data

Either an integer value from the list shown below, or an object reference to either an IDLgrModel object or atomic graphic object.

Use one of the following scalar-represented internal default symbols:

If an instance of the IDLgrModel object class or an atomic graphic object is used, the object tree is used as the symbol. For best results, the object should fill the domain from -1 to +1 in all dimensions. The pre-defined symbols listed above are all defined in the domain -1 to +1.

Keywords

Properties retrievable via IDLgrSymbol::GetProperty

COLOR (Get, Set)

Set this keyword to the color used to draw the symbol. The color may be specified as a color lookup table index or as an RGB vector. The default color is the color of the object for which this symbol is being used.

DATA (Get, Set)

Set this keyword to specify a symbol. This keyword is equivalent to the Data argument.

NAME (Get, Set)

Set this keyword equal to a string containing the name associated with this object. The default is the null string, ' '.

SIZE (Get, Set)

Set this keyword to a one-, two-, or three-element vector describing the X, Y, and Z scaling factors to be applied to the symbol. The default is [1.0, 1.0, 1.0].

THICK (Get, Set)

Set this keyword to an integer value between 1 and 10, specifying the line thickness to used to draw any lines that make up the symbol, in pixels. The default is one pixel.

UVALUE (Get, Set)

Set this keyword to a value of any type. You can use this "user value" to contain any information you wish. Remember that if you set the user value equal to a pointer or object reference, you should destroy the pointer or object reference explicitly when destroying the object it is a user value of.


IDLgrSymbol::SetProperty

The IDLgrSymbol:: SetProperty procedure method sets the value of a property or group of properties for the symbol. IDLgrSymbol is described above.

Calling Sequence

Obj -> [IDLgrSymbol::] SetProperty

Arguments

There are no arguments for this method.

Keywords

Any keyword to IDLgrSymbol::Init