casa  5.7.0-16
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Signals | Public Member Functions | Static Public Attributes | Protected Member Functions | Private Types | Private Slots | Private Member Functions | Private Attributes | List of all members
casa::AnimatorHolder Class Reference

Manages the Animator display on the viewer that allows users to scroll through either the channels withen an image or between loaded images. More...

#include <AnimatorHolder.qo.h>

Inheritance diagram for casa::AnimatorHolder:
casa::InActiveDock

Signals

void setChannelMode ()
 

animation for channels


More...
 
void goToChannel (int channel)
 
void channelNumEdited (int frame)
 
void selectChannel (int channel)
 
void channelMovieState (int currentFrame, bool direction, int stepSize, int frameStart, int frameEnd)
 
void setChannelMovieRate (int frame)
 void stopChannelMovie(); More...
 
void toChannelMovieStart ()
 
void revStepChannelMovie ()
 
void revPlayChannelMovie ()
 
void stopChannelMovie ()
 
void fwdStepChannelMovie ()
 
void fwdPlayChannelMovie ()
 
void toChannelMovieEnd ()
 
void setImageMode (bool channelCubes)
 

animation for images


More...
 
void goToImage (int image)
 
void imageNumEdited (int frame)
 
void selectImage (int channel)
 
void imageMovieState (int currentFrame, bool direction, int stepSize, int frameStart, int frameEnd)
 
void stopImageMovie ()
 
void setImageMovieRate (int frame)
 
void toImageMovieStart ()
 
void revStepImageMovie ()
 
void revPlayImageMovie ()
 
void fwdStepImageMovie ()
 void stopImageMovie(); More...
 
void fwdPlayImageMovie ()
 
void toImageMovieEnd ()
 
void lowerBoundAnimatorImageChanged (int)
 
void upperBoundAnimatorImageChanged (int)
 
void stepSizeAnimatorImageChanged (int)
 
void lowerBoundAnimatorChannelChanged (int)
 
void upperBoundAnimatorChannelChanged (int)
 
void stepSizeAnimatorChannelChanged (int)
 
void animationImageChanged (int)
 

Public Member Functions

 AnimatorHolder (QtDisplayPanelGui *qdp, QWidget *parent=0)
 
void setFrameInformation (bool mode, int frm, int len)
 
void setRateInformation (bool mode, int minr, int maxr, int rate)
 
void setModeEnabled (int count)
 
void setChannelModeEnabled (int count, bool select=true)
 
int getRate (bool mode) const
 
int getLowerBoundChannel () const
 
int getUpperBoundChannel () const
 
int getChannelCount () const
 
int getImageCount () const
 
void setChannelZAxis (const QString &zAxisTite)
 
void foldChannel ()
 
void unfoldChannel ()
 
void foldImage ()
 
void unfoldImage ()
 
 ~AnimatorHolder ()
 
void dismiss ()
 
- Public Member Functions inherited from casa::InActiveDock
 InActiveDock (QWidget *parent=NULL)
 
virtual ~InActiveDock ()
 

Static Public Attributes

static const bool BLINK_MODE
 
static const bool NORMAL_MODE
 

Protected Member Functions

void closeEvent (QCloseEvent *event)
 

Private Types

enum  Mode {
  CHANNEL_MODE,
  IMAGE_MODE,
  CHANNEL_IMAGES_MODE,
  END_MODE
}
 

Private Slots

void gotochannel_p (int frame)
 
void setRateChannel (int frame)
 
void toStartChannel ()
 
void frameNumberEditedChannel (int frame)
 
void revStepChannel ()
 
void fwdPlayChannel ()
 
void revPlayChannel ()
 
void stopChannel ()
 
void fwdStepChannel ()
 
void toEndChannel ()
 
void upperBoundChangedChannel (int)
 
void lowerBoundChangedChannel (int)
 
void stepSizeChangedChannel (int)
 
void gotoimage_p (int frame)
 
void setRateImage (int frame)
 
void toStartImage ()
 
void frameNumberEditedImage (int frame)
 
void revStepImage ()
 
void revPlayImage ()
 
void stopImage ()
 
void fwdStepImage ()
 
void fwdPlayImage ()
 
void toEndImage ()
 
void lowerBoundChangedImage (int)
 
void upperBoundChangedImage (int)
 
void stepSizeChangedImage (int)
 
void modeChange ()
 
void handle_folding (bool visible)
 
void handle_visibility (bool)
 

Private Member Functions

void initChannel ()
 
void initImage ()
 
void sizeGroupBox (QGroupBox *)
 
int getAnimationCount () const
 
void addRemoveChannelAnimatorBasedOnFrameCount ()
 
int find_height () const
 
void modeChanged (Mode mode)
 
void changePalette (QGroupBox *box, QColor color)
 
void emitMovieChannels (bool direction)
 
void setSelected (bool mode)
 
void stopImagePlay ()
 Because the user can switch between image and channel mode by just pressing the play button, there must be a way to turn a previous play off if one was running. More...
 
void stopChannelPlay ()
 

Private Attributes

Mode previousMode
 
AnimatorWidgetanimatorChannel
 
AnimatorWidgetanimatorImage
 
QColor selectedColor
 
QColor backgroundColor
 
QtDisplayPanelGuipanel_
 
bool dismissed
 

Detailed Description

Manages the Animator display on the viewer that allows users to scroll through either the channels withen an image or between loaded images.

Definition at line 40 of file AnimatorHolder.qo.h.

Member Enumeration Documentation

Enumerator
CHANNEL_MODE 
IMAGE_MODE 
CHANNEL_IMAGES_MODE 
END_MODE 

Definition at line 184 of file AnimatorHolder.qo.h.

Constructor & Destructor Documentation

casa::AnimatorHolder::AnimatorHolder ( QtDisplayPanelGui qdp,
QWidget *  parent = 0 
)
casa::AnimatorHolder::~AnimatorHolder ( )

Member Function Documentation

void casa::AnimatorHolder::addRemoveChannelAnimatorBasedOnFrameCount ( )
private
void casa::AnimatorHolder::animationImageChanged ( int  )
signal
void casa::AnimatorHolder::changePalette ( QGroupBox *  box,
QColor  color 
)
private
void casa::AnimatorHolder::channelMovieState ( int  currentFrame,
bool  direction,
int  stepSize,
int  frameStart,
int  frameEnd 
)
signal
void casa::AnimatorHolder::channelNumEdited ( int  frame)
signal
void casa::AnimatorHolder::closeEvent ( QCloseEvent *  event)
protected
void casa::AnimatorHolder::dismiss ( )
void casa::AnimatorHolder::emitMovieChannels ( bool  direction)
private
int casa::AnimatorHolder::find_height ( ) const
private
void casa::AnimatorHolder::foldChannel ( )
void casa::AnimatorHolder::foldImage ( )
void casa::AnimatorHolder::frameNumberEditedChannel ( int  frame)
privateslot
void casa::AnimatorHolder::frameNumberEditedImage ( int  frame)
privateslot
void casa::AnimatorHolder::fwdPlayChannel ( )
privateslot
void casa::AnimatorHolder::fwdPlayChannelMovie ( )
signal
void casa::AnimatorHolder::fwdPlayImage ( )
privateslot
void casa::AnimatorHolder::fwdPlayImageMovie ( )
signal
void casa::AnimatorHolder::fwdStepChannel ( )
privateslot
void casa::AnimatorHolder::fwdStepChannelMovie ( )
signal
void casa::AnimatorHolder::fwdStepImage ( )
privateslot
void casa::AnimatorHolder::fwdStepImageMovie ( )
signal
int casa::AnimatorHolder::getAnimationCount ( ) const
private
int casa::AnimatorHolder::getChannelCount ( ) const
int casa::AnimatorHolder::getImageCount ( ) const
int casa::AnimatorHolder::getLowerBoundChannel ( ) const
int casa::AnimatorHolder::getRate ( bool  mode) const
int casa::AnimatorHolder::getUpperBoundChannel ( ) const
void casa::AnimatorHolder::goToChannel ( int  channel)
signal
void casa::AnimatorHolder::gotochannel_p ( int  frame)
privateslot
void casa::AnimatorHolder::goToImage ( int  image)
signal
void casa::AnimatorHolder::gotoimage_p ( int  frame)
privateslot
void casa::AnimatorHolder::handle_folding ( bool  visible)
privateslot
void casa::AnimatorHolder::handle_visibility ( bool  )
privateslot
void casa::AnimatorHolder::imageMovieState ( int  currentFrame,
bool  direction,
int  stepSize,
int  frameStart,
int  frameEnd 
)
signal
void casa::AnimatorHolder::imageNumEdited ( int  frame)
signal
void casa::AnimatorHolder::initChannel ( )
private
void casa::AnimatorHolder::initImage ( )
private
void casa::AnimatorHolder::lowerBoundAnimatorChannelChanged ( int  )
signal
void casa::AnimatorHolder::lowerBoundAnimatorImageChanged ( int  )
signal
void casa::AnimatorHolder::lowerBoundChangedChannel ( int  )
privateslot
void casa::AnimatorHolder::lowerBoundChangedImage ( int  )
privateslot
void casa::AnimatorHolder::modeChange ( )
privateslot
void casa::AnimatorHolder::modeChanged ( Mode  mode)
private
void casa::AnimatorHolder::revPlayChannel ( )
privateslot
void casa::AnimatorHolder::revPlayChannelMovie ( )
signal
void casa::AnimatorHolder::revPlayImage ( )
privateslot
void casa::AnimatorHolder::revPlayImageMovie ( )
signal
void casa::AnimatorHolder::revStepChannel ( )
privateslot
void casa::AnimatorHolder::revStepChannelMovie ( )
signal
void casa::AnimatorHolder::revStepImage ( )
privateslot
void casa::AnimatorHolder::revStepImageMovie ( )
signal
void casa::AnimatorHolder::selectChannel ( int  channel)
signal
void casa::AnimatorHolder::selectImage ( int  channel)
signal
void casa::AnimatorHolder::setChannelMode ( )
signal


animation for channels


void casa::AnimatorHolder::setChannelModeEnabled ( int  count,
bool  select = true 
)
void casa::AnimatorHolder::setChannelMovieRate ( int  frame)
signal
void casa::AnimatorHolder::setChannelZAxis ( const QString &  zAxisTite)
void casa::AnimatorHolder::setFrameInformation ( bool  mode,
int  frm,
int  len 
)
void casa::AnimatorHolder::setImageMode ( bool  channelCubes)
signal


animation for images


void casa::AnimatorHolder::setImageMovieRate ( int  frame)
signal
void casa::AnimatorHolder::setModeEnabled ( int  count)
void casa::AnimatorHolder::setRateChannel ( int  frame)
privateslot
void casa::AnimatorHolder::setRateImage ( int  frame)
privateslot
void casa::AnimatorHolder::setRateInformation ( bool  mode,
int  minr,
int  maxr,
int  rate 
)
void casa::AnimatorHolder::setSelected ( bool  mode)
private
void casa::AnimatorHolder::sizeGroupBox ( QGroupBox *  )
private
void casa::AnimatorHolder::stepSizeAnimatorChannelChanged ( int  )
signal
void casa::AnimatorHolder::stepSizeAnimatorImageChanged ( int  )
signal
void casa::AnimatorHolder::stepSizeChangedChannel ( int  )
privateslot
void casa::AnimatorHolder::stepSizeChangedImage ( int  )
privateslot
void casa::AnimatorHolder::stopChannel ( )
privateslot
void casa::AnimatorHolder::stopChannelMovie ( )
signal
void casa::AnimatorHolder::stopChannelPlay ( )
private
void casa::AnimatorHolder::stopImage ( )
privateslot
void casa::AnimatorHolder::stopImageMovie ( )
signal
void casa::AnimatorHolder::stopImagePlay ( )
private

Because the user can switch between image and channel mode by just pressing the play button, there must be a way to turn a previous play off if one was running.

The following two methods do that.

void casa::AnimatorHolder::toChannelMovieEnd ( )
signal
void casa::AnimatorHolder::toChannelMovieStart ( )
signal
void casa::AnimatorHolder::toEndChannel ( )
privateslot
void casa::AnimatorHolder::toEndImage ( )
privateslot
void casa::AnimatorHolder::toImageMovieEnd ( )
signal
void casa::AnimatorHolder::toImageMovieStart ( )
signal
void casa::AnimatorHolder::toStartChannel ( )
privateslot
void casa::AnimatorHolder::toStartImage ( )
privateslot
void casa::AnimatorHolder::unfoldChannel ( )
void casa::AnimatorHolder::unfoldImage ( )
void casa::AnimatorHolder::upperBoundAnimatorChannelChanged ( int  )
signal
void casa::AnimatorHolder::upperBoundAnimatorImageChanged ( int  )
signal
void casa::AnimatorHolder::upperBoundChangedChannel ( int  )
privateslot
void casa::AnimatorHolder::upperBoundChangedImage ( int  )
privateslot

Member Data Documentation

AnimatorWidget* casa::AnimatorHolder::animatorChannel
private

Definition at line 197 of file AnimatorHolder.qo.h.

AnimatorWidget* casa::AnimatorHolder::animatorImage
private

Definition at line 198 of file AnimatorHolder.qo.h.

QColor casa::AnimatorHolder::backgroundColor
private

Definition at line 200 of file AnimatorHolder.qo.h.

const bool casa::AnimatorHolder::BLINK_MODE
static

Definition at line 44 of file AnimatorHolder.qo.h.

bool casa::AnimatorHolder::dismissed
private

Definition at line 204 of file AnimatorHolder.qo.h.

const bool casa::AnimatorHolder::NORMAL_MODE
static

Definition at line 45 of file AnimatorHolder.qo.h.

QtDisplayPanelGui* casa::AnimatorHolder::panel_
private

Definition at line 202 of file AnimatorHolder.qo.h.

Mode casa::AnimatorHolder::previousMode
private

Definition at line 196 of file AnimatorHolder.qo.h.

QColor casa::AnimatorHolder::selectedColor
private

Definition at line 199 of file AnimatorHolder.qo.h.


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