#include <IRoCSChannelSpecs.hh>
|
| IRoCSChannelSpecs (atb::IRoCS *rct, MultiChannelModel *model=NULL) |
|
| ~IRoCSChannelSpecs () |
|
ChannelSpecsRenderer * | addRenderer (ViewWidget *view) |
|
float | alpha () const |
|
QWidget * | channelControlWidget () const |
|
ChannelSpecs::ChannelType | channelType () const |
|
blitz::TinyVector< float, 3 > | color () const |
|
blitz::TinyVector< double, 3 > const & | elementSizeUm () const |
|
bool | hasNewData () const |
|
QIcon | icon () const |
|
void | load (const std::string &fileName, const std::string &group) |
|
blitz::TinyVector< double, 3 > const & | lowerBoundUm () const |
|
MultiChannelModel * | model () const |
|
std::string | name () const |
|
atb::IRoCS * | rct () |
|
void | removeRenderer (ViewWidget *view) |
|
ChannelSpecsRenderer * | renderer (ViewWidget *view) const |
|
std::map< ViewWidget *, ChannelSpecsRenderer * > const & | renderers () const |
|
std::map< ViewWidget *, ChannelSpecsRenderer * > & | renderers () |
|
void | save (const std::string &fileName, const std::string &group) |
|
void | setModel (MultiChannelModel *model) |
|
std::string | stringValueAt (blitz::TinyVector< double, 3 > const &positionUm) const |
|
virtual blitz::TinyMatrix< double, 4, 4 > const & | transformation () const |
|
bool | updatesEnabled () const |
| Check whether cache updates for this channel are enabled. More...
|
|
blitz::TinyVector< double, 3 > const & | upperBoundUm () const |
|
float | valueAt (blitz::TinyVector< double, 3 > const &positionUm) const |
|
bool | visible () const |
|
|
static ChannelTypes const | Any |
|
|
void | emitUpdateRequest () |
| This function sets the hasNewData flag for this channel to true, to inform the renderers that this channel has new data and possibly cached values are invalid. More...
|
|
Definition at line 38 of file IRoCSChannelSpecs.hh.
◆ ChannelType
Enumerator |
---|
Data | |
Visualization | |
RGB | |
Annotation | |
SplineCurve | |
IRoCS | |
IRoCSSCT | |
Definition at line 60 of file ChannelSpecs.hh.
◆ IRoCSChannelSpecs()
◆ ~IRoCSChannelSpecs()
IRoCSChannelSpecs::~IRoCSChannelSpecs |
( |
| ) |
|
◆ channelType()
◆ color()
blitz::TinyVector<float,3> IRoCSChannelSpecs::color |
( |
| ) |
const |
◆ valueAt()
float IRoCSChannelSpecs::valueAt |
( |
blitz::TinyVector< double, 3 > const & |
positionUm | ) |
const |
|
virtual |
◆ stringValueAt()
std::string IRoCSChannelSpecs::stringValueAt |
( |
blitz::TinyVector< double, 3 > const & |
positionUm | ) |
const |
|
virtual |
◆ addRenderer()
◆ lowerBoundUm()
blitz::TinyVector<double,3> const& IRoCSChannelSpecs::lowerBoundUm |
( |
| ) |
const |
|
virtual |
◆ upperBoundUm()
blitz::TinyVector<double,3> const& IRoCSChannelSpecs::upperBoundUm |
( |
| ) |
const |
|
virtual |
◆ elementSizeUm()
blitz::TinyVector<double,3> const& IRoCSChannelSpecs::elementSizeUm |
( |
| ) |
const |
|
virtual |
◆ load()
void IRoCSChannelSpecs::load |
( |
const std::string & |
fileName, |
|
|
const std::string & |
group |
|
) |
| |
◆ save()
void IRoCSChannelSpecs::save |
( |
const std::string & |
fileName, |
|
|
const std::string & |
group |
|
) |
| |
◆ rct()
◆ setColor
void IRoCSChannelSpecs::setColor |
( |
blitz::TinyVector< float, 3 > const & |
color | ) |
|
|
slot |
◆ updateChannelColor
void IRoCSChannelSpecs::updateChannelColor |
( |
| ) |
|
|
slot |
◆ setModel()
◆ model()
◆ name()
std::string ChannelSpecs::name |
( |
| ) |
const |
|
inherited |
◆ icon()
QIcon ChannelSpecs::icon |
( |
| ) |
const |
|
inherited |
◆ alpha()
float ChannelSpecs::alpha |
( |
| ) |
const |
|
inherited |
◆ visible()
bool ChannelSpecs::visible |
( |
| ) |
const |
|
inherited |
◆ hasNewData()
bool ChannelSpecs::hasNewData |
( |
| ) |
const |
|
inherited |
◆ transformation()
virtual blitz::TinyMatrix<double,4,4> const& ChannelSpecs::transformation |
( |
| ) |
const |
|
virtualinherited |
◆ channelControlWidget()
QWidget* ChannelSpecs::channelControlWidget |
( |
| ) |
const |
|
inherited |
◆ removeRenderer()
void ChannelSpecs::removeRenderer |
( |
ViewWidget * |
view | ) |
|
|
inherited |
◆ renderer()
◆ renderers() [1/2]
◆ renderers() [2/2]
◆ updatesEnabled()
bool ChannelSpecs::updatesEnabled |
( |
| ) |
const |
|
inherited |
Check whether cache updates for this channel are enabled.
- Returns
- true if cache updates are enabled, false otherwise
◆ setName
void ChannelSpecs::setName |
( |
std::string const & |
name | ) |
|
|
slotinherited |
◆ setIcon
void ChannelSpecs::setIcon |
( |
QIcon const & |
icon | ) |
|
|
slotinherited |
◆ setAlpha
void ChannelSpecs::setAlpha |
( |
float |
alpha | ) |
|
|
slotinherited |
◆ setVisible
void ChannelSpecs::setVisible |
( |
bool |
visible | ) |
|
|
slotinherited |
◆ setHasNewData
void ChannelSpecs::setHasNewData |
( |
bool |
hasNewData | ) |
|
|
slotinherited |
◆ setTransformation
virtual void ChannelSpecs::setTransformation |
( |
blitz::TinyMatrix< double, 4, 4 > const & |
transformation | ) |
|
|
virtualslotinherited |
◆ setUpdatesEnabled
void ChannelSpecs::setUpdatesEnabled |
( |
bool |
enable | ) |
|
|
slotinherited |
Enables/Disables cache updates for this channel.
If you programmatically apply many subsequent changes to a channel like automatic marker insertion or property changes, disable cache updates, otherwise each operation triggers a cache update.
- Parameters
-
enable | true to enable cache updates, false to disable cache updates |
◆ update
void ChannelSpecs::update |
( |
| ) |
|
|
slotinherited |
Explicitely trigger a cache update for all associated renderers.
This is only necessary if updates were disabled and after all changes the cache has to be updated. If updates are disabled a call to this function is a noop.
◆ revalidate
virtual void ChannelSpecs::revalidate |
( |
| ) |
|
|
virtualslotinherited |
Reset the channel shape, element size, transformation and bounding box from the underlying data.
This method must be called whenever the underlying data were programmatically changed using the direct data access methods. If updates are enabled it will also do cache updates.
◆ boundingBoxChanged
void ChannelSpecs::boundingBoxChanged |
( |
blitz::TinyVector< double, 3 > const & |
lowerBoundUm, |
|
|
blitz::TinyVector< double, 3 > const & |
upperBoundUm |
|
) |
| |
|
signalinherited |
◆ iconChanged
void ChannelSpecs::iconChanged |
( |
| ) |
|
|
signalinherited |
◆ nameChanged
void ChannelSpecs::nameChanged |
( |
| ) |
|
|
signalinherited |
◆ transformationChanged
void ChannelSpecs::transformationChanged |
( |
| ) |
|
|
signalinherited |
◆ viewChanged
void ChannelSpecs::viewChanged |
( |
| ) |
|
|
signalinherited |
This signal is emitted whenever the contents or visualization of the channel are altered and an update of the views is required to reflect these changes.
The MultiChannelModel catches this SIGNAL, calls updateCache() and redraw() for all views and clears the hasNewData flag for all channels when the redraw has finished.
◆ emitUpdateRequest
void ChannelSpecs::emitUpdateRequest |
( |
| ) |
|
|
protectedslotinherited |
This function sets the hasNewData flag for this channel to true, to inform the renderers that this channel has new data and possibly cached values are invalid.
It also saves the current visibility state to _oldVisibilityState and emits a viewChanged() SIGNAL.
◆ IRoCSChannelSpecsOrthoViewRenderer
◆ Any
ChannelTypes const ChannelSpecs::Any |
|
staticinherited |
◆ p_model
◆ _renderers
◆ p_channelControlWidget
QWidget* ChannelSpecs::p_channelControlWidget |
|
protectedinherited |
◆ p_channelControlLayout
QFormLayout* ChannelSpecs::p_channelControlLayout |
|
protectedinherited |
◆ p_alphaControl
◆ p_visibleControl
◆ p_toggleAdvancedButton
QToolButton* ChannelSpecs::p_toggleAdvancedButton |
|
protectedinherited |
◆ p_advancedControlWidget
QWidget* ChannelSpecs::p_advancedControlWidget |
|
protectedinherited |
◆ p_advancedControlLayout
QFormLayout* ChannelSpecs::p_advancedControlLayout |
|
protectedinherited |
◆ p_transformationControl
◆ _oldVisibilityState
bool ChannelSpecs::_oldVisibilityState |
|
protectedinherited |
◆ _hasNewData
bool ChannelSpecs::_hasNewData |
|
protectedinherited |
◆ _lowerBoundUm
blitz::TinyVector<double,3> ChannelSpecs::_lowerBoundUm |
|
protectedinherited |
◆ _upperBoundUm
blitz::TinyVector<double,3> ChannelSpecs::_upperBoundUm |
|
protectedinherited |
◆ _elementSizeUm
blitz::TinyVector<double,3> ChannelSpecs::_elementSizeUm |
|
protectedinherited |
◆ _originalTransformation
blitz::TinyMatrix<double,4,4> ChannelSpecs::_originalTransformation |
|
protectedinherited |
◆ _transformation
blitz::TinyMatrix<double,4,4> ChannelSpecs::_transformation |
|
protectedinherited |
The documentation for this class was generated from the following file: