|
virtual std::string | SubClassName () override final |
| Get subclass name (for s-c communication, should be replaced by tag. More...
|
|
void | Clear () |
| Remove all data from plot. More...
|
|
void | SetTitle (const std::string t) |
| Set the title of the plot. More...
|
|
void | SetXTitle (const std::string t) |
| Set the title of the x axis. More...
|
|
void | SetYTitle (const std::string t) |
| Set the title of the y axis. More...
|
|
void | SetXRange (double x0, double x1) |
| Set the range of the x values. More...
|
|
void | SetYRange (double y0, double y1) |
| Set the range of the y values. More...
|
|
void | SetNumberOfXLabels (int n) |
| Set the number of x axis labels. More...
|
|
void | SetNumberOfYLabels (int n) |
| Set the number of y axis labels. More...
|
|
void | SetXAxisLabelFormat (const std::string fmt) |
| Set the format string for x axis labels. More...
|
|
void | SetYAxisLabelFormat (const std::string fmt) |
| Set the format string for y axis labels. More...
|
|
void | AdjustLabels (bool b) |
| Adjust labels to "nice values" ? More...
|
|
void | ShowGrid (bool b) |
| Show grid lines in the plot ? More...
|
|
void | SetGridColor (double r, double g, double b) |
| Set the color of the grid lines. More...
|
|
void | SetAxesColor (double r, double g, double b) |
| Set the color of the axes. More...
|
|
void | ShowLegend (bool b) |
| Show a legend box ? More...
|
|
void | SetLegendPosition (double x, double y) |
| Set the position of the legend box. More...
|
|
void | SetLegendSize (double w, double h) |
| Set the size of the legend box. More...
|
|
void | SetPlotLineType (const std::string type) |
| Set the line type of the next plot. More...
|
|
void | SetPlotLegend (const std::string legend) |
| Set the information for the legend entry for the next plot. More...
|
|
void | SetPlotColor (double r, double g, double b) |
| Set the color of the next plot. More...
|
|
void | SetLineWidth (double w) |
| Set the width of all lines in the plot. More...
|
|
void | SetMarkerSize (double s) |
| Set the size of all markers in the plot. More...
|
|
void | SetPlotMarkerType (const std::string type) |
| Set marker type. More...
|
|
template<typename V > |
void | AddPlot (const V &x, const V &y) |
| Add a pair of x/y data to the figure. More...
|
|
void | SetBackground (double r, double g, double b) |
| Set background color;. More...
|
|
void | SetData (std::shared_ptr< DataSet > data, const std::string name="") |
| Add Dataset to figure. More...
|
|
void | SetMaskedData (std::shared_ptr< DataSet > data, const std::string name, const std::string maskname) |
| Add Dataset with mask to figure. More...
|
|
void | SetContourRGBTable (RGBTable &tab, int lutsize) |
| Set contour RGB table from RGBtable. More...
|
|
void | SetViewVolume (double xmin, double xmax, double ymin, double ymax, double zmin, double zmax) |
| Set view volume (e.g. to zoom in to a part) More...
|
|
void | SetViewVolumeToDataSetBounds () |
| Set view volume to dataset bounds (to overview the full dataset) More...
|
|
void | SetValueRange (double vmin, double vmax) |
| Set Range of values. More...
|
|
void | SetAccumulateRange (bool b) |
| Accumulate value ranges during run. More...
|
|
void | SetXYAspect (double a) |
| Set fixed xy aspect ratio. More...
|
|
void | KeepXYAspect (bool b) |
| Keep aspect ratio. More...
|
|
void | SetTransformDirty () |
| InvalidateTransform. More...
|
|
void | ShowDomainAxes (bool b) |
| Toggle rendering of domain axes. More...
|
|
void | ShowDomainBox (bool b) |
| Toggle rendering of domain bounding box. More...
|
|
void | ShowDomainOutline (bool b) |
| Toggle rendering of domain boundary as transparent surface. More...
|
|
void | AddContextActor (vtkSmartPointer< vtkContextActor > prop) |
| Add vtk Actor to renderer showing figure. More...
|
|
void | AddActor (vtkSmartPointer< vtkActor > prop) |
| Add vtk Actor to renderer showing figure. More...
|
|
void | AddActor2D (vtkSmartPointer< vtkActor2D > prop) |
| Add vtk Actor to renderer showing figure. More...
|
|
void | Message (std::string msg) |
| Show string in message field. More...
|
|
void | AddAnnotations () |
| Add annotations. More...
|
|
void | RTAddContextActor (vtkSmartPointer< vtkContextActor > prop) |
| Add vtk Actor to renderer showing figure. More...
|
|
void | RTAddActor (vtkSmartPointer< vtkActor > prop) |
| Add vtk Actor to renderer showing figure. More...
|
|
void | RTAddActor2D (vtkSmartPointer< vtkActor2D > prop) |
| Add vtk Actor to renderer showing figure. More...
|
|
void | RTMessage (std::string msg) |
| Show string in message field. More...
|
|
void | RTAddAnnotations () |
| Add annotations. More...
|
|
void | RTInitAnnotations () |
| Init annotations. More...
|
|
void | RTCalcTransform () |
| Calculate transformation to unit cube This shall be applied to all data. More...
|
|
void | SetVMinMax () |
| Set minmax values from data. More...
|
|
void | GenIsolevels () |
| Generate isolevels after minmax data known. More...
|
|
virtual void | RTBuildVTKPipeline () |
| Subclasses re-implement this in order to build the vtk rendering pipeline. More...
|
|
void | RTBuildDomainPipeline (vtkSmartPointer< vtkRenderer > renderer) |
| Build domain pipeline for 2D/3D figures (box, suface, axes) More...
|
|
template<class DATA > |
void | RTBuildDomainPipeline0 (vtkSmartPointer< vtkRenderer > renderer) |
| Duck typing interface allowing to handle different VTK datatypes with the same code. More...
|
|
void | ServerMPSendData (vtkSmartPointer< internals::Communicator > communicator) |
| Send data to client. More...
|
|
void | ClientMPReceiveData (vtkSmartPointer< internals::Communicator > communicator) |
| Receive data from server. More...
|
|
virtual void | RTProcessKey (const std::string key) |
| Process keyboard event. More...
|
|
virtual void | RTProcessMove (int dx, int dy) |
| Process mouse event. More...
|
|
void | RTRefreshState () |
| Trigger necessary actions to set state variables. More...
|
|
int | RTProcessPlaneKey (const std::string plane, int idim, const std::string key, bool &edit, vtkSmartPointer< vtkCutter > planecut) |
| Process keyboard and mouse move events for plane section editing. More...
|
|
int | RTProcessPlaneMove (const std::string plane, int idim, int dx, int dy, bool &edit, vtkSmartPointer< vtkCutter > planecut) |
| Process keyboard and mouse move events for plane section editing. More...
|
|
void | RTShowPlanePos (vtkSmartPointer< vtkCutter > planecut, const std::string plane, int idim) |
| Process keyboard and mouse move events for plane section editing. More...
|
|
int | RTProcessIsoKey (const std::string key, bool &edit) |
| Process keyboard and mouse move events for isolevel editing. More...
|
|
int | RTProcessIsoMove (int dx, int dy, bool &edit) |
| Process keyboard and mouse move events for isolevel editing. More...
|
|
void | RTShowIsolevel () |
| Process keyboard and mouse move events for isolevel editing. More...
|
|
void | RTUpdateIsoSurfaceFilter () |
| Process keyboard and mouse move events for isolevel editing. More...
|
|
int | RTProcessArrowKey (const std::string key, bool &edit) |
| Process keyboard events for quiver arrow editing etc. More...
|
|
int | RTProcessArrowMove (int dx, int dy, bool &edit) |
| Process mouse move events for quiver arrow editing etc. More...
|
|
void | RTShowArrowScale () |
| Show arrow scale informtion. More...
|
|
void | RTShowActive () |
| Show figure is active [x]. More...
|
|
void | RTShowInActive () |
| Show figure is inactive [ ]. More...
|
|
bool | IsEmpty () |
| Check if figure is empty (== no actors added) More...
|
|
void | RTUpdateActors () |
| Update all actors belonging to figure. More...
|
|
void | SetRange () |
| Obtain the data range from the relevant dataset. More...
|
|
|
vtkSmartPointer< vtkCornerAnnotation > | annot |
| Title+message text fields. More...
|
|
vtkSmartPointer< vtkTransform > | transform =0 |
| Transformation. More...
|
|
vtkSmartPointer< vtkCutter > | planecutX |
| Cutter for plane sections. More...
|
|
vtkSmartPointer< vtkCutter > | planecutY |
| Cutter for plane sections. More...
|
|
vtkSmartPointer< vtkCutter > | planecutZ |
| Cutter for plane sections. More...
|
|
vtkSmartPointer< vtkPlane > | planeX |
| Plane equation for plane sections. More...
|
|
vtkSmartPointer< vtkPlane > | planeY |
| Plane equation for plane sections. More...
|
|
vtkSmartPointer< vtkPlane > | planeZ |
| Plane equation for plane sections. More...
|
|
vtkSmartPointer< vtkGlyphSource2D > | arrow2d |
| Arrow glyph source. More...
|
|
vtkSmartPointer< vtkTransformPolyDataFilter > | arrow3d |
| Arrow glyph source. More...
|
|
vtkSmartPointer< vtkTransform > | arrow3dt |
| Arrow glyph source. More...
|
|
vtkSmartPointer< vtkArrowSource > | arrow3ds |
| Arrow glyph source. More...
|
|
vtkSmartPointer< vtkActor > | isosurface_plot |
| Isosurface plot actor. More...
|
|
vtkSmartPointer< vtkContourFilter > | isosurface_filter |
| Isosurface plot filter. More...
|
|
vtkSmartPointer< vtkActor > | isoline_plot |
| Isoline plot actor. More...
|
|
vtkSmartPointer< vtkContourFilter > | isoline_filter |
| Isoline plot filter. More...
|
|
vtkSmartPointer< vtkActor > | elevation_plot |
| Items for elevation plot. More...
|
|
vtkSmartPointer< vtkActor > | surface_plot |
| Items for surface plot. More...
|
|
vtkSmartPointer< vtkTransform > | warp_transform |
| Items for elevation plot. More...
|
|
vtkSmartPointer< vtkCubeAxesActor2D > | axes |
| Axes actor. More...
|
|
vtkSmartPointer< vtkActor > | box |
| Box actor. More...
|
|
vtkSmartPointer< vtkActor > | outline |
| Outline plot actor. More...
|
|
vtkSmartPointer< vtkTrivialProducer > | data_producer =NULL |
| Data producer for grid dataset. More...
|
|
vtkSmartPointer< vtkTrivialProducer > | boundary_data_producer =NULL |
| Data producer for boundary grid dataset. More...
|
|
double | coordinate_scale_factor |
| coordinate scale More...
|
|
std::string | dataname |
| Name of data item in data set. More...
|
|
vtkSmartPointer< vtkIdList > | celllist =0 |
| Cell mask. More...
|
|
vtkSmartPointer< vtkLookupTable > | surface_lut |
| Color lookup table for surface plots. More...
|
|
RGBTable | surface_rgbtab {{0,0,0,1},{1,1,0,0}} |
| Color table for surface plots. More...
|
|
vtkSmartPointer< vtkLookupTable > | quiver_lut |
| Color lookup table for quiver plots. More...
|
|
RGBTable | quiver_rgbtab {{0,0,0,0},{1,0,0,0}} |
| Color table for quiver plots. More...
|
|
vtkSmartPointer< vtkLookupTable > | stream_lut |
| Color lookup table for stream plots. More...
|
|
RGBTable | stream_rgbtab {{0,0,0,1},{1,1,0,0}} |
| Color table for stream plots. More...
|
|
vtkSmartPointer< vtkLookupTable > | elevation_lut |
| Color lookup table for elevation plots. More...
|
|
RGBTable | elevation_rgbtab {{0.0,0.9,0.9,0.9},{1.0,0.9,0.9,0.9}} |
| Color table for elevation plots. More...
|
|
vtkSmartPointer< vtkLookupTable > | cell_lut |
| Color lookup table for grid plot cell colors. More...
|
|
RGBTable | cell_rgbtab |
| Color table for grid plot cell colors. More...
|
|
vtkSmartPointer< vtkLookupTable > | bface_lut |
| Color lookup table for grid plot boundary colors. More...
|
|
RGBTable | bface_rgbtab |
| Color table for grid plot boundary colors. More...
|
|
vtkSmartPointer< vtkScalarBarActor > | cbar =NULL |
| Cell color bar for grid plots. More...
|
|
vtkSmartPointer< vtkScalarBarActor > | bcbar =NULL |
| Boundary color bar for grid plots. More...
|
|
struct { |
double vmin_set =1.0e100 |
| min/max set through api More...
|
|
double real_vmin =0 |
| min/max generated from api and data More...
|
|
double data_vmin =0 |
| min/max calculated from data More...
|
|
double xmin =1.0 |
| View volume data. More...
|
|
} | state |
| figure state More...
|
|
struct { |
} | edit |
| edit state More...
|
|
std::vector< vtkSmartPointer< vtkContextActor > > | ctxactors |
| The different actor lists. More...
|
|
double | bgcolor [3] ={1,1,1} |
| default background color More...
|
|
int | framepos =0 |
| position in its respective frame More...
|
|
XY Function plot.
This class is based on vtkXYPlotActor, which has its restrictions.
Notably missing are: logscales, different marker sizes, different line widths, more line types etc.