Basic Interface for the Colored 3D Presentations. More...
import "VISU_Gen.idl";

Public Types | |
| enum | Orientation { HORIZONTAL, VERTICAL } |
Public Member Functions | |
| void | SetRange (in double theMin, in double theMax) |
| double | GetMin () |
| double | GetMax () |
| void | SetSourceRange () |
| double | GetSourceMin () |
| double | GetSourceMax () |
| boolean | IsRangeFixed () |
| void | SetPosition (in double X, in double Y) |
| Position of the scalar bar. | |
| double | GetPosX () |
| double | GetPosY () |
| void | SetSize (in double theWidth, in double theHeight) |
| Size of this presentable object. | |
| double | GetWidth () |
| double | GetHeight () |
| void | SetNbColors (in long theNbColors) |
| long | GetNbColors () |
| void | SetLabels (in long theNbLabels) |
| long | GetLabels () |
| void | SetBarOrientation (in Orientation theOrientation) |
| Orientation | GetBarOrientation () |
| void | SetOffset (in float theDx, in float theDy, in float theDz) |
| void | GetOffset (out float theDx, out float theDy, out float theDz) |
| void | SetMarkerStd (in MarkerType theType, in MarkerScale theScale) |
| void | SetMarkerTexture (in long theTextureId) |
| MarkerType | GetMarkerType () |
| MarkerScale | GetMarkerScale () |
| long | GetMarkerTexture () |
| float | GetMemorySize () |
| void | RemoveFromStudy () |
| IdType | GetID () |
| VISUType | GetType () |
This interface is responsable for coloring of 3D field presentations according the scalar values applied to different cells. As well it contains presentation parameters of the scalar bar. The scalar bar is displayed along with each colored field presentation and serves for consulting the correspondance between colors and data values.
Orientation of the scalar bar (to provide backward compatibility).
| HORIZONTAL |
Horizontal orientation of the scalar bar. |
| VERTICAL |
Vertical orientation of the scalar bar. |
Implemented in VISU.Plot3D, and VISU.CutPlanes.
| void VISU.ColoredPrs3dBase.SetRange | ( | in double | theMin, |
| in double | theMax | ||
| ) |
Sets scalar range - min and max boundaries of the scalar bar.
| theMin | Min boundary of the scalar bar. |
| theMax | Max boundary of the scalar bar. |
| double VISU.ColoredPrs3dBase.GetMin | ( | ) |
Gets the min boundary of the scalar bar.
| double VISU.ColoredPrs3dBase.GetMax | ( | ) |
Gets the max boundary of the scalar bar.
| void VISU.ColoredPrs3dBase.SetSourceRange | ( | ) |
Sets scalar range that corresponds to the source data.
| double VISU.ColoredPrs3dBase.GetSourceMin | ( | ) |
Gets the min boundary of the scalar bar from source data.
| double VISU.ColoredPrs3dBase.GetSourceMax | ( | ) |
Gets the max boundary of the scalar bar from source data.
| boolean VISU.ColoredPrs3dBase.IsRangeFixed | ( | ) |
Defines whether the scalar range corresponds to the source data or not.
| void View3D::SetPosition | ( | in double | X, |
| in double | Y | ||
| ) |
Sets the position of the scalar bar origin on the screen.
| X | Horizontal position. The value can be between 0 and 1. |
| Y | Vertical position. The value can be between 0 and 1. |
| double VISU.ColoredPrs3dBase.GetPosX | ( | ) |
Gets horizontal position of the scalar bar origin.
| double VISU.ColoredPrs3dBase.GetPosY | ( | ) |
Gets vertical position of the scalar bar origin.
| void VISU.ColoredPrs3dBase.SetSize | ( | in double | theWidth, |
| in double | theHeight | ||
| ) |
Sets the size of the scalar bar.
| theWidth | Width of this presentable object. The value can be between 0 and 1. |
| theHeight | Height of this presentable object. The value can be between 0 and 1. |
| double VISU.ColoredPrs3dBase.GetWidth | ( | ) |
Gets the width of this presentable object.
| double VISU.ColoredPrs3dBase.GetHeight | ( | ) |
Gets the height of this presentable object.
| void VISU.ColoredPrs3dBase.SetNbColors | ( | in long | theNbColors | ) |
Sets the number of colors which will be used for presentation of this presentable object.
| theNbColors | A long value defining the number of colors. |
| long VISU.ColoredPrs3dBase.GetNbColors | ( | ) |
Gets the number of colors which will be used for visualization of this presentable object.
| void VISU.ColoredPrs3dBase.SetLabels | ( | in long | theNbLabels | ) |
Sets the number of labels which will be used for indication of color gradation of the scalar bar.
| theNbLabels | A long value defining the number of labels. |
| long VISU.ColoredPrs3dBase.GetLabels | ( | ) |
Gets the number of labels which will be used for indication of color gradation of the scalar bar.
| void VISU.ColoredPrs3dBase.SetBarOrientation | ( | in Orientation | theOrientation | ) |
Sets the type of orientation of the scalar bar (to provide backward compatibility).
| theOrientation | This parameter defines the orientation of the scalar bar. It is taken from the Orientaton enumeration. |
| Orientation VISU.ColoredPrs3dBase.GetBarOrientation | ( | ) |
Gets the type of orientation of the scalar bar (to provide backward compatibility).
| void VISU.Prs3d.SetOffset | ( | in float | theDx, |
| in float | theDy, | ||
| in float | theDz | ||
| ) | [inherited] |
Move the 3D presentation according to the given offset parameters
| void VISU.Prs3d.GetOffset | ( | out float | theDx, |
| out float | theDy, | ||
| out float | theDz | ||
| ) | [inherited] |
Gets offset parameters for the 3D presentation
| void VISU.Prs3d.SetMarkerStd | ( | in MarkerType | theType, |
| in MarkerScale | theScale | ||
| ) | [inherited] |
Set standard point marker for the object
| theType | standard marker type |
| theScale | standard marker scale |
| void VISU.Prs3d.SetMarkerTexture | ( | in long | theTextureId | ) | [inherited] |
Set custom point marker for the object. The texture can be added by LoadTexture() function
| theTextureId | texture ID |
| MarkerType VISU.Prs3d.GetMarkerType | ( | ) | [inherited] |
Get type of the point marker assigned to the object
| MarkerScale VISU.Prs3d.GetMarkerScale | ( | ) | [inherited] |
Get scale of the point marker assigned to the object
| long VISU.Prs3d.GetMarkerTexture | ( | ) | [inherited] |
Get texture idenifier of the point marker assigned to the object
| float VISU.Prs3d.GetMemorySize | ( | ) | [inherited] |
Gets memory size actually used by the presentation (Mb).
| void VISU.RemovableObject.RemoveFromStudy | ( | ) | [inherited] |
Remove object from study.
| IdType VISU.Base.GetID | ( | ) | [inherited] |
Returns ID of the object.
| VISUType VISU.Base.GetType | ( | ) | [inherited] |
Returns the type of the presentable object