VTKFIG  0.25.0
Easy VTK based in situ visualization
Public Member Functions | Static Public Member Functions | Public Attributes | List of all members
vtkfig::VectorView Class Reference

Quiver plots + streamlines for vector fields. More...

+ Inheritance diagram for vtkfig::VectorView:
+ Collaboration diagram for vtkfig::VectorView:

Public Member Functions

virtual std::string SubClassName () override final
 Get subclass name (for s-c communication, should be replaced by tag. More...
 
void ShowQuiver (bool b)
 Show quiver plot (true by default) More...
 
void SetQuiverArrowScale (double scale)
 Set scaling of arrows. More...
 
void ShowQuiverColorbar (bool b)
 Show color bar for quiver colors. More...
 
void SetQuiverGrid (int nx, int ny)
 Set quiver points on grid in domain bounding box (2D) More...
 
void SetQuiverGrid (int nx, int ny, int nz)
 Set quiver points on grid in domain bounding box (3D) More...
 
template<class V >
void SetQuiverPoints (const V &p)
 Set quiver points from vector. More...
 
template<class V >
void SetQuiverRGBTable (const V &tab, int lutsize)
 Set quiver RGB table from vector. More...
 
void SetQuiverRGBTable (RGBTable &tab, int lutsize)
 Set quiver RGB table from RGBtable. More...
 
void ShowStreamLines (bool b)
 Show stream lines (false by default) More...
 
void ShowStreamLineColorbar (bool b)
 Show color bar for stream lines. More...
 
void SetStreamLineMaximumPropagation (double l)
 Set length of stream lines. More...
 
void SetStreamLineMaximumNumberOfSteps (int l)
 Set maximum number of steps. More...
 
void SetStreamLineInitialIntegrationStep (double l)
 Set initial integration step for streamlines. More...
 
void SetStreamLineMaximumIntegrationStep (double l)
 Set maximum integration step for streamlines. More...
 
void SetStreamLineWidth (double w)
 Set width of stream ribbons. More...
 
template<class V >
void SetStreamLineSeedPoints (const V &p)
 Set seed points for streamlines. More...
 
template<class V >
void SetStreamLineRGBTable (const V &tab, int lutsize)
 Set streamline RGB table from vector. More...
 
void SetStreamLineRGBTable (RGBTable &tab, int lutsize)
 Set quiver RGB table from RGBtable. 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 SetTitle (std::string xtitle)
 Set figure title. 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...
 
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...
 
virtual void RTBuildAllVTKPipelines (vtkSmartPointer< vtkRenderer > renderer)
 Default implementation for 2D/3d datasets. More...
 
virtual void RTPreRender ()
 Pre-Render actions. 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...
 

Static Public Member Functions

static std::shared_ptr< VectorViewNew ()
 Smart pointer constructor. More...
 
static void MPSendRGBTable (vtkSmartPointer< internals::Communicator > communicator, RGBTable &rgbtab)
 Send rgb table to client. More...
 
static void MPReceiveRGBTable (vtkSmartPointer< internals::Communicator > communicator, RGBTable &rgbtab)
 Receive rgb table from client. More...
 

Public Attributes

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...
 
std::string title
 Title of figure. 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...
 

Detailed Description

Quiver plots + streamlines for vector fields.

Member Function Documentation

◆ New()

static std::shared_ptr<VectorView> vtkfig::VectorView::New ( )
static

◆ SubClassName()

virtual std::string vtkfig::VectorView::SubClassName ( )
inlinefinaloverridevirtual

Get subclass name (for s-c communication, should be replaced by tag.

Reimplemented from vtkfig::Figure.

◆ ShowQuiver()

void vtkfig::VectorView::ShowQuiver ( bool  b)
inline

Show quiver plot (true by default)

◆ SetQuiverArrowScale()

void vtkfig::VectorView::SetQuiverArrowScale ( double  scale)
inline

Set scaling of arrows.

◆ ShowQuiverColorbar()

void vtkfig::VectorView::ShowQuiverColorbar ( bool  b)
inline

Show color bar for quiver colors.

◆ SetQuiverGrid() [1/2]

void vtkfig::VectorView::SetQuiverGrid ( int  nx,
int  ny 
)

Set quiver points on grid in domain bounding box (2D)

◆ SetQuiverGrid() [2/2]

void vtkfig::VectorView::SetQuiverGrid ( int  nx,
int  ny,
int  nz 
)

Set quiver points on grid in domain bounding box (3D)

◆ SetQuiverPoints()

template<class V >
void vtkfig::VectorView::SetQuiverPoints ( const V &  p)
inline

Set quiver points from vector.

◆ SetQuiverRGBTable() [1/2]

template<class V >
void vtkfig::VectorView::SetQuiverRGBTable ( const V &  tab,
int  lutsize 
)
inline

Set quiver RGB table from vector.

Template Parameters
VVector class counting from zero with member functions size() and operator[]. std::vector will work.
Parameters
tabVector containg data. One RGB point is described by x, r, g, b between 0 and 1 RGB point i is contained in '(tab[4*i],tab[4*i+1],tab[4*i+2],tab[4*i+3])
lutsizeSize of lookup table created.

◆ SetQuiverRGBTable() [2/2]

void vtkfig::VectorView::SetQuiverRGBTable ( RGBTable tab,
int  lutsize 
)

Set quiver RGB table from RGBtable.

Parameters
tabRGB table containg data.
lutsizeSize of lookup table created.

◆ ShowStreamLines()

void vtkfig::VectorView::ShowStreamLines ( bool  b)
inline

Show stream lines (false by default)

◆ ShowStreamLineColorbar()

void vtkfig::VectorView::ShowStreamLineColorbar ( bool  b)
inline

Show color bar for stream lines.

◆ SetStreamLineMaximumPropagation()

void vtkfig::VectorView::SetStreamLineMaximumPropagation ( double  l)
inline

Set length of stream lines.

◆ SetStreamLineMaximumNumberOfSteps()

void vtkfig::VectorView::SetStreamLineMaximumNumberOfSteps ( int  l)
inline

Set maximum number of steps.

◆ SetStreamLineInitialIntegrationStep()

void vtkfig::VectorView::SetStreamLineInitialIntegrationStep ( double  l)
inline

Set initial integration step for streamlines.

◆ SetStreamLineMaximumIntegrationStep()

void vtkfig::VectorView::SetStreamLineMaximumIntegrationStep ( double  l)
inline

Set maximum integration step for streamlines.

◆ SetStreamLineWidth()

void vtkfig::VectorView::SetStreamLineWidth ( double  w)
inline

Set width of stream ribbons.

◆ SetStreamLineSeedPoints()

template<class V >
void vtkfig::VectorView::SetStreamLineSeedPoints ( const V &  p)
inline

Set seed points for streamlines.

◆ SetStreamLineRGBTable() [1/2]

template<class V >
void vtkfig::VectorView::SetStreamLineRGBTable ( const V &  tab,
int  lutsize 
)
inline

Set streamline RGB table from vector.

Template Parameters
VVector class counting from zero with member functions size() and operator[]. std::vector will work.
Parameters
tabVector containg data. One RGB point is described by x, r, g, b between 0 and 1 RGB point i is contained in '(tab[4*i],tab[4*i+1],tab[4*i+2],tab[4*i+3])
lutsizeSize of lookup table created.

◆ SetStreamLineRGBTable() [2/2]

void vtkfig::VectorView::SetStreamLineRGBTable ( RGBTable tab,
int  lutsize 
)

Set quiver RGB table from RGBtable.

Parameters
tabRGB table containg data.
lutsizeSize of lookup table created.

◆ SetBackground()

void vtkfig::Figure::SetBackground ( double  r,
double  g,
double  b 
)
inlineinherited

Set background color;.

◆ SetData()

void vtkfig::Figure::SetData ( std::shared_ptr< DataSet data,
const std::string  name = "" 
)
inherited

Add Dataset to figure.

Parameters
nameName of scalar or vector to be shown
Examples
example-gridview2d.cxx, example-gridview3d.cxx, example-multifig.cxx, and example-multiframe.cxx.

◆ SetMaskedData()

void vtkfig::Figure::SetMaskedData ( std::shared_ptr< DataSet data,
const std::string  name,
const std::string  maskname 
)
inherited

Add Dataset with mask to figure.

Parameters
nameName of scalar or vector to be shown

◆ SetContourRGBTable()

void vtkfig::Figure::SetContourRGBTable ( RGBTable tab,
int  lutsize 
)
inherited

Set contour RGB table from RGBtable.

Parameters
tabRGB table containg data.
lutsizeSize of lookup table created.

◆ SetTitle()

void vtkfig::Figure::SetTitle ( std::string  xtitle)
inlineinherited

Set figure title.

Examples
example-gridview2d.cxx, and example-gridview3d.cxx.

◆ SetViewVolume()

void vtkfig::Figure::SetViewVolume ( double  xmin,
double  xmax,
double  ymin,
double  ymax,
double  zmin,
double  zmax 
)
inlineinherited

Set view volume (e.g. to zoom in to a part)

Examples
example-custom-vtkfig.cxx.

◆ SetViewVolumeToDataSetBounds()

void vtkfig::Figure::SetViewVolumeToDataSetBounds ( )
inlineinherited

Set view volume to dataset bounds (to overview the full dataset)

◆ SetValueRange()

void vtkfig::Figure::SetValueRange ( double  vmin,
double  vmax 
)
inlineinherited

Set Range of values.

◆ SetAccumulateRange()

void vtkfig::Figure::SetAccumulateRange ( bool  b)
inlineinherited

Accumulate value ranges during run.

◆ SetXYAspect()

void vtkfig::Figure::SetXYAspect ( double  a)
inlineinherited

Set fixed xy aspect ratio.

◆ KeepXYAspect()

void vtkfig::Figure::KeepXYAspect ( bool  b)
inlineinherited

Keep aspect ratio.

◆ SetTransformDirty()

void vtkfig::Figure::SetTransformDirty ( )
inherited

InvalidateTransform.

◆ ShowDomainAxes()

void vtkfig::Figure::ShowDomainAxes ( bool  b)
inlineinherited

Toggle rendering of domain axes.

◆ ShowDomainBox()

void vtkfig::Figure::ShowDomainBox ( bool  b)
inlineinherited

Toggle rendering of domain bounding box.

◆ ShowDomainOutline()

void vtkfig::Figure::ShowDomainOutline ( bool  b)
inlineinherited

Toggle rendering of domain boundary as transparent surface.

◆ AddContextActor()

void vtkfig::Figure::AddContextActor ( vtkSmartPointer< vtkContextActor >  prop)
inlineinherited

Add vtk Actor to renderer showing figure.

Intended for custom pipeline.

+ Here is the call graph for this function:

◆ AddActor()

void vtkfig::Figure::AddActor ( vtkSmartPointer< vtkActor >  prop)
inlineinherited

Add vtk Actor to renderer showing figure.

Intended for custom pipeline.

Examples
example-custom-vtkfig.cxx.
+ Here is the call graph for this function:

◆ AddActor2D()

void vtkfig::Figure::AddActor2D ( vtkSmartPointer< vtkActor2D >  prop)
inlineinherited

Add vtk Actor to renderer showing figure.

Intended for custom pipeline.

Examples
example-custom-vtkfig.cxx.
+ Here is the call graph for this function:

◆ Message()

void vtkfig::Figure::Message ( std::string  msg)
inlineinherited

Show string in message field.

Intended for custom pipeline.

+ Here is the call graph for this function:

◆ AddAnnotations()

void vtkfig::Figure::AddAnnotations ( )
inlineinherited

Add annotations.

Intended for custom pipeline.

+ Here is the call graph for this function:

◆ RTAddContextActor()

void vtkfig::Figure::RTAddContextActor ( vtkSmartPointer< vtkContextActor >  prop)
inherited

Add vtk Actor to renderer showing figure.

Usually, this is called from the render thread, it can however be useful in custom pipelines

◆ RTAddActor()

void vtkfig::Figure::RTAddActor ( vtkSmartPointer< vtkActor >  prop)
inherited

Add vtk Actor to renderer showing figure.

Usually, this is called from the render thread, it can however be useful in custom pipelines

◆ RTAddActor2D()

void vtkfig::Figure::RTAddActor2D ( vtkSmartPointer< vtkActor2D >  prop)
inherited

Add vtk Actor to renderer showing figure.

Usually, this is called from the render thread, it can however be useful in custom pipelines

◆ RTMessage()

void vtkfig::Figure::RTMessage ( std::string  msg)
inherited

Show string in message field.

Usually, this is called from the render thread, it can however be useful in custom pipelines

◆ RTAddAnnotations()

void vtkfig::Figure::RTAddAnnotations ( )
inherited

Add annotations.

Usually, this is called from the render thread, it can however be useful in custom pipelines

◆ RTInitAnnotations()

void vtkfig::Figure::RTInitAnnotations ( )
inherited

Init annotations.

Called by RTAddAnnotations() or RTMessage()

◆ MPSendRGBTable()

static void vtkfig::Figure::MPSendRGBTable ( vtkSmartPointer< internals::Communicator >  communicator,
RGBTable rgbtab 
)
staticinherited

Send rgb table to client.

◆ MPReceiveRGBTable()

static void vtkfig::Figure::MPReceiveRGBTable ( vtkSmartPointer< internals::Communicator >  communicator,
RGBTable rgbtab 
)
staticinherited

Receive rgb table from client.

◆ RTCalcTransform()

void vtkfig::Figure::RTCalcTransform ( )
inherited

Calculate transformation to unit cube This shall be applied to all data.

Camera is fixed.

◆ SetVMinMax()

void vtkfig::Figure::SetVMinMax ( )
inherited

Set minmax values from data.

◆ GenIsolevels()

void vtkfig::Figure::GenIsolevels ( )
inherited

Generate isolevels after minmax data known.

◆ RTBuildDomainPipeline()

void vtkfig::Figure::RTBuildDomainPipeline ( vtkSmartPointer< vtkRenderer >  renderer)
inherited

Build domain pipeline for 2D/3D figures (box, suface, axes)

◆ RTBuildDomainPipeline0()

template<class DATA >
void vtkfig::Figure::RTBuildDomainPipeline0 ( vtkSmartPointer< vtkRenderer >  renderer)
inherited

Duck typing interface allowing to handle different VTK datatypes with the same code.

◆ RTBuildAllVTKPipelines()

virtual void vtkfig::Figure::RTBuildAllVTKPipelines ( vtkSmartPointer< vtkRenderer >  renderer)
inlinevirtualinherited

Default implementation for 2D/3d datasets.

+ Here is the call graph for this function:

◆ RTPreRender()

virtual void vtkfig::Figure::RTPreRender ( )
inlinevirtualinherited

Pre-Render actions.

◆ ServerMPSendData()

void vtkfig::Figure::ServerMPSendData ( vtkSmartPointer< internals::Communicator >  communicator)
inherited

Send data to client.

Called from rendering thread.

◆ ClientMPReceiveData()

void vtkfig::Figure::ClientMPReceiveData ( vtkSmartPointer< internals::Communicator >  communicator)
inherited

Receive data from server.

◆ RTProcessKey()

virtual void vtkfig::Figure::RTProcessKey ( const std::string  key)
virtualinherited

Process keyboard event.

◆ RTProcessMove()

virtual void vtkfig::Figure::RTProcessMove ( int  dx,
int  dy 
)
virtualinherited

Process mouse event.

◆ RTRefreshState()

void vtkfig::Figure::RTRefreshState ( )
inherited

Trigger necessary actions to set state variables.

◆ RTProcessPlaneKey()

int vtkfig::Figure::RTProcessPlaneKey ( const std::string  plane,
int  idim,
const std::string  key,
bool &  edit,
vtkSmartPointer< vtkCutter >  planecut 
)
inherited

Process keyboard and mouse move events for plane section editing.

◆ RTProcessPlaneMove()

int vtkfig::Figure::RTProcessPlaneMove ( const std::string  plane,
int  idim,
int  dx,
int  dy,
bool &  edit,
vtkSmartPointer< vtkCutter >  planecut 
)
inherited

Process keyboard and mouse move events for plane section editing.

◆ RTShowPlanePos()

void vtkfig::Figure::RTShowPlanePos ( vtkSmartPointer< vtkCutter >  planecut,
const std::string  plane,
int  idim 
)
inherited

Process keyboard and mouse move events for plane section editing.

◆ RTProcessIsoKey()

int vtkfig::Figure::RTProcessIsoKey ( const std::string  key,
bool &  edit 
)
inherited

Process keyboard and mouse move events for isolevel editing.

◆ RTProcessIsoMove()

int vtkfig::Figure::RTProcessIsoMove ( int  dx,
int  dy,
bool &  edit 
)
inherited

Process keyboard and mouse move events for isolevel editing.

◆ RTShowIsolevel()

void vtkfig::Figure::RTShowIsolevel ( )
inherited

Process keyboard and mouse move events for isolevel editing.

◆ RTUpdateIsoSurfaceFilter()

void vtkfig::Figure::RTUpdateIsoSurfaceFilter ( )
inherited

Process keyboard and mouse move events for isolevel editing.

◆ RTProcessArrowKey()

int vtkfig::Figure::RTProcessArrowKey ( const std::string  key,
bool &  edit 
)
inherited

Process keyboard events for quiver arrow editing etc.

◆ RTProcessArrowMove()

int vtkfig::Figure::RTProcessArrowMove ( int  dx,
int  dy,
bool &  edit 
)
inherited

Process mouse move events for quiver arrow editing etc.

◆ RTShowArrowScale()

void vtkfig::Figure::RTShowArrowScale ( )
inherited

Show arrow scale informtion.

◆ RTShowActive()

void vtkfig::Figure::RTShowActive ( )
inherited

Show figure is active [x].

◆ RTShowInActive()

void vtkfig::Figure::RTShowInActive ( )
inherited

Show figure is inactive [ ].

◆ IsEmpty()

bool vtkfig::Figure::IsEmpty ( )
inherited

Check if figure is empty (== no actors added)

◆ RTUpdateActors()

void vtkfig::Figure::RTUpdateActors ( )
inherited

Update all actors belonging to figure.

◆ SetRange()

void vtkfig::Figure::SetRange ( )
inherited

Obtain the data range from the relevant dataset.

Member Data Documentation

◆ annot

vtkSmartPointer<vtkCornerAnnotation> vtkfig::Figure::annot
inherited

Title+message text fields.

◆ transform

vtkSmartPointer<vtkTransform> vtkfig::Figure::transform =0
inherited

Transformation.

◆ planecutX

vtkSmartPointer<vtkCutter> vtkfig::Figure::planecutX
inherited

Cutter for plane sections.

◆ planecutY

vtkSmartPointer<vtkCutter> vtkfig::Figure::planecutY
inherited

Cutter for plane sections.

◆ planecutZ

vtkSmartPointer<vtkCutter> vtkfig::Figure::planecutZ
inherited

Cutter for plane sections.

◆ planeX

vtkSmartPointer<vtkPlane> vtkfig::Figure::planeX
inherited

Plane equation for plane sections.

◆ planeY

vtkSmartPointer<vtkPlane> vtkfig::Figure::planeY
inherited

Plane equation for plane sections.

◆ planeZ

vtkSmartPointer<vtkPlane> vtkfig::Figure::planeZ
inherited

Plane equation for plane sections.

◆ arrow2d

vtkSmartPointer<vtkGlyphSource2D> vtkfig::Figure::arrow2d
inherited

Arrow glyph source.

◆ arrow3d

vtkSmartPointer<vtkTransformPolyDataFilter> vtkfig::Figure::arrow3d
inherited

Arrow glyph source.

◆ arrow3dt

vtkSmartPointer<vtkTransform> vtkfig::Figure::arrow3dt
inherited

Arrow glyph source.

◆ arrow3ds

vtkSmartPointer<vtkArrowSource> vtkfig::Figure::arrow3ds
inherited

Arrow glyph source.

◆ isosurface_plot

vtkSmartPointer<vtkActor> vtkfig::Figure::isosurface_plot
inherited

Isosurface plot actor.

◆ isosurface_filter

vtkSmartPointer<vtkContourFilter> vtkfig::Figure::isosurface_filter
inherited

Isosurface plot filter.

◆ isoline_plot

vtkSmartPointer<vtkActor> vtkfig::Figure::isoline_plot
inherited

Isoline plot actor.

◆ isoline_filter

vtkSmartPointer<vtkContourFilter> vtkfig::Figure::isoline_filter
inherited

Isoline plot filter.

◆ elevation_plot

vtkSmartPointer<vtkActor> vtkfig::Figure::elevation_plot
inherited

Items for elevation plot.

◆ surface_plot

vtkSmartPointer<vtkActor> vtkfig::Figure::surface_plot
inherited

Items for surface plot.

◆ warp_transform

vtkSmartPointer<vtkTransform> vtkfig::Figure::warp_transform
inherited

Items for elevation plot.

◆ axes

vtkSmartPointer<vtkCubeAxesActor2D> vtkfig::Figure::axes
inherited

Axes actor.

◆ box

vtkSmartPointer<vtkActor> vtkfig::Figure::box
inherited

Box actor.

◆ outline

vtkSmartPointer<vtkActor> vtkfig::Figure::outline
inherited

Outline plot actor.

◆ data_producer

vtkSmartPointer<vtkTrivialProducer> vtkfig::Figure::data_producer =NULL
inherited

Data producer for grid dataset.

◆ boundary_data_producer

vtkSmartPointer<vtkTrivialProducer> vtkfig::Figure::boundary_data_producer =NULL
inherited

Data producer for boundary grid dataset.

◆ coordinate_scale_factor

double vtkfig::Figure::coordinate_scale_factor
inherited

coordinate scale

◆ dataname

std::string vtkfig::Figure::dataname
inherited

Name of data item in data set.

◆ celllist

vtkSmartPointer<vtkIdList> vtkfig::Figure::celllist =0
inherited

Cell mask.

◆ title

std::string vtkfig::Figure::title
inherited

Title of figure.

◆ surface_lut

vtkSmartPointer<vtkLookupTable> vtkfig::Figure::surface_lut
inherited

Color lookup table for surface plots.

◆ surface_rgbtab

RGBTable vtkfig::Figure::surface_rgbtab {{0,0,0,1},{1,1,0,0}}
inherited

Color table for surface plots.

◆ quiver_lut

vtkSmartPointer<vtkLookupTable> vtkfig::Figure::quiver_lut
inherited

Color lookup table for quiver plots.

◆ quiver_rgbtab

RGBTable vtkfig::Figure::quiver_rgbtab {{0,0,0,0},{1,0,0,0}}
inherited

Color table for quiver plots.

◆ stream_lut

vtkSmartPointer<vtkLookupTable> vtkfig::Figure::stream_lut
inherited

Color lookup table for stream plots.

◆ stream_rgbtab

RGBTable vtkfig::Figure::stream_rgbtab {{0,0,0,1},{1,1,0,0}}
inherited

Color table for stream plots.

◆ elevation_lut

vtkSmartPointer<vtkLookupTable> vtkfig::Figure::elevation_lut
inherited

Color lookup table for elevation plots.

◆ elevation_rgbtab

RGBTable vtkfig::Figure::elevation_rgbtab {{0.0,0.9,0.9,0.9},{1.0,0.9,0.9,0.9}}
inherited

Color table for elevation plots.

◆ cell_lut

vtkSmartPointer<vtkLookupTable> vtkfig::Figure::cell_lut
inherited

Color lookup table for grid plot cell colors.

◆ cell_rgbtab

RGBTable vtkfig::Figure::cell_rgbtab
inherited
Initial value:
{
{0.00, 1.0, 0.5, 0.5},
{0.25, 1.0, 1.0, 0.5},
{0.50, 0.5, 1.0, 0.5},
{0.75, 0.5, 1.0, 1.0},
{1.00, 0.5, 0.5, 1.0}}

Color table for grid plot cell colors.

◆ bface_lut

vtkSmartPointer<vtkLookupTable> vtkfig::Figure::bface_lut
inherited

Color lookup table for grid plot boundary colors.

◆ bface_rgbtab

RGBTable vtkfig::Figure::bface_rgbtab
inherited
Initial value:
{
{0.00, 0.8, 0.0, 0.0},
{0.25, 0.8, 0.8, 0.0},
{0.50, 0.0, 0.8, 0.0},
{0.75, 0.0, 0.8, 0.8},
{1.00, 0.0, 0.0, 0.8}}

Color table for grid plot boundary colors.

◆ cbar

vtkSmartPointer<vtkScalarBarActor> vtkfig::Figure::cbar =NULL
inherited

Cell color bar for grid plots.

◆ bcbar

vtkSmartPointer<vtkScalarBarActor> vtkfig::Figure::bcbar =NULL
inherited

Boundary color bar for grid plots.

◆ vmin_set

double vtkfig::Figure::vmin_set =1.0e100
inherited

min/max set through api

◆ real_vmin

double vtkfig::Figure::real_vmin =0
inherited

min/max generated from api and data

◆ data_vmin

double vtkfig::Figure::data_vmin =0
inherited

min/max calculated from data

◆ xmin

double vtkfig::Figure::xmin =1.0
inherited

View volume data.

◆ state

struct { ... } vtkfig::Figure::state

figure state

◆ edit

struct { ... } vtkfig::Figure::edit

edit state

◆ ctxactors

std::vector<vtkSmartPointer<vtkContextActor> > vtkfig::Figure::ctxactors
inherited

The different actor lists.

◆ bgcolor

double vtkfig::Figure::bgcolor[3] ={1,1,1}
inherited

default background color

◆ framepos

int vtkfig::Figure::framepos =0
inherited

position in its respective frame


The documentation for this class was generated from the following file: