IGLib
1.5
The IGLib base library for development of numerical, technical and business applications.
|
Manipulates axes, labels, grids, and other decorations of graphhics plotted in VTK windows. More...
Public Member Functions | |
VtkDecorationHandler (VtkPlotter plotter) | |
Constructor. Since no Actors or Renderers are specified, updating the containing bounding box will take into account all Actors of all Renderers that are currently attached to the window. More... | |
VtkDecorationHandler (VtkPlotter plotter, bool updateImmediately) | |
Constructor. Since no Actors or Renderers are specified, updating the containing bounding box will take into account all Actors of all Renderers that are currently attached to the window. More... | |
VtkDecorationHandler (VtkPlotter plotter, params vtkActor[] actors) | |
Constructor. Updating the containing bounding box will take into account all specified Actors. More... | |
VtkDecorationHandler (VtkPlotter plotter, bool updateImmediately, params vtkActor[] actors) | |
Constructor. Updating the containing bounding box will take into account all specified Actors. More... | |
VtkDecorationHandler (VtkPlotter plotter, params vtkRenderer[] renderers) | |
Constructor. Updating the containing bounding box will take into account all specified Renderers. More... | |
VtkDecorationHandler (VtkPlotter plotter, bool updateImmediately, params vtkRenderer[] renderers) | |
Constructor. Updating the containing bounding box will take into account all specified Renderers. More... | |
VtkDecorationHandler (VtkPlotter plotter, vtkRenderer renderer, params vtkActor[] actors) | |
Constructor. Updating the containing bounding box will take into account all specified Actors. More... | |
VtkDecorationHandler (VtkPlotter plotter, bool updateImmediately, vtkRenderer renderer, params vtkActor[] actors) | |
Constructor. Updating the containing bounding box will take into account all specified Actors. More... | |
VtkDecorationHandler (VtkPlotter plotter, vtkRenderer[] renderers, params vtkActor[] actors) | |
Constructor. Updating the containing bounding box will take into account all specified Renderers and Actors. Decorations are updated immediately when the object is constructed. If this is not desired, use the constructor where you can set the updating flag and set the corresponding argument to false. More... | |
VtkDecorationHandler (VtkPlotter plotter, params vtkActor2D[] actors2D) | |
Constructor. Updating the containing bounding box will take into account all specified Actors2D. More... | |
VtkDecorationHandler (VtkPlotter plotter, bool updateImmediately, params vtkActor2D[] actors2D) | |
Constructor. Updating the containing bounding box will take into account all specified Actors2D. More... | |
VtkDecorationHandler (VtkPlotter plotter, vtkRenderer[] renderers, params vtkActor2D[] actors2D) | |
Constructor. Updating the containing bounding box will take into account all specified renderers and Actors2D. More... | |
VtkDecorationHandler (VtkPlotter plotter, vtkActor2D[] actors2D, params vtkActor[] actors) | |
Constructor. Updating the containing bounding box will take into account all specified actors and Actors2D. More... | |
VtkDecorationHandler (VtkPlotter plotter, vtkRenderer[] renderers, vtkActor2D[] actors2D, params vtkActor[] actors) | |
Constructor. Updating the containing bounding box will take into account all specifiedrenderers, Actors and Actors2D. More... | |
VtkDecorationHandler (VtkPlotter plotter, bool updateImmediately, vtkActor2D[] actors2D, params vtkActor[] actors) | |
Constructor. Updating the containing bounding box will take into account all specified Actors and Actors2D. More... | |
VtkDecorationHandler (VtkPlotter plotter, bool updateImmediately, vtkRenderer[] renderers, vtkActor2D[] actors2D, params vtkActor[] actors) | |
Constructor. Updating the containing bounding box will take into account all specified Renderers and Actors. More... | |
VtkDecorationHandler (vtkRenderWindow win) | |
Constructor. Since no Actors or Renderers are specified, updating the containing bounding box will take into account all Actors of all Renderers that are currently attached to the window. More... | |
VtkDecorationHandler (vtkRenderWindow win, bool updateImmediately) | |
Constructor. Since no Actors or Renderers are specified, updating the containing bounding box will take into account all Actors of all Renderers that are currently attached to the window. More... | |
VtkDecorationHandler (vtkRenderWindow win, params vtkActor[] actors) | |
Constructor. Updating the containing bounding box will take into account all specified Actors. More... | |
VtkDecorationHandler (vtkRenderWindow win, bool updateImmediately, params vtkActor[] actors) | |
Constructor. Updating the containing bounding box will take into account all specified Actors. More... | |
VtkDecorationHandler (vtkRenderWindow win, params vtkRenderer[] renderers) | |
Constructor. Updating the containing bounding box will take into account all specified Renderers. More... | |
VtkDecorationHandler (vtkRenderWindow win, bool updateImmediately, params vtkRenderer[] renderers) | |
Constructor. Updating the containing bounding box will take into account all specified Renderers. More... | |
VtkDecorationHandler (vtkRenderWindow win, vtkRenderer renderer, params vtkActor[] actors) | |
Constructor. Updating the containing bounding box will take into account all specified Actors. More... | |
VtkDecorationHandler (vtkRenderWindow win, bool updateImmediately, vtkRenderer renderer, params vtkActor[] actors) | |
Constructor. Updating the containing bounding box will take into account all specified Actors. More... | |
VtkDecorationHandler (vtkRenderWindow win, vtkRenderer[] renderers, params vtkActor[] actors) | |
Constructor. Updating the containing bounding box will take into account all specified Renderers and Actors. Decorations are updated immediately when the object is constructed. If this is not desired, use the constructor where you can set the updating flag and set the corresponding argument to false. More... | |
VtkDecorationHandler (vtkRenderWindow win, params vtkActor2D[] actors2D) | |
Constructor. Updating the containing bounding box will take into account all specified Actors2D. More... | |
VtkDecorationHandler (vtkRenderWindow win, bool updateImmediately, params vtkActor2D[] actors2D) | |
Constructor. Updating the containing bounding box will take into account all specified Actors2D. More... | |
VtkDecorationHandler (vtkRenderWindow win, vtkRenderer[] renderers, params vtkActor2D[] actors2D) | |
Constructor. Updating the containing bounding box will take into account all specified renderers and Actors2D. More... | |
VtkDecorationHandler (vtkRenderWindow win, vtkActor2D[] actors2D, params vtkActor[] actors) | |
Constructor. Updating the containing bounding box will take into account all specified actors and Actors2D. More... | |
VtkDecorationHandler (vtkRenderWindow win, vtkRenderer[] renderers, vtkActor2D[] actors2D, params vtkActor[] actors) | |
Constructor. Updating the containing bounding box will take into account all specifiedrenderers, Actors and Actors2D. More... | |
VtkDecorationHandler (vtkRenderWindow win, bool updateImmediately, vtkActor2D[] actors2D, params vtkActor[] actors) | |
Constructor. Updating the containing bounding box will take into account all specified Actors and Actors2D. More... | |
VtkDecorationHandler (vtkRenderWindow win, bool updateImmediately, vtkRenderer[] renderers, vtkActor2D[] actors2D, params vtkActor[] actors) | |
Constructor. Updating the containing bounding box will take into account all specified Renderers and Actors. More... | |
void | ChangeWindow (vtkRenderWindow win) |
Changes the VTK render window of the current decoration handler. More... | |
void | AddActors (params vtkActor[] actors) |
Adds the specified rendereds to the list of actors that are contained in the scene for which axes and other decoration entities are manipulated. Uniqueness is not guaranteed, i.e. the same actor can be added several times. More... | |
void | RemoveActors (params vtkActor[] actors) |
Removes the specified actors from the list of actors for which axes and other decorations are handled. If some actor is included in the list multiple times then it is removed until it is no longer contained. More... | |
void | AddActors2D (params vtkActor2D[] actors2D) |
Adds the specified rendereds to the list of actors2D that are contained in the scene for which axes and other decoration entities are manipulated. Uniqueness is not guaranteed, i.e. the same actor can be added several times. More... | |
void | RemoveActors2D (params vtkActor2D[] actors2D) |
Removes the specified actors2D from the list of actors2D for which axes and other decorations are handled. If some actor is included in the list multiple times then it is removed until it is no longer contained. More... | |
void | AddRenderers (params vtkRenderer[] renderers) |
Adds the specified rendereds to the list of renderers that are contained in the scene for which axes and other decoration entities are manipulated. Uniqueness is not guaranteed, i.e. the same actor can be added several times. More... | |
void | RemoveRenderers (params vtkRenderer[] renderers) |
Removes the specified renderers from the list of renderers for which axes and other decorations are handled. If some renderer is included in the list multiple times then it is removed until it is no longer contained. More... | |
void | ResetBounds () |
Resets the bounds. More... | |
void | SetBounds () |
Sets the bounds for actors that to eventual internal bounds. More... | |
void | SetBounds (IBoundingBox bounds) |
Sets the bounds for actors that must fill the bounding box aroung all graphic objects, to the specifid values. More... | |
void | SetCubeAxesLabels (string xLabel, string yLable, string zLabel) |
void | SetActorScale (double X, double Y, double Z) |
void | AddActorsToPlotter () |
Adds all actors from the current decoration handler to the plotter that it is assigned to. More... | |
void | AddActorsToPlotter (VtkPlotter plotter) |
Adds all actors from the current plot to the specified plotter. More... | |
void | AddActorsToRenderer () |
Adds all actors from the current decoraton handler to its current renderer. More... | |
void | AddActorsToRenderer (vtkRenderer renderer) |
Adds all actors from the current decoration handler to the specified rendeerr. More... | |
virtual void | Update () |
Updates decorations. More... | |
Static Public Member Functions | |
static void | SetCubeAxesActorBounds (vtkCubeAxesActor actor, IBoundingBox newBounds) |
Sets position and sizing of the specified cube axes actor according to the specified bounds. More... | |
Protected Member Functions | |
bool | IsHandlersInternal (vtkActor actor) |
Returns true if the specified actor is internal (auxiliary) actor of the current object, false otherwise. In such a case the actor will not take part in some operations, e.g. in determining the bounding box of the graphic scene. More... | |
bool | IsHandlersInternal (vtkRenderer renderer) |
Returns true if the specified renderer is internal (auxiliary) renderer of the current object, false otherwise. In such a case the renderer will not take part in some operations, e.g. in determining the bounding box of the graphic scene. More... | |
void | UpdateBounds () |
Updates the bounds according to eventual internal bounds (defined by actors and renderers included in the current decorator). More... | |
void | UpdateBounds (IBoundingBox bounds) |
Updates the bounds according to eventual internal bounds (defined by actors and renderers included in the current decorator), and additionally also according to the specified bounds. More... | |
void | UpdateBoundsInternal () |
Updates the bounding box Bounds in such a way that it contains all actors from the internal list of actors and all renderers from the internal list of renderers. More... | |
Protected Attributes | |
VtkPlotter | _plotter |
vtkRenderer | _decorationRenderer |
vtkCubeAxesActor | _cubeAxesActor |
Properties | |
object | Lock [get] |
This object's central lock object to be used by other object. Do not use this object for locking in class' methods, for this you should use InternalLock. More... | |
VtkPlotter | Plotter [get, set] |
VtkPlotter.Accessor | PlotterAccessor [get, private set] |
Accessor object that grants access to some protected fields and properties of the VTK plotter (property Plotter). More... | |
vtkRenderWindow | Window [get, protected set] |
VTK window in which plotting is performed. More... | |
List< vtkActor > | Actors [get] |
A list of Actors that are a part of the graphic scene for which axes and other decorations are handled. Mainly used for updating the bounding box. WARNING: Whenever possible, this list should not be accessed directly. Use (create them, if necessary) other methods that perform specific operations on the lisr. More... | |
List< vtkActor2D > | Actors2D [get] |
A list of Actors2D that are a part of the graphic scene for which axes and other decorations are handled. Mainly used for updating the bounding box. WARNING: Whenever possible, this list should not be accessed directly. Use (create them, if necessary) other methods that perform specific operations on the lisr. More... | |
List< vtkRenderer > | Renderers [get] |
A list of Renderers that are a part of the graphic scene for which axes and other decorations are handled. Mainly used for updating the bounding box. WARNING: Whenever possible, this list should not be accessed directly. Use (create them, if necessary) other methods that perform specific operations on the lisr. More... | |
bool | IsBoundsUpdated [get, private set] |
Whether bounds are updated or not, according to internal actors and renderers. More... | |
IBoundingBox | Bounds [get, set] |
Bounds of the graphic scene for which axes and other decorations are handled. More... | |
vtkRenderer | DecorationRenderer [get, protected set] |
Gets the renderer used for decoration entities (axes, etc.). Currently, no special renderer is created for tgis purpose, but one is obtained either from the list of renderers included in the 3D graphics scene, or one is obtained form the VTK window attached to this object. Lazy evaluation. Renderer is obtained only when first needed. More... | |
vtkLegendBoxActor | LegendBoxActor [get, protected set] |
bool | ShowLegendBox [get, set] |
Whether legend-box is shown or not. Default is false. More... | |
int | LegendBoxNumEntries [get, set] |
Number of labels in legend-box. Default 1. More... | |
string[] | LegendBoxTitles [get, set] |
A table of Titles for LegendBox Default is "Title 1" More... | |
vtkPolyData | Symbol [get, set] |
A table of symbols for LegendBox Default is "Sphere symbol" More... | |
vtkScalarBarActor | ScalarBarActor [get, protected set] |
vtkLookupTable | ScalarBarLookupTable [get, set] |
ColorScale | LookUpTableColorScale [get, set] |
Color scale for lookuptable. Default is rainbow. More... | |
int | LookUpTableNumTableValues [get, set] |
Number of table values. Default is 100. More... | |
double | LookUpTableAlpha [get, set] |
Alpha value for lookuptable. Default is 1. More... | |
double | LookUpTableMinHue [get, set] |
Minimum hue value for lookuptable. Default is 0. More... | |
double | LookUpTableMaxHue [get, set] |
Minimum hue value for lookuptable. Default is 1. More... | |
double | LookUpTableMinSaturation [get, set] |
Minimum saturation value for lookuptable. Default is 0. More... | |
double | LookUpTableMaxSaturation [get, set] |
Maximum saturation value for lookuptable. Default is 1. More... | |
double | LookUpTableMinValue [get, set] |
Minimum value for lookuptable. Default is 0. More... | |
double | LookUpTableMaxValue [get, set] |
Maximum value for lookuptable. Default is 1. More... | |
double | LookUpTableMinRange [get, set] |
Minimum range for lookuptable. Default is 0. More... | |
double | LookUpTableMaxRange [get, set] |
Maximum range for lookuptable. Default is 1. More... | |
int | LookUpTableNumColors [get, set] |
Number fo collors in lookuptable. Default is 100. More... | |
bool | ShowScalarBar [get, set] |
Whether scalar-bar is shown or not. Default is true. More... | |
string | ScalarBarTitle [get, set] |
Title for scalar bar. More... | |
int | ScalarBarNumberOfLabels [get, set] |
Numer of labels on the scalar bar. More... | |
int | ScalarBarOrientation [get, set] |
Orientation of the scalar bar. 0 - Horizontal; 1 - Vertical More... | |
double | ScalarBarXPosition [get, set] |
Position X of the scalar bar. More... | |
double | ScalarBarYPosition [get, set] |
Position Y of the scalar bar. More... | |
double | ScalarBarHeight [get, set] |
Hight of the scalar bar. More... | |
double | ScalarBarWidth [get, set] |
Width of the scalar bar. More... | |
vtkCubeAxesActor | CubeAxesActor [get, protected set] |
Actor that is used for manipulating cube axes. More... | |
vtkProperty | CubeAxesProperties [get] |
Gets the Axes' properties, through wihich the caller can set additional properties that are not enabled by the current helper object. More... | |
string | CubeAxesXLabel [get, set] |
Label for X axis. More... | |
string | CubeAxesYLabel [get, set] |
Label for Y axis. More... | |
string | CubeAxesZLabel [get, set] |
Label for Z axis. More... | |
VtkFlyMode | CubeAxesFlyMode [get, set] |
Positioning mode ("fly mode") of the axes. Default is VtkFlyMode.Static. More... | |
bool | ShowCubeAxes [get, set] |
Whether axes are shown or not. Default is true. More... | |
color | CubeAxesColor [get, set] |
Gets or sets axes color. More... | |
double | CubeAxesWidth [get, set] |
Gets or sets width of the axes lines. More... | |
bool | UpdateWhenConstructed [get, set] |
Whether decorations to be drawn are added to the VTK window's renderer immediately after the current decoration handler object is constructed. More... | |
![]() | |
object | Lock [get] |
Private Member Functions | |
VtkDecorationHandler () | |
Static Private Attributes | |
static double | min = 0 |
static double | max = 1 |
Manipulates axes, labels, grids, and other decorations of graphhics plotted in VTK windows.
Currently, all the decorations are put on a single renderer that is one of the renderers that are already used. Initially the idea is that a separate renderer would be used for axes and other decorations generated and handled by this class. Since we don't currently know how one can combine multiple renderers in the same window and show contents of all of them together with the same viewing projection (is this possible at all?), we use the first renderer that is provided.
$A Igor Oct11;
|
inlineprivate |
|
inline |
Constructor. Since no Actors or Renderers are specified, updating the containing bounding box will take into account all Actors of all Renderers that are currently attached to the window.
plotter | VTK plotter for which axes and other decoration entities are manipulated. |
|
inline |
Constructor. Since no Actors or Renderers are specified, updating the containing bounding box will take into account all Actors of all Renderers that are currently attached to the window.
plotter | VTK plotter for which axes and other decoration entities are manipulated. |
updateImmediately | Whether decorations are updated immediately when constructed. If false then Update() must be called if one wants decorations to be displayed. |
|
inline |
Constructor. Updating the containing bounding box will take into account all specified Actors.
plotter | VTK plotter for which axes and other decoration entities are manipulated. |
actors | A list of Actors that are a part of the graphic scene for which axes and other decorations are handled. |
|
inline |
Constructor. Updating the containing bounding box will take into account all specified Actors.
plotter | VTK plotter for which axes and other decoration entities are manipulated. |
updateImmediately | Whether decorations are updated immediately when constructed. If false then Update() must be called if one wants decorations to be displayed. |
actors | A list of Actors that are a part of the graphic scene for which axes and other decorations are handled. |
|
inline |
Constructor. Updating the containing bounding box will take into account all specified Renderers.
plotter | VTK plotter for which axes and other decoration entities are manipulated. |
renderers | A list of Renderers that are a part of the graphic scene for which axes and other decorations are handled. |
|
inline |
Constructor. Updating the containing bounding box will take into account all specified Renderers.
updateImmediately | Whether decorations are updated immediately when constructed. If false then Update() must be called if one wants decorations to be displayed. |
plotter | VTK plotter for which axes and other decoration entities are manipulated. |
renderers | A list of Renderers that are a part of the graphic scene for which axes and other decorations are handled. |
|
inline |
Constructor. Updating the containing bounding box will take into account all specified Actors.
plotter | VTK plotter for which axes and other decoration entities are manipulated. |
renderers | A (single) renderer that is a part of the graphic scene for which axes and other decorations are handled. |
actors | A list of Actors that are a part of the graphic scene for which axes and other decorations are handled. |
|
inline |
Constructor. Updating the containing bounding box will take into account all specified Actors.
plotter | VTK plotter for which axes and other decoration entities are manipulated. |
updateImmediately | Whether decorations are updated immediately when constructed. If false then Update() must be called if one wants decorations to be displayed. |
renderers | A (single) renderer that is a part of the graphic scene for which axes and other decorations are handled. |
actors | A list of Actors that are a part of the graphic scene for which axes and other decorations are handled. |
|
inline |
Constructor. Updating the containing bounding box will take into account all specified Renderers and Actors. Decorations are updated immediately when the object is constructed. If this is not desired, use the constructor where you can set the updating flag and set the corresponding argument to false.
plotter | VTK plotter for which axes and other decoration entities are manipulated. |
renderers | A list of Renderers that are a part of the graphic scene for which axes and other decorations are handled. |
actors | A list of Actors that are a part of the graphic scene for which axes and other decorations are handled. |
|
inline |
Constructor. Updating the containing bounding box will take into account all specified Actors2D.
plotter | VTK plotter for which axes and other decoration entities are manipulated. |
actors2D | A list of Actors2D that are a part of the graphic scene for which axes and other decorations are handled. |
$A Igor Oct11, Tako78 Dec13;
|
inline |
Constructor. Updating the containing bounding box will take into account all specified Actors2D.
plotter | VTK plotter for which axes and other decoration entities are manipulated. |
updateImmediately | Whether decorations are updated immediately when constructed. |
actors2D | A list of Actors2D that are a part of the graphic scene for which axes and other decorations are handled. |
$A Igor Oct11, Tako78 Dec13;
|
inline |
Constructor. Updating the containing bounding box will take into account all specified renderers and Actors2D.
plotter | VTK plotter for which axes and other decoration entities are manipulated. |
renderers | A list of Renderers that are a part of the graphic scene for which axes and other decorations are handled. |
actors2D | A list of Actors2D that are a part of the graphic scene for which axes and other decorations are handled. |
$A Igor Oct11, Tako78 Dec13;
|
inline |
Constructor. Updating the containing bounding box will take into account all specified actors and Actors2D.
plotter | VTK plotter for which axes and other decoration entities are manipulated. |
actors2D | A list of Actors2D that are a part of the graphic scene for which axes and other decorations are handled. |
actors | A list of Actors that are a part of the graphic scene for which axes and other decorations are handled. |
$A Igor Oct11, Tako78 Dec13;
|
inline |
Constructor. Updating the containing bounding box will take into account all specifiedrenderers, Actors and Actors2D.
plotter | VTK plotter for which axes and other decoration entities are manipulated. |
renderers | A list of Renderers that are a part of the graphic scene for which axes and other decorations are handled. |
actors2D | A list of Actors2D that are a part of the graphic scene for which axes and other decorations are handled. |
actors | A list of Actors that are a part of the graphic scene for which axes and other decorations are handled. |
$A Igor Oct11, Tako78 Dec13;
|
inline |
Constructor. Updating the containing bounding box will take into account all specified Actors and Actors2D.
plotter | VTK plotter for which axes and other decoration entities are manipulated. |
updateImmediately | Whether decorations are updated immediately when constructed. |
actors2D | A list of Actors2D that are a part of the graphic scene for which axes and other decorations are handled. |
actors | A list of Actors that are a part of the graphic scene for which axes and other decorations are handled. |
$A Igor Oct11, Tako78 Dec13;
|
inline |
Constructor. Updating the containing bounding box will take into account all specified Renderers and Actors.
plotter | VTK plotter for which axes and other decoration entities are manipulated. |
updateImmediately | Whether decorations are updated immediately when constructed. If false then Update() must be called if one wants decorations to be displayed. |
renderers | A list of Renderers that are a part of the graphic scene for which axes and other decorations are handled. |
actors | A list of Actors that are a part of the graphic scene for which axes and other decorations are handled. |
|
inline |
Constructor. Since no Actors or Renderers are specified, updating the containing bounding box will take into account all Actors of all Renderers that are currently attached to the window.
win | VTK window for which axes and other decoration entities are manipulated. |
|
inline |
Constructor. Since no Actors or Renderers are specified, updating the containing bounding box will take into account all Actors of all Renderers that are currently attached to the window.
win | VTK window for which axes and other decoration entities are manipulated. |
updateImmediately | Whether decorations are updated immediately when constructed. If false then Update() must be called if one wants decorations to be displayed. |
|
inline |
Constructor. Updating the containing bounding box will take into account all specified Actors.
win | VTK window for which axes and other decoration entities are manipulated. |
actors | A list of Actors that are a part of the graphic scene for which axes and other decorations are handled. |
|
inline |
Constructor. Updating the containing bounding box will take into account all specified Actors.
win | VTK window for which axes and other decoration entities are manipulated. |
updateImmediately | Whether decorations are updated immediately when constructed. If false then Update() must be called if one wants decorations to be displayed. |
actors | A list of Actors that are a part of the graphic scene for which axes and other decorations are handled. |
|
inline |
Constructor. Updating the containing bounding box will take into account all specified Renderers.
win | VTK window for which axes and other decoration entities are manipulated. |
renderers | A list of Renderers that are a part of the graphic scene for which axes and other decorations are handled. |
|
inline |
Constructor. Updating the containing bounding box will take into account all specified Renderers.
updateImmediately | Whether decorations are updated immediately when constructed. If false then Update() must be called if one wants decorations to be displayed. |
win | VTK window for which axes and other decoration entities are manipulated. |
renderers | A list of Renderers that are a part of the graphic scene for which axes and other decorations are handled. |
|
inline |
Constructor. Updating the containing bounding box will take into account all specified Actors.
win | VTK window for which axes and other decoration entities are manipulated. |
renderers | A (single) renderer that is a part of the graphic scene for which axes and other decorations are handled. |
actors | A list of Actors that are a part of the graphic scene for which axes and other decorations are handled. |
|
inline |
Constructor. Updating the containing bounding box will take into account all specified Actors.
win | VTK window for which axes and other decoration entities are manipulated. |
updateImmediately | Whether decorations are updated immediately when constructed. If false then Update() must be called if one wants decorations to be displayed. |
renderers | A (single) renderer that is a part of the graphic scene for which axes and other decorations are handled. |
actors | A list of Actors that are a part of the graphic scene for which axes and other decorations are handled. |
|
inline |
Constructor. Updating the containing bounding box will take into account all specified Renderers and Actors. Decorations are updated immediately when the object is constructed. If this is not desired, use the constructor where you can set the updating flag and set the corresponding argument to false.
win | VTK window for which axes and other decoration entities are manipulated. |
renderers | A list of Renderers that are a part of the graphic scene for which axes and other decorations are handled. |
actors | A list of Actors that are a part of the graphic scene for which axes and other decorations are handled. |
|
inline |
Constructor. Updating the containing bounding box will take into account all specified Actors2D.
win | VTK window for which axes and other decoration entities are manipulated. |
actors2D | A list of Actors2D that are a part of the graphic scene for which axes and other decorations are handled. |
$A Igor Oct11, Tako78 Dec13;
|
inline |
Constructor. Updating the containing bounding box will take into account all specified Actors2D.
win | VTK window for which axes and other decoration entities are manipulated. |
updateImmediately | Whether decorations are updated immediately when constructed. |
actors2D | A list of Actors2D that are a part of the graphic scene for which axes and other decorations are handled. |
$A Igor Oct11, Tako78 Dec13;
|
inline |
Constructor. Updating the containing bounding box will take into account all specified renderers and Actors2D.
win | VTK window for which axes and other decoration entities are manipulated. |
renderers | A list of Renderers that are a part of the graphic scene for which axes and other decorations are handled. |
actors2D | A list of Actors2D that are a part of the graphic scene for which axes and other decorations are handled. |
$A Igor Oct11, Tako78 Dec13;
|
inline |
Constructor. Updating the containing bounding box will take into account all specified actors and Actors2D.
win | VTK window for which axes and other decoration entities are manipulated. |
actors2D | A list of Actors2D that are a part of the graphic scene for which axes and other decorations are handled. |
actors | A list of Actors that are a part of the graphic scene for which axes and other decorations are handled. |
$A Igor Oct11, Tako78 Dec13;
|
inline |
Constructor. Updating the containing bounding box will take into account all specifiedrenderers, Actors and Actors2D.
win | VTK window for which axes and other decoration entities are manipulated. |
renderers | A list of Renderers that are a part of the graphic scene for which axes and other decorations are handled. |
actors2D | A list of Actors2D that are a part of the graphic scene for which axes and other decorations are handled. |
actors | A list of Actors that are a part of the graphic scene for which axes and other decorations are handled. |
$A Igor Oct11, Tako78 Dec13;
|
inline |
Constructor. Updating the containing bounding box will take into account all specified Actors and Actors2D.
win | VTK window for which axes and other decoration entities are manipulated. |
updateImmediately | Whether decorations are updated immediately when constructed. |
actors2D | A list of Actors2D that are a part of the graphic scene for which axes and other decorations are handled. |
actors | A list of Actors that are a part of the graphic scene for which axes and other decorations are handled. |
$A Igor Oct11, Tako78 Dec13;
|
inline |
Constructor. Updating the containing bounding box will take into account all specified Renderers and Actors.
win | VTK window for which axes and other decoration entities are manipulated. |
updateImmediately | Whether decorations are updated immediately when constructed. If false then Update() must be called if one wants decorations to be displayed. |
renderers | A list of Renderers that are a part of the graphic scene for which axes and other decorations are handled. |
actors | A list of Actors that are a part of the graphic scene for which axes and other decorations are handled. |
|
inline |
Changes the VTK render window of the current decoration handler.
win | Window that becomes this object's new rendering window. |
|
inline |
Adds the specified rendereds to the list of actors that are contained in the scene for which axes and other decoration entities are manipulated. Uniqueness is not guaranteed, i.e. the same actor can be added several times.
actors | Actors to be added to the list. |
|
inline |
Removes the specified actors from the list of actors for which axes and other decorations are handled. If some actor is included in the list multiple times then it is removed until it is no longer contained.
actors | Actors to be removed from the list. |
|
inlineprotected |
Returns true if the specified actor is internal (auxiliary) actor of the current object, false otherwise. In such a case the actor will not take part in some operations, e.g. in determining the bounding box of the graphic scene.
actor | Actor for which we querry whether it is an internal actor of the current helper object. |
|
inline |
Adds the specified rendereds to the list of actors2D that are contained in the scene for which axes and other decoration entities are manipulated. Uniqueness is not guaranteed, i.e. the same actor can be added several times.
actors | Actors2D to be added to the list. |
$A Igor Oct11, Tako78 Dec13;
|
inline |
Removes the specified actors2D from the list of actors2D for which axes and other decorations are handled. If some actor is included in the list multiple times then it is removed until it is no longer contained.
actors | Actors2D to be removed from the list. |
$A Igor Oct11, Tako78 Dec13;
|
inline |
Adds the specified rendereds to the list of renderers that are contained in the scene for which axes and other decoration entities are manipulated. Uniqueness is not guaranteed, i.e. the same actor can be added several times.
renderers | Renderers that are added to the list. |
|
inline |
Removes the specified renderers from the list of renderers for which axes and other decorations are handled. If some renderer is included in the list multiple times then it is removed until it is no longer contained.
renderers | Rendeerrs to be removed from the list. |
|
inlineprotected |
Returns true if the specified renderer is internal (auxiliary) renderer of the current object, false otherwise. In such a case the renderer will not take part in some operations, e.g. in determining the bounding box of the graphic scene.
renderer | Renderer for which we querry whether it is an internal renderer of the current helper object. |
|
inline |
Resets the bounds.
|
inlineprotected |
Updates the bounds according to eventual internal bounds (defined by actors and renderers included in the current decorator).
This also updates positioning and sizing of included decorations such that cube axes.
|
inlineprotected |
Updates the bounds according to eventual internal bounds (defined by actors and renderers included in the current decorator), and additionally also according to the specified bounds.
This also updates positioning and sizing of included decorations such that cube axes.
bounds | Specified bounds according to which the bounds are also decorated (beside the internal bounds). |
|
inline |
Sets the bounds for actors that to eventual internal bounds.
bounds | Bounding box to which the bounds are set. |
|
inline |
Sets the bounds for actors that must fill the bounding box aroung all graphic objects, to the specifid values.
bounds | Bounding box to which the bounds are set. |
|
inlinestatic |
Sets position and sizing of the specified cube axes actor according to the specified bounds.
actor | Actor whose bounds are updated. |
newBounds | New bounds of the actor. |
References IG.Num.IBoundingBox.GetMax(), IG.Num.IBoundingBox.GetMin(), IG.Num.IBoundingBox.IsMaxDefined(), and IG.Num.IBoundingBox.IsMinDefined().
|
inlineprotected |
Updates the bounding box Bounds in such a way that it contains all actors from the internal list of actors and all renderers from the internal list of renderers.
References IG.Gr3d.UtilVtk.UpdateBounds().
|
inline |
|
inline |
Referenced by IG.Gr3d.TestVtkGraphicBase.ExampleQuadCells().
|
inline |
Adds all actors from the current decoration handler to the plotter that it is assigned to.
|
inline |
Adds all actors from the current plot to the specified plotter.
plotter | Plotter to which actors from the current plot are added. |
References IG.Gr3d.VtkPlotter.Accessor.Renderer.
|
inline |
Adds all actors from the current decoraton handler to its current renderer.
|
inline |
Adds all actors from the current decoration handler to the specified rendeerr.
renderer | VTK renderer to which actors from the current plot are added. |
|
inlinevirtual |
Updates decorations.
|
private |
|
protected |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
protected |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
staticprivate |
|
staticprivate |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
protected |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
get |
This object's central lock object to be used by other object. Do not use this object for locking in class' methods, for this you should use InternalLock.
|
getset |
|
getprivate setprotected |
Accessor object that grants access to some protected fields and properties of the VTK plotter (property Plotter).
|
getprotected set |
VTK window in which plotting is performed.
|
getprotected |
A list of Actors that are a part of the graphic scene for which axes and other decorations are handled. Mainly used for updating the bounding box. WARNING: Whenever possible, this list should not be accessed directly. Use (create them, if necessary) other methods that perform specific operations on the lisr.
|
getprotected |
A list of Actors2D that are a part of the graphic scene for which axes and other decorations are handled. Mainly used for updating the bounding box. WARNING: Whenever possible, this list should not be accessed directly. Use (create them, if necessary) other methods that perform specific operations on the lisr.
$A Igor Oct11, Tako78 Dec13;
|
getprotected |
A list of Renderers that are a part of the graphic scene for which axes and other decorations are handled. Mainly used for updating the bounding box. WARNING: Whenever possible, this list should not be accessed directly. Use (create them, if necessary) other methods that perform specific operations on the lisr.
|
getprivate set |
Whether bounds are updated or not, according to internal actors and renderers.
|
getsetprotected |
Bounds of the graphic scene for which axes and other decorations are handled.
|
getprotected set |
Gets the renderer used for decoration entities (axes, etc.). Currently, no special renderer is created for tgis purpose, but one is obtained either from the list of renderers included in the 3D graphics scene, or one is obtained form the VTK window attached to this object. Lazy evaluation. Renderer is obtained only when first needed.
|
getprotected set |
|
getset |
Whether legend-box is shown or not. Default is false.
$A Igor Oct11, Tako78 Dec23;
Referenced by IG.Gr3d.VtkPlotBase.ExamplePlotterDecoration().
|
getset |
Number of labels in legend-box. Default 1.
$A Igor Oct11, Tako78 Dec23;
|
getset |
A table of Titles for LegendBox Default is "Title 1"
$A Igor Oct11, Tako78 Dec23;
Referenced by IG.Gr3d.VtkPlotBase.ExamplePlotterDecoration().
|
getset |
A table of symbols for LegendBox Default is "Sphere symbol"
$A Igor Oct11, Tako78 Dec23;
|
getprotected set |
|
getset |
|
getset |
Color scale for lookuptable. Default is rainbow.
$A Igor Oct11, Tako78 Dec22;
Referenced by IG.Gr3d.VtkPlotBase.ExamplePlotterDecoration().
|
getset |
Number of table values. Default is 100.
$A Igor Oct11, Tako78 Dec22;
|
getset |
Alpha value for lookuptable. Default is 1.
$A Igor Oct11, Tako78 Dec23;
|
getset |
Minimum hue value for lookuptable. Default is 0.
$A Igor Oct11, Tako78 Dec23;
|
getset |
Minimum hue value for lookuptable. Default is 1.
$A Igor Oct11, Tako78 Dec23;
|
getset |
Minimum saturation value for lookuptable. Default is 0.
$A Igor Oct11, Tako78 Dec23;
|
getset |
Maximum saturation value for lookuptable. Default is 1.
$A Igor Oct11, Tako78 Dec23;
|
getset |
Minimum value for lookuptable. Default is 0.
$A Igor Oct11, Tako78 Dec22;
|
getset |
Maximum value for lookuptable. Default is 1.
$A Igor Oct11, Tako78 Dec22;
|
getset |
Minimum range for lookuptable. Default is 0.
$A Igor Oct11, Tako78 Dec22;
Referenced by IG.Gr3d.VtkPlotBase.ExamplePlotterDecoration().
|
getset |
Maximum range for lookuptable. Default is 1.
$A Igor Oct11, Tako78 Dec22;
Referenced by IG.Gr3d.VtkPlotBase.ExamplePlotterDecoration().
|
getset |
Number fo collors in lookuptable. Default is 100.
$A Igor Oct11, Tako78 Dec22;
|
getset |
Whether scalar-bar is shown or not. Default is true.
$A Igor Oct11, Tako78 Dec13;
Referenced by IG.Gr3d.VtkPlotBase.ExamplePlotterDecoration().
|
getset |
Title for scalar bar.
$A Igor Oct11, Tako78 Dec13;
Referenced by IG.Gr3d.VtkPlotBase.ExamplePlotterDecoration().
|
getset |
Numer of labels on the scalar bar.
$A Igor Oct11, Tako78 Dec13;
Referenced by IG.Gr3d.VtkPlotBase.ExamplePlotterDecoration().
|
getset |
Orientation of the scalar bar. 0 - Horizontal; 1 - Vertical
$A Igor Oct11, Tako78 Dec13;
|
getset |
Position X of the scalar bar.
$A Igor Oct11, Tako78 Dec14;
|
getset |
Position Y of the scalar bar.
$A Igor Oct11, Tako78 Dec14;
|
getset |
Hight of the scalar bar.
$A Igor Oct11, Tako78 Dec13;
|
getset |
Width of the scalar bar.
$A Igor Oct11, Tako78 Dec13;
|
getprotected set |
Actor that is used for manipulating cube axes.
Warning:
The returned actor can eventually be used to set properties of the axes that are not supported by the current handler object. However, it is recommended to avoid such use whenever possible because such properties may be overridden unpredictedly by the current helper object.
|
get |
Gets the Axes' properties, through wihich the caller can set additional properties that are not enabled by the current helper object.
Warning:
Use this only exceptionally. Changes made on the returned object may be overridden unpredictedly by the current helper object.
|
getset |
|
getset |
Label for Y axis.
Referenced by IG.Gr3d.VtkPlotBase.ExamplePlotterDecoration().
|
getset |
Label for Z axis.
Referenced by IG.Gr3d.VtkPlotBase.ExamplePlotterDecoration().
|
getset |
Positioning mode ("fly mode") of the axes. Default is VtkFlyMode.Static.
Referenced by IG.Gr3d.TestVtkGraphicBase.ExampleCellsGridContours(), IG.Gr3d.TestVtkGraphicBase.ExampleCellsGridEfficient(), IG.Gr3d.VtkPlotBase.ExamplePlotterDecoration(), and IG.Gr3d.TestVtkGraphicBase.ExampleQuadCells().
|
getset |
Whether axes are shown or not. Default is true.
Referenced by IG.Gr3d.VtkPlotBase.ExamplePlotterDecoration().
|
getset |
Gets or sets axes color.
Referenced by IG.Gr3d.TestVtkGraphicBase.ExampleCellsGridContours(), IG.Gr3d.TestVtkGraphicBase.ExampleCellsGridEfficient(), and IG.Gr3d.TestVtkGraphicBase.ExampleQuadCells().
|
getset |
Gets or sets width of the axes lines.
|
getset |
Whether decorations to be drawn are added to the VTK window's renderer immediately after the current decoration handler object is constructed.