#include <ncutImage.h>
Inheritance diagram for ncut::BSISequence:
Public Member Functions | |
BSIImage * | operator[] (unsigned long) |
const BSIImage * | operator[] (unsigned long) const |
unsigned long | nSeg () const |
Get the number of segments in the sequence. | |
int | pushThrough (const Image< BSI_IMAGE_DATATYPE > &frame) |
Push a frame onto the sequence and pop the first frame. | |
int | pushThrough (const BSIImage &frame) |
Push a frame onto the sequence and pop the first frame. | |
int | pushFrame (const Image< BSI_IMAGE_DATATYPE > &frame) |
Push a frame to the back of the sequence. | |
int | pushFrame (const BSIImage &frame) |
Push a frame to the back of the sequence. | |
void | popFrame () |
Pop the last frame of the sequence. | |
int | clear () |
Remove all frames from the sequence. | |
BSISequence () | |
BSISequence empty constructor | |
BSISequence (const BSISequence &clone) | |
BSISequence copy constructor. | |
virtual | ~BSISequence () |
BSISequence destructor. | |
virtual BSISequence & | operator= (const BSISequence &clone) |
BSISequence assignment operator. | |
Protected Attributes | |
unsigned long | nSeg_ |
BSISequence
keeps track of the total number of segments in the sequence. Only images of type BSIImage
are allowed in a BSISequence
.
|
BSISequence empty constructor
Creates an empty |
|
BSISequence copy constructor.
|
|
Remove all frames from the sequence.
Reimplemented from ncut::Sequence< BSI_IMAGE_DATATYPE >. |
|
Get the number of segments in the sequence.
|
|
BSISequence assignment operator.
|
|
Pop the last frame of the sequence. Deletes the last frame and removes it from the sequence. This does nothing if the sequence is empty. Reimplemented from ncut::Sequence< BSI_IMAGE_DATATYPE >. |
|
Push a frame to the back of the sequence.
Image to the back of the sequence. The length of the sequence is increased by one. Only BSI images of the same dimension as all other images in the sequence are accepted. |
|
Push a frame to the back of the sequence.
Image to the back of the sequence. The length of the sequence is increased by one. Only BSI images of the same dimension as all other images in the sequence are accepted. frame is cast to a BSIImage .
Reimplemented from ncut::Sequence< BSI_IMAGE_DATATYPE >. |
|
Push a frame onto the sequence and pop the first frame.
Image onto the sequence and removes the first frame of the sequence. The length of the sequence remains unchanged. Only BSI images of the same dimension as all other images in the sequence are accepted. |
|
Push a frame onto the sequence and pop the first frame.
Image onto the sequence and removes the first frame of the sequence. The length of the sequence remains unchanged. Only BSI images of the same dimension as all other images in the sequence are accepted. frame is cast to a BSIImage .
Reimplemented from ncut::Sequence< BSI_IMAGE_DATATYPE >. |
|
The total number of segments in the sequence. |