#include <SlicerMulti.h>
Inheritance diagram for SlicerMulti:
Definition at line 27 of file SlicerMulti.h.
Text object-name | |
from SimBase | |
std::string | getObjName () |
std::string | getName () |
void | setName (std::string name) |
void | setName (const char *name) |
Debug prints | |
from SimBase: These print the object name with the error, mostly for convenience, but they are compiled to inline-no-op if you build in release mode | |
void | derr (const char *when, const char *where=0) const |
template<class T> void | derr (const char *when, const char *where, const T stuff) const |
Modification, AKA "changed" | |
from SimBase: id based, you can capture the current id for comparison later, if the id's don't match the class has been changed | |
virtual int | getChangeID () |
virtual int | getChangeID () const |
virtual void | setChanged () |
Serialization: | |
from SimBase You MUST override these pure virtual functions, they "should" do something usefull. It is also nice if you declare a static std::istream &create(std::istream &is) const; function, to create a class from a stream. This is done on a per-concrete class basis.
These aren't pure virutal yet, but will be soon! | |
virtual std::ostream & | saveSelf (std::ostream &os) |
serialize | |
virtual std::istream & | readSelf (std::istream &is) |
unserialize | |
Public Types | |
enum | FILTERS { NEAREST, BILIN, BICUBE, BSPLINE } |
Public Slots | |
virtual void | setVolume (VolumeSP vol) |
setVolume | |
virtual void | setNrro (NrroSP n) |
Set Nrro. | |
Signals | |
void | volumeChanged (VolumeSP vol) |
void | probePosChanged (int xp, int yp, int zp) |
void | filterChanged (int filt) |
Public Member Functions | |
SlicerMulti (QWidget *parent=0, const char *name=0, WFlags wf=0) | |
construct | |
virtual | ~SlicerMulti () |
Protected Slots | |
void | saveImage () |
save image | |
void | openNrrd () |
void | insertNrrd () |
void | setProbePos (int xp, int yp, int zp) |
void | setNearest () |
void | setBiLin () |
void | setBiCube () |
void | setBSpline () |
Protected Member Functions | |
virtual void | confSliceView () |
configure slice view | |
virtual void | confMenu () |
configure menu | |
virtual void | keyPressEvent (QKeyEvent *key) |
Key Press Event. | |
Protected Attributes | |
QWidget * | _qcentral |
main widget to add stuff to | |
VolumeSP | _vol |
volume being sliced | |
SlicerInfo * | _sliceInfo |
std::string | _name_ |
a text name for the object, SimBase | |
int | _changed |
change id, incremented whenever setChanged is called, SimBase |
|
Definition at line 51 of file SlicerBase.h. |
|
construct
Definition at line 35 of file SlicerMulti.cpp. References SlicerBase::_qcentral, SlicerBase::confMenu(), confSliceView(), and name. |
|
Definition at line 31 of file SlicerMulti.h. |
|
configure menu let's have a menu bar standard file stuff image bar sampling Definition at line 156 of file SlicerBase.cpp. References file, SlicerBase::insertNrrd(), SlicerBase::openNrrd(), SlicerBase::saveImage(), SlicerBase::setBiCube(), SlicerBase::setBiLin(), SlicerBase::setBSpline(), and SlicerBase::setNearest(). Referenced by SlicerBase::SlicerBase(), and SlicerMulti(). |
|
configure slice view X axis view Z axis view Y axis view create the info widget now for spagettii connect them all together! Reimplemented from SlicerBase. Definition at line 69 of file SlicerMulti.cpp. References SlicerBase::_qcentral, SlicerBase::_sliceInfo, gutz::connect(), SlicerBase::filterChanged(), SlicerBase::probePosChanged(), SlicerWidget::setAxis(), SlicerBase::setProbePos(), setVolume(), SlicerBase::volumeChanged(), SlicerWidget::X_AXIS, SlicerWidget::Y_AXIS, and SlicerWidget::Z_AXIS. Referenced by SlicerMulti(). |
|
only prints in debug mode, -D_DEBUG Definition at line 130 of file simBase.h. References SimBase::_name_. |
|
|
Referenced by confSliceView(), SlicerBase::confSliceView(), SlicerBase::setBiCube(), SlicerBase::setBiLin(), SlicerBase::setBSpline(), and SlicerBase::setNearest(). |
|
Definition at line 73 of file simBase.h. References SimBase::_changed. |
|
Reimplemented in TFGeneric, TFBaseSP, and TFEltSP. Definition at line 72 of file simBase.h. References SimBase::_changed. Referenced by TFEltSP::getChangeID(), TFBaseSP::getChangeID(), and TFGeneric::getChangeID(). |
|
Definition at line 45 of file simBase.h. References SimBase::_name_. Referenced by MetaProg::operator<<(). |
|
Definition at line 44 of file simBase.h. References string. |
|
Definition at line 127 of file SlicerBase.cpp. References SlicerBase::_vol, gutz::SmartPtr< Volume >::isNull(), n, openNrroQT(), and SlicerBase::setVolume(). Referenced by SlicerBase::confMenu(). |
|
Key Press Event.
Definition at line 207 of file SlicerBase.cpp. |
|
Definition at line 121 of file SlicerBase.cpp. References n, openNrroQT(), and SlicerBase::setNrro(). Referenced by SlicerBase::confMenu(). |
|
Referenced by confSliceView(), and SlicerBase::setProbePos(). |
|
unserialize
Reimplemented in SimCore, and VolRenBase. |
|
save image
Definition at line 116 of file SlicerBase.cpp. Referenced by SlicerBase::confMenu(). |
|
serialize
Reimplemented in SimCore, and VolRenBase. |
|
Definition at line 72 of file SlicerBase.h. References SlicerBase::BICUBE, and SlicerBase::filterChanged(). Referenced by SlicerBase::confMenu(). |
|
Definition at line 71 of file SlicerBase.h. References SlicerBase::BILIN, and SlicerBase::filterChanged(). Referenced by SlicerBase::confMenu(). |
|
Definition at line 73 of file SlicerBase.h. References SlicerBase::BSPLINE, and SlicerBase::filterChanged(). Referenced by SlicerBase::confMenu(). |
|
Definition at line 74 of file simBase.h. References SimBase::_changed. Referenced by TFEltSP::getChangeID(), TFBaseSP::getChangeID(), TFBaseSP::operator=(), and TFGeneric::update(). |
|
Definition at line 47 of file simBase.h. References SimBase::_name_, and name. |
|
Reimplemented in Key. Definition at line 46 of file simBase.h. References SimBase::_name_, and name. Referenced by EventData::EventData(), and GenDataObj_base< Nrro, gutz::SmartPtr< Nrro > >::GenDataObj_base(). |
|
Definition at line 70 of file SlicerBase.h. References SlicerBase::filterChanged(), and SlicerBase::NEAREST. Referenced by SlicerBase::confMenu(). |
|
Set Nrro.
Definition at line 89 of file SlicerBase.cpp. References SlicerBase::_vol, gutz::SmartPtr< Volume >::isNull(), n, and SlicerBase::setVolume(). Referenced by SlicerBase::openNrrd(). |
|
Definition at line 80 of file SlicerBase.cpp. References SlicerBase::probePosChanged(). Referenced by confSliceView(). |
|
setVolume
Reimplemented from SlicerBase. Definition at line 52 of file SlicerMulti.cpp. References SlicerBase::_vol, gutz::SmartPtr< Volume >::isNull(), and SlicerBase::volumeChanged(). Referenced by confSliceView(). |
|
Referenced by confSliceView(), SlicerBase::confSliceView(), setVolume(), and SlicerBase::setVolume(). |
|
change id, incremented whenever setChanged is called, SimBase
Definition at line 103 of file simBase.h. Referenced by SimBase::getChangeID(), SimBase::setChanged(), and SimBase::SimBase(). |
|
a text name for the object, SimBase
Definition at line 101 of file simBase.h. Referenced by SimBase::derr(), SimBase::getName(), SimBase::setName(), and SimBase::SimBase(). |
|
main widget to add stuff to
Definition at line 91 of file SlicerBase.h. Referenced by confSliceView(), SlicerBase::confSliceView(), SlicerBase::SlicerBase(), and SlicerMulti(). |
|
Definition at line 97 of file SlicerBase.h. Referenced by confSliceView(). |
|
volume being sliced
Definition at line 95 of file SlicerBase.h. Referenced by SlicerBase::insertNrrd(), SlicerBase::setNrro(), setVolume(), and SlicerBase::setVolume(). |