Biomedical Image Analysis Library
The Biomedical Image Analysis Library is a poweful tool for developers, physicians, researchers, engineers, and so on.
DisplayFormat Class Referenceabstract

#include <displayformat.h>

Inheritance diagram for DisplayFormat:
Inheritance graph
Collaboration diagram for DisplayFormat:
Collaboration graph

Signals

void updated ()
 

Public Member Functions

 DisplayFormat (QObject *parent)
 
 ~DisplayFormat ()
 
Modality modality () const
 
Layout currentLayout () const
 
virtual void setCurrentLayout (const Layout &currentLayout)
 
Views currentViews () const
 
virtual void setCurrentViews (const Views &currentViews)
 
bool hasViewerControls () const
 
bool enableTools () const
 
bool rotateAll () const
 
bool rotateSingle () const
 
bool hasOverlay () const
 
bool showNiftiViews () const
 
bool showNiftiAxis () const
 
bool showOrientation () const
 
bool showPpmViews () const
 
bool showPpmChannels () const
 
bool overlay () const
 
void setOverlay (bool overlay)
 
void toggleOverlay ()
 
bool hasLayout () const
 
bool has3Views () const
 
bool has4Views () const
 
std::array< bool, 4 > getViews ()
 
int getNumberOfViews () const
 
virtual void setNumberOfViews (int numberOfViews)=0
 
QColor overlayColor () const
 
void setOverlayColor (const QColor &overlayColor)
 
size_t getMaximumNumberOfViews () const
 

Protected Member Functions

void loadSettings ()
 

Protected Attributes

Modality m_modality
 
Layout m_currentLayout
 
Views m_currentViews
 
bool m_overlay
 
bool m_hasViewerControls
 
bool m_enableTools
 
bool m_rotateAll
 
bool m_rotateSingle
 
bool m_hasOverlay
 
bool m_hasLayout
 
bool m_has3Views
 
bool m_has4Views
 
bool m_showNiftiViews
 
bool m_showNiftiAxis
 
bool m_showOrientation
 
bool m_showPpmViews
 
bool m_showPpmChannels
 
Views defaultViews
 
int m_numberOfViews
 
size_t m_maximumNumberOfViews
 
QColor m_overlayColor
 

Detailed Description

Definition at line 13 of file displayformat.h.

Constructor & Destructor Documentation

DisplayFormat::DisplayFormat ( QObject *  parent)
explicit

Definition at line 79 of file displayformat.cpp.

DisplayFormat::~DisplayFormat ( )

Definition at line 83 of file displayformat.cpp.

Member Function Documentation

Layout DisplayFormat::currentLayout ( ) const

Definition at line 132 of file displayformat.cpp.

Views DisplayFormat::currentViews ( ) const

Definition at line 135 of file displayformat.cpp.

bool DisplayFormat::enableTools ( ) const

Definition at line 141 of file displayformat.cpp.

size_t DisplayFormat::getMaximumNumberOfViews ( ) const

Definition at line 125 of file displayformat.cpp.

int DisplayFormat::getNumberOfViews ( ) const

Definition at line 188 of file displayformat.cpp.

std::array< bool, 4 > DisplayFormat::getViews ( )

Definition at line 178 of file displayformat.cpp.

bool DisplayFormat::has3Views ( ) const

Definition at line 171 of file displayformat.cpp.

bool DisplayFormat::has4Views ( ) const

Definition at line 174 of file displayformat.cpp.

bool DisplayFormat::hasLayout ( ) const

Definition at line 168 of file displayformat.cpp.

bool DisplayFormat::hasOverlay ( ) const

Definition at line 150 of file displayformat.cpp.

bool DisplayFormat::hasViewerControls ( ) const

Definition at line 138 of file displayformat.cpp.

void DisplayFormat::loadSettings ( )
protected

Definition at line 93 of file displayformat.cpp.

Modality DisplayFormat::modality ( ) const

Definition at line 129 of file displayformat.cpp.

bool DisplayFormat::overlay ( ) const

Definition at line 201 of file displayformat.cpp.

QColor DisplayFormat::overlayColor ( ) const

Definition at line 192 of file displayformat.cpp.

bool DisplayFormat::rotateAll ( ) const

Definition at line 144 of file displayformat.cpp.

bool DisplayFormat::rotateSingle ( ) const

Definition at line 147 of file displayformat.cpp.

void DisplayFormat::setCurrentLayout ( const Layout currentLayout)
virtual

Definition at line 205 of file displayformat.cpp.

void DisplayFormat::setCurrentViews ( const Views currentViews)
virtual

Definition at line 211 of file displayformat.cpp.

virtual void DisplayFormat::setNumberOfViews ( int  numberOfViews)
pure virtual

Implemented in RGB2DFormat, BW3DFormat, and BW2DFormat.

void DisplayFormat::setOverlay ( bool  overlay)

Definition at line 220 of file displayformat.cpp.

void DisplayFormat::setOverlayColor ( const QColor &  overlayColor)

Definition at line 196 of file displayformat.cpp.

bool DisplayFormat::showNiftiAxis ( ) const

Definition at line 156 of file displayformat.cpp.

bool DisplayFormat::showNiftiViews ( ) const

Definition at line 153 of file displayformat.cpp.

bool DisplayFormat::showOrientation ( ) const

Definition at line 159 of file displayformat.cpp.

bool DisplayFormat::showPpmChannels ( ) const

Definition at line 165 of file displayformat.cpp.

bool DisplayFormat::showPpmViews ( ) const

Definition at line 162 of file displayformat.cpp.

void DisplayFormat::toggleOverlay ( )

Definition at line 228 of file displayformat.cpp.

void DisplayFormat::updated ( )
signal

Member Data Documentation

Views DisplayFormat::defaultViews
protected

Definition at line 96 of file displayformat.h.

Layout DisplayFormat::m_currentLayout
protected

Definition at line 74 of file displayformat.h.

Views DisplayFormat::m_currentViews
protected

Definition at line 75 of file displayformat.h.

bool DisplayFormat::m_enableTools
protected

Definition at line 81 of file displayformat.h.

bool DisplayFormat::m_has3Views
protected

Definition at line 87 of file displayformat.h.

bool DisplayFormat::m_has4Views
protected

Definition at line 88 of file displayformat.h.

bool DisplayFormat::m_hasLayout
protected

Definition at line 86 of file displayformat.h.

bool DisplayFormat::m_hasOverlay
protected

Definition at line 85 of file displayformat.h.

bool DisplayFormat::m_hasViewerControls
protected

Definition at line 80 of file displayformat.h.

size_t DisplayFormat::m_maximumNumberOfViews
protected

Definition at line 98 of file displayformat.h.

Modality DisplayFormat::m_modality
protected

Definition at line 73 of file displayformat.h.

int DisplayFormat::m_numberOfViews
protected

Definition at line 97 of file displayformat.h.

bool DisplayFormat::m_overlay
protected

Definition at line 78 of file displayformat.h.

QColor DisplayFormat::m_overlayColor
protected

Definition at line 99 of file displayformat.h.

bool DisplayFormat::m_rotateAll
protected

Definition at line 82 of file displayformat.h.

bool DisplayFormat::m_rotateSingle
protected

Definition at line 83 of file displayformat.h.

bool DisplayFormat::m_showNiftiAxis
protected

Definition at line 91 of file displayformat.h.

bool DisplayFormat::m_showNiftiViews
protected

Definition at line 90 of file displayformat.h.

bool DisplayFormat::m_showOrientation
protected

Definition at line 92 of file displayformat.h.

bool DisplayFormat::m_showPpmChannels
protected

Definition at line 94 of file displayformat.h.

bool DisplayFormat::m_showPpmViews
protected

Definition at line 93 of file displayformat.h.


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