Fraxinus
16.5.0-fx-rc9
An IGT application
|
Display an image slice in 2D. More...
#include <cxSlicerRepSW.h>
Public Member Functions | |
virtual | ~SliceRepSW () |
virtual QString | getType () const |
bool | hasImage (ImagePtr image) const |
void | setImage (ImagePtr image) |
ImagePtr | getImage () |
vtkImageActorPtr | getActor () |
void | setSliceProxy (SliceProxyInterfacePtr slicer) |
QString | getImageUid () const |
void | update () |
virtual void | printSelf (std::ostream &os, Indent indent) |
Public Member Functions inherited from cx::RepImpl | |
RepImpl (const QString &uid="", const QString &name="") | |
virtual | ~RepImpl () |
virtual void | connectToView (ViewPtr theView) |
virtual void | disconnectFromView (ViewPtr theView) |
virtual bool | isConnectedToView (ViewPtr theView) const |
void | setName (QString name) |
QString | getName () const |
QString | getUid () const |
Public Member Functions inherited from cx::Rep | |
virtual | ~Rep () |
Static Public Member Functions | |
static SliceRepSWPtr | New (const QString &uid="") |
Static Public Member Functions inherited from cx::RepImpl | |
template<class REP > | |
static boost::shared_ptr< REP > | wrap_new (REP *object, QString uid) |
Protected Member Functions | |
SliceRepSW () | |
virtual void | addRepActorsToViewRenderer (ViewPtr view) |
virtual void | removeRepActorsFromViewRenderer (ViewPtr view) |
Protected Member Functions inherited from cx::RepImpl | |
ViewPtr | getView () const |
vtkRendererPtr | getRenderer () |
RepPtr | getSelf () |
virtual void | onModifiedStartRender () |
Additional Inherited Members | |
Protected Slots inherited from cx::RepImpl | |
void | setModified () |
Display an image slice in 2D.
The image is sliced using a SliceProxy. Only a single volume can be used.
Used by CustusX.
Definition at line 61 of file cxSlicerRepSW.h.
|
virtual |
Definition at line 58 of file cxSlicerRepSW.cpp.
|
protected |
Definition at line 49 of file cxSlicerRepSW.cpp.
|
protectedvirtual |
Implements cx::RepImpl.
Definition at line 97 of file cxSlicerRepSW.cpp.
vtkImageActorPtr cx::SliceRepSW::getActor | ( | ) |
Definition at line 72 of file cxSlicerRepSW.cpp.
ImagePtr cx::SliceRepSW::getImage | ( | ) |
Definition at line 67 of file cxSlicerRepSW.cpp.
QString cx::SliceRepSW::getImageUid | ( | ) | const |
Definition at line 87 of file cxSlicerRepSW.cpp.
|
inlinevirtual |
Implements cx::RepImpl.
Definition at line 67 of file cxSlicerRepSW.h.
bool cx::SliceRepSW::hasImage | ( | ImagePtr | image | ) | const |
Definition at line 107 of file cxSlicerRepSW.cpp.
|
static |
Definition at line 62 of file cxSlicerRepSW.cpp.
|
virtual |
Reimplemented from cx::RepImpl.
Definition at line 117 of file cxSlicerRepSW.cpp.
|
protectedvirtual |
Implements cx::RepImpl.
Definition at line 102 of file cxSlicerRepSW.cpp.
void cx::SliceRepSW::setImage | ( | ImagePtr | image | ) |
This method set the image, that has all the information in it self. color, brigthness, contrast, etc...
Definition at line 80 of file cxSlicerRepSW.cpp.
void cx::SliceRepSW::setSliceProxy | ( | SliceProxyInterfacePtr | slicer | ) |
Definition at line 92 of file cxSlicerRepSW.cpp.
void cx::SliceRepSW::update | ( | ) |
Definition at line 112 of file cxSlicerRepSW.cpp.