S1S2Object Class Reference
An Object which can be displayed in various S1,S2 representations.
More...
#include <XeCore.h>
List of all members.
Public Member Functions |
virtual void | draw ()=0 |
| Method to be implemented: draw the object.
|
void | drawFrame () |
| Draw a frame to hold the object.
|
void | drawFrameWithZ (double zmin, double zmax, int zscale) |
| Draw a frame to hold the object with z color code.
|
void | drawS1S2 (int mode=CURRENT_DISPLAY, bool same=false) |
| Draw the object, possibly superimposing on previous one.
|
virtual void | drawTheFrame () |
| Virtual method to override drawFrame.
|
int | getS1S2Mode () |
| get the current S1S2 mode
|
virtual bool | isDrawable (int mode) |
| Is such an object drawable in a given S1S2 Display mode ? By default, return yes but for BAND_VS_SLICE.
|
virtual double | maxX ()=0 |
| Method to be implemented: return max X in current S1S2Display mode.
|
virtual double | maxY ()=0 |
| Method to be implemented: return max Y in current S1S2Display mode.
|
virtual double | minX ()=0 |
| Method to be implemented: return min X in current S1S2Display mode.
|
virtual double | minY ()=0 |
| Method to be implemented: return min Y in current S1S2Display mode.
|
| S1S2Object (string name) |
| Regular constructor.
|
| S1S2Object () |
| Empty constructor for ROOT.
|
virtual void | setAutomaticLimits (bool automatic=true) |
| Set drawing limits automatic (true) or manual (false).
|
void | setS1S2Mode (int mode) |
| Set the S1S2 mode.
|
Protected Attributes |
bool | automaticLimits |
Detailed Description
An Object which can be displayed in various S1,S2 representations.
Constructor & Destructor Documentation
S1S2Object::S1S2Object |
( |
string |
name |
) |
|
Regular constructor.
- Parameters:
-
Member Function Documentation
void S1S2Object::drawFrameWithZ |
( |
double |
zmin, |
|
|
double |
zmax, |
|
|
int |
zscale | |
|
) |
| | |
Draw a frame to hold the object with z color code.
- Parameters:
-
| zmin | minimum Z |
| zmax | maximum Z |
| zscale | LINEAR or LOG |
void S1S2Object::drawS1S2 |
( |
int |
mode = CURRENT_DISPLAY , |
|
|
bool |
same = false | |
|
) |
| | |
Draw the object, possibly superimposing on previous one.
- Parameters:
-
| mode | S2_VS_S1, S2_OVER_S1_VS_S1, FLATTENED_S2_VS_S1, CURRENT_DISPLAY or BAND_VS_SLICE |
| same | draw in previous frame |
int S1S2Object::getS1S2Mode |
( |
|
) |
|
get the current S1S2 mode
- Returns:
- S2_VS_S1, S2_OVER_S1_VS_S1, FLATTENED_S2_VS_S1 or BAND_VS_SLICE
virtual bool S1S2Object::isDrawable |
( |
int |
mode |
) |
[virtual] |
Is such an object drawable in a given S1S2 Display mode ? By default, return yes but for BAND_VS_SLICE.
- Parameters:
-
| mode | S2_VS_S1, S2_OVER_S1_VS_S1, FLATTENED_S2_VS_S1 or BAND_VS_SLICE |
Reimplemented in S1S2Bands.
void S1S2Object::setS1S2Mode |
( |
int |
mode |
) |
|
Set the S1S2 mode.
- Parameters:
-
| mode | S2_VS_S1, S2_OVER_S1_VS_S1, FLATTENED_S2_VS_S1 or BAND_VS_SLICE |
Member Data Documentation
Drawings are in automatic limits
The documentation for this class was generated from the following file:
- /home/lellouch/Dropbox/Xenon/Xephyr/XeCore.h