![]() |
CustusX
22.09
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) |
![]() | |
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 |
![]() | |
virtual | ~Rep () |
Static Public Member Functions | |
static SliceRepSWPtr | New (const QString &uid="") |
![]() | |
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) |
![]() | |
ViewPtr | getView () const |
vtkRendererPtr | getRenderer () |
RepPtr | getSelf () |
virtual void | onModifiedStartRender () |
virtual void | onEveryRender () |
Additional Inherited Members | |
![]() | |
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 40 of file cxSlicerRepSW.h.
|
virtual |
Definition at line 37 of file cxSlicerRepSW.cpp.
|
protected |
Definition at line 28 of file cxSlicerRepSW.cpp.
|
protectedvirtual |
Implements cx::RepImpl.
Definition at line 76 of file cxSlicerRepSW.cpp.
vtkImageActorPtr cx::SliceRepSW::getActor | ( | ) |
Definition at line 51 of file cxSlicerRepSW.cpp.
ImagePtr cx::SliceRepSW::getImage | ( | ) |
Definition at line 46 of file cxSlicerRepSW.cpp.
QString cx::SliceRepSW::getImageUid | ( | ) | const |
Definition at line 66 of file cxSlicerRepSW.cpp.
|
inlinevirtual |
Implements cx::RepImpl.
Definition at line 46 of file cxSlicerRepSW.h.
bool cx::SliceRepSW::hasImage | ( | ImagePtr | image | ) | const |
Definition at line 86 of file cxSlicerRepSW.cpp.
|
static |
Definition at line 41 of file cxSlicerRepSW.cpp.
|
virtual |
Reimplemented from cx::RepImpl.
Definition at line 96 of file cxSlicerRepSW.cpp.
|
protectedvirtual |
Implements cx::RepImpl.
Definition at line 81 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 59 of file cxSlicerRepSW.cpp.
void cx::SliceRepSW::setSliceProxy | ( | SliceProxyInterfacePtr | slicer | ) |
Definition at line 71 of file cxSlicerRepSW.cpp.
void cx::SliceRepSW::update | ( | ) |
Definition at line 91 of file cxSlicerRepSW.cpp.