Public Member Functions | |
DiOverlayPlane (const DiDocument *docu, const unsigned int group, Uint16 alloc) | |
constructor | |
DiOverlayPlane (const unsigned int group, const Sint16 left_pos, const Sint16 top_pos, const Uint16 columns, const Uint16 rows, const DcmOverlayData &data, const DcmLongString &label, const DcmLongString &description, const EM_Overlay mode) | |
constructor, additional | |
DiOverlayPlane (DiOverlayPlane *plane, const unsigned int bit, Uint16 *data, Uint16 *temp, const Uint16 width, const Uint16 height, const Uint16 columns, const Uint16 rows) | |
constructor, copy | |
~DiOverlayPlane () | |
destructor | |
Sint16 | getLeft (const Sint32 left_pos=0) const |
get x-coordinate of overlay plane origin | |
Sint16 | getTop (const Sint32 top_pos=0) const |
get y-coordinate of overlay plane origin | |
Uint16 | getWidth () const |
get width of overlay plane | |
Uint16 | getHeight () const |
get height of overlay plane | |
Uint16 | getRight (const Sint32 left_pos=0) const |
get right border of overlay plane origin | |
Uint16 | getBottom (const Sint32 top_pos=0) const |
get bottom border of overlay plane origin | |
int | isValid () const |
check whether overlay plane is valid | |
int | isVisible () const |
check whether overlay plane is visible | |
void | show () |
make overlay plane visible | |
void | hide () |
make overlay plane invisible | |
void | place (const signed int left_pos, const signed int top_pos) |
move overlay plane to a new place | |
void | setScaling (const double xfactor, const double yfactor) |
set scaling factor in x- and y-direction | |
void | setFlipping (const int horz, const int vert, const signed long columns, const signed long rows) |
set flipping | |
void | setRotation (const int degree, const signed long left_pos, const signed long top_pos, const Uint16 columns, const Uint16 rows) |
set rotation | |
void | show (const double fore, const double thresh, const EM_Overlay mode) |
make overlay plane visible and set parameters | |
int | show (const Uint16 pvalue) |
make overlay plane visible and set p-value. | |
unsigned long | getNumberOfFrames () const |
get number of frames | |
double | getForeground () const |
get foreground color of the plane | |
double | getThreshold () const |
get threshold value of the plane | |
Uint16 | getPValue () const |
get p-value of the plane. | |
EM_Overlay | getMode () const |
get overlay plane mode | |
int | isEmbedded () const |
check whether overlay plane is embedded in the pixel data | |
const char * | getLabel () const |
get label of overlay plane | |
const char * | getDescription () const |
get description of overlay plane | |
Uint16 | getGroupNumber () const |
get group number of overlay plane | |
void * | getData (const unsigned long frame, const Uint16 xmin, const Uint16 ymin, const Uint16 xmax, const Uint16 ymax, const int bits, const Uint16 fore, const Uint16 back) |
get overlay plane data as an array of 1/8/16 bit values. | |
unsigned long | create6xxx3000Data (Uint8 *&buffer, unsigned int &width, unsigned int &height, unsigned long &frames) |
create overlay plane data in (6xxx,3000) format. | |
int | reset (const unsigned long frame) |
reset internal 'cursor' to the beginning of the specified frame | |
int | getNextBit () |
get value of the current overlay plane bit and move 'cursor' to the next position | |
void | setStart (const Uint16 x, const Uint16 y) |
set internal 'cursor' to a specific position | |
Protected Attributes | |
Uint32 | NumberOfFrames |
number of frames | |
Uint16 | ImageFrameOrigin |
number of starting frame | |
Sint16 | Top |
y-coordinate of overlay plane's origin | |
Sint16 | Left |
x-coordinate of overlay plane's origin | |
Uint16 | Height |
visible height | |
Uint16 | Width |
visible width | |
Uint16 | Rows |
number of (stored) rows | |
Uint16 | Columns |
number of (stored) columns | |
Uint16 | BitsAllocated |
number of allocated bits per pixel | |
Uint16 | BitPosition |
position of overlay plane bit | |
double | Foreground |
"color" of overlay plane (in percent: '0.0' = dark, '1.0' = bright) | |
double | Threshold |
threshold value used for "threshold replace" | |
Uint16 | PValue |
P-value used for bitmap shutters. | |
EM_Overlay | Mode |
current overlay mode | |
EM_Overlay | DefaultMode |
default (stored) overlay mode | |
OFString | Label |
label of overlay plane | |
OFString | Description |
textual description of overlay plane | |
Uint16 | GroupNumber |
group number of overlay plane | |
int | Valid |
validity status | |
int | Visible |
visibility status | |
Private Member Functions | |
DiOverlayPlane (const DiOverlayPlane &) | |
DiOverlayPlane & | operator= (const DiOverlayPlane &) |
Private Attributes | |
unsigned long | BitPos |
current bit position | |
unsigned long | StartBitPos |
starting bit position of current frame | |
unsigned int | StartLeft |
x-coordinate of first pixel in surrounding memory buffer | |
unsigned int | StartTop |
y-coordinate of first pixel in surrounding memory buffer | |
int | EmbeddedData |
true, if overlay data in embedded in pixel data | |
const Uint16 * | Ptr |
pointer to current element of 'Data' | |
const Uint16 * | StartPtr |
pointer to starting element of current frame | |
const Uint16 * | Data |
pointer to overlay data (standalone) or pixel data (embedded) |
Definition at line 65 of file diovpln.h.
|
constructor
|
|
constructor, additional
|
|
constructor, copy
|
|
create overlay plane data in (6xxx,3000) format. (1 bit allocated and stored, foreground color is 1, background color is 0, data is 16 bit padded - even length) Memory isn't handled internally and must therefore be deleted from calling program.
|
|
get bottom border of overlay plane origin
Definition at line 184 of file diovpln.h. Referenced by DiMonoOutputPixelTemplate< T1, T2, T3 >::overlay(), and reset(). |
|
get overlay plane data as an array of 1/8/16 bit values. Overlay plane is clipped to the area specified by the four min/max coordinates. Memory isn't handled internally and must therefore be deleted from calling program.
|
|
get description of overlay plane
Definition at line 354 of file diovpln.h. References OFString::c_str(), Description, and OFString::empty(). |
|
get foreground color of the plane
Definition at line 299 of file diovpln.h. References Foreground. Referenced by DiMonoOutputPixelTemplate< T1, T2, T3 >::overlay(). |
|
get group number of overlay plane
Definition at line 363 of file diovpln.h. References GroupNumber. |
|
get height of overlay plane
Definition at line 161 of file diovpln.h. References Height. |
|
get label of overlay plane
Definition at line 345 of file diovpln.h. References OFString::c_str(), OFString::empty(), and Label. |
|
get x-coordinate of overlay plane origin
Definition at line 132 of file diovpln.h. References Left. Referenced by DiMonoOutputPixelTemplate< T1, T2, T3 >::overlay(). |
|
get overlay plane mode
Definition at line 327 of file diovpln.h. References Mode. Referenced by DiMonoOutputPixelTemplate< T1, T2, T3 >::overlay(). |
|
get value of the current overlay plane bit and move 'cursor' to the next position
Definition at line 530 of file diovpln.h. References BitPos, BitPosition, BitsAllocated, Ptr, and StartPtr. Referenced by DiMonoOutputPixelTemplate< T1, T2, T3 >::overlay(). |
|
get number of frames
Definition at line 290 of file diovpln.h. References NumberOfFrames. |
|
get p-value of the plane. Only valid for bitmap shutters.
Definition at line 318 of file diovpln.h. References PValue. Referenced by DiMonoOutputPixelTemplate< T1, T2, T3 >::overlay(). |
|
get right border of overlay plane origin
Definition at line 172 of file diovpln.h. Referenced by DiMonoOutputPixelTemplate< T1, T2, T3 >::overlay(), and reset(). |
|
get threshold value of the plane
Definition at line 308 of file diovpln.h. References Threshold. Referenced by DiMonoOutputPixelTemplate< T1, T2, T3 >::overlay(). |
|
get y-coordinate of overlay plane origin
Definition at line 143 of file diovpln.h. References Top. Referenced by DiMonoOutputPixelTemplate< T1, T2, T3 >::overlay(). |
|
get width of overlay plane
Definition at line 152 of file diovpln.h. References Width. |
|
check whether overlay plane is embedded in the pixel data
Definition at line 336 of file diovpln.h. References EmbeddedData. |
|
check whether overlay plane is valid
Definition at line 194 of file diovpln.h. References Valid. |
|
check whether overlay plane is visible
Definition at line 203 of file diovpln.h. References Visible. Referenced by DiOverlay::hasPlane(), and DiMonoOutputPixelTemplate< T1, T2, T3 >::overlay(). |
|
move overlay plane to a new place
|
|
reset internal 'cursor' to the beginning of the specified frame
Definition at line 514 of file diovpln.h. References BitPos, BitPosition, BitsAllocated, Columns, Data, getBottom(), getRight(), ImageFrameOrigin, NumberOfFrames, Ptr, Rows, StartBitPos, StartLeft, StartPtr, StartTop, and Valid. Referenced by DiMonoOutputPixelTemplate< T1, T2, T3 >::overlay(). |
|
set flipping
|
|
set rotation
|
|
set scaling factor in x- and y-direction
|
|
set internal 'cursor' to a specific position
Definition at line 545 of file diovpln.h. References BitPos, BitsAllocated, Columns, Left, Ptr, StartBitPos, StartPtr, and Top. Referenced by DiMonoOutputPixelTemplate< T1, T2, T3 >::overlay(). |
|
make overlay plane visible and set p-value. Only applicable for bitmap shutters.
|
|
make overlay plane visible and set parameters
|