Public Slots | Signals | Public Member Functions | Protected Member Functions | Properties | List of all members
pqMultiSliceAxisWidget Class Reference

#include <pqMultiSliceAxisWidget.h>

Inherits QWidget.

Public Slots

void renderView ()
 

Signals

void sliceAdded (int index)
 Signal emitted when the model has changed internally. More...
 
void sliceRemoved (int index)
 
void sliceModified (int index)
 
void markClicked (int button, int modifier, double value)
 Signal emitted when a mark is clicked. More...
 
void titleChanged (const QString &)
 

Public Member Functions

 pqMultiSliceAxisWidget (QWidget *parent=nullptr)
 
 ~pqMultiSliceAxisWidget () override
 
void setRange (double min, double max)
 Set the range of the Axis (Bound) More...
 
void setAxisType (int type)
 Axis::LEFT=0, Axis::BOTTOM, Axis::RIGHT, Axis::TOP. More...
 
QString title () const
 Title that appears inside the view. More...
 
void setTitle (const QString &title)
 
QWidget * getVTKWidget ()
 Return the Widget that contain the ContextView. More...
 
const doublegetVisibleSlices (int &nbSlices) const
 Return the locations of the visible slices within the range as well as the number of values that can be read from the pointer. More...
 
const doublegetSlices (int &nbSlices) const
 Returns the locations for all slices (visible or otherwise). More...
 
void updateSlices (double *values, bool *visibility, int numberOfValues)
 Update our internal model to reflect the proxy state. More...
 
void SetActiveSize (int size)
 The active size define the number of pixel that are going to be used for the slider handle. More...
 
void SetEdgeMargin (int margin)
 The margin used on the side of the Axis. More...
 

Protected Member Functions

vtkContextScenescene () const
 
void invalidateCallback (vtkObject *, unsigned long, void *)
 Internal VTK callback used to emit the modelUpdated() signal. More...
 
void onMarkClicked (vtkObject *, unsigned long, void *)
 Internal VTK callback used to emit markClicked(...) signale. More...
 

Properties

QString title
 

Detailed Description

Definition at line 15 of file pqMultiSliceAxisWidget.h.

Constructor & Destructor Documentation

◆ pqMultiSliceAxisWidget()

pqMultiSliceAxisWidget::pqMultiSliceAxisWidget ( QWidget *  parent = nullptr)

◆ ~pqMultiSliceAxisWidget()

pqMultiSliceAxisWidget::~pqMultiSliceAxisWidget ( )
override

Member Function Documentation

◆ setRange()

void pqMultiSliceAxisWidget::setRange ( double  min,
double  max 
)

Set the range of the Axis (Bound)

◆ setAxisType()

void pqMultiSliceAxisWidget::setAxisType ( int  type)

Axis::LEFT=0, Axis::BOTTOM, Axis::RIGHT, Axis::TOP.

◆ title()

QString pqMultiSliceAxisWidget::title ( ) const

Title that appears inside the view.

◆ setTitle()

void pqMultiSliceAxisWidget::setTitle ( const QString &  title)

◆ getVTKWidget()

QWidget* pqMultiSliceAxisWidget::getVTKWidget ( )

Return the Widget that contain the ContextView.

◆ getVisibleSlices()

const double* pqMultiSliceAxisWidget::getVisibleSlices ( int nbSlices) const

Return the locations of the visible slices within the range as well as the number of values that can be read from the pointer.

◆ getSlices()

const double* pqMultiSliceAxisWidget::getSlices ( int nbSlices) const

Returns the locations for all slices (visible or otherwise).

◆ updateSlices()

void pqMultiSliceAxisWidget::updateSlices ( double values,
bool *  visibility,
int  numberOfValues 
)

Update our internal model to reflect the proxy state.

◆ SetActiveSize()

void pqMultiSliceAxisWidget::SetActiveSize ( int  size)

The active size define the number of pixel that are going to be used for the slider handle.

◆ SetEdgeMargin()

void pqMultiSliceAxisWidget::SetEdgeMargin ( int  margin)

The margin used on the side of the Axis.

◆ renderView

void pqMultiSliceAxisWidget::renderView ( )
slot

◆ sliceAdded

void pqMultiSliceAxisWidget::sliceAdded ( int  index)
signal

Signal emitted when the model has changed internally.

◆ sliceRemoved

void pqMultiSliceAxisWidget::sliceRemoved ( int  index)
signal

◆ sliceModified

void pqMultiSliceAxisWidget::sliceModified ( int  index)
signal

◆ markClicked

void pqMultiSliceAxisWidget::markClicked ( int  button,
int  modifier,
double  value 
)
signal

Signal emitted when a mark is clicked.

The value is inside the provided range

◆ titleChanged

void pqMultiSliceAxisWidget::titleChanged ( const QString &  )
signal

◆ scene()

vtkContextScene* pqMultiSliceAxisWidget::scene ( ) const
protected

◆ invalidateCallback()

void pqMultiSliceAxisWidget::invalidateCallback ( vtkObject ,
unsigned  long,
void *   
)
protected

Internal VTK callback used to emit the modelUpdated() signal.

◆ onMarkClicked()

void pqMultiSliceAxisWidget::onMarkClicked ( vtkObject ,
unsigned  long,
void *   
)
protected

Internal VTK callback used to emit markClicked(...) signale.

Property Documentation

◆ title

QString pqMultiSliceAxisWidget::title
readwrite

Definition at line 19 of file pqMultiSliceAxisWidget.h.


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