24 #ifndef __evPriorityScheduleEntry_h 25 #define __evPriorityScheduleEntry_h 32 #define EVPRIORITYSCHEDULEENTRY_ROI 0x01 33 #define EVPRIORITYSCHEDULEENTRY_TILE 0x02 34 #define EVPRIORITYSCHEDULEENTRY_COMPONENT 0x04 35 #define EVPRIORITYSCHEDULEENTRY_BITPLANE 0x08 36 #define EVPRIORITYSCHEDULEENTRY_SCALE 0x10 43 const unsigned int tile = 0,
44 const unsigned int component = 0,
45 const unsigned int bitplane = 0,
46 const unsigned int scale = 0,
47 const unsigned int bitplane_length = 0,
48 const double priority = 0,
51 const double grid_spacing = 0,
52 const unsigned int max_num_scales = 0);
56 const unsigned int tile,
57 const unsigned int component,
58 const unsigned int bitplane,
59 const unsigned int scale,
60 const unsigned int bitplane_length,
61 const double priority,
64 const double grid_spacing,
65 const unsigned int max_num_scales);
67 &priority_schedule_entry);
72 return(
evString(
"evPriorityScheduleEntry"));
78 const unsigned int match_mask)
const;
80 void SetROI(
const unsigned int roi);
81 unsigned int GetROI(
void)
const;
83 void SetTile(
const unsigned int tile);
84 unsigned int GetTile(
void)
const;
92 void SetScale(
const unsigned int scale);
120 const unsigned int num_dimensions);
148 const unsigned int tile,
149 const unsigned int component,
150 const unsigned int bitplane,
151 const unsigned int scale,
154 const double priority,
159 const double grid_spacing,
174 this->
ROI = priority_schedule.
ROI;
175 this->
Tile = priority_schedule.
Tile;
192 const unsigned int tile,
193 const unsigned int component,
194 const unsigned int bitplane,
195 const unsigned int scale,
196 const unsigned int bitplane_length,
197 const double priority,
200 const double grid_spacing,
201 const unsigned int max_num_scales)
219 &priority_schedule_entry)
231 &priority_schedule_entry)
const 233 return((this->
ROI == priority_schedule_entry.
ROI) &&
234 (this->Tile == priority_schedule_entry.
Tile) &&
235 (this->Component == priority_schedule_entry.
Component) &&
236 (this->Bitplane == priority_schedule_entry.
Bitplane) &&
237 (this->Scale == priority_schedule_entry.
Scale));
242 &priority_schedule_entry,
243 const unsigned int match_mask)
const 246 (this->
ROI == priority_schedule_entry.
ROI)) &&
248 (this->Tile == priority_schedule_entry.
Tile)) &&
250 (this->Component == priority_schedule_entry.
Component)) &&
252 (this->Bitplane == priority_schedule_entry.
Bitplane)) &&
254 (this->Scale == priority_schedule_entry.
Scale)));
void SetPrevious(evPriorityScheduleEntry *previous)
Definition: evPriorityScheduleEntry.h:394
void SetPriority(const double priority)
Definition: evPriorityScheduleEntry.h:331
#define EVPRIORITYSCHEDULEENTRY_COMPONENT
Definition: evPriorityScheduleEntry.h:34
void SetNext(evPriorityScheduleEntry *next)
Definition: evPriorityScheduleEntry.h:382
virtual const evString GetClassName(void) const
Definition: evPriorityScheduleEntry.h:70
double GridSpacing
Definition: evPriorityScheduleEntry.h:139
void SetBoundingBox(const evBoundingBox &bounding_box)
Definition: evPriorityScheduleEntry.h:356
long evFilePosition
Definition: evFile.h:41
evBoundingBox BoundingBox
Definition: evPriorityScheduleEntry.h:138
void SetBitplane(const unsigned int bitplane)
Definition: evPriorityScheduleEntry.h:294
unsigned int GetBitplaneLength(void) const
Definition: evPriorityScheduleEntry.h:325
void SetScale(const unsigned int scale)
Definition: evPriorityScheduleEntry.h:306
int IsEqual(const evPriorityScheduleEntry &priority_schedule_entry, const unsigned int match_mask) const
Definition: evPriorityScheduleEntry.h:241
evFilePosition GetFilePosition(void) const
Definition: evPriorityScheduleEntry.h:350
Definition: evPriorityScheduleEntry.h:39
static evPriorityScheduleEntry * Create(const unsigned int roi, const unsigned int tile, const unsigned int component, const unsigned int bitplane, const unsigned int scale, const unsigned int bitplane_length, const double priority, const evFilePosition file_position, const evBoundingBox &bounding_box, const double grid_spacing, const unsigned int max_num_scales)
Definition: evPriorityScheduleEntry.h:191
#define EVPRIORITYSCHEDULEENTRY_TILE
Definition: evPriorityScheduleEntry.h:33
void SetROI(const unsigned int roi)
Definition: evPriorityScheduleEntry.h:258
void SetTile(const unsigned int tile)
Definition: evPriorityScheduleEntry.h:270
Definition: evBoundingBox.h:32
evPriorityScheduleEntry * GetPrevious(void) const
Definition: evPriorityScheduleEntry.h:401
unsigned int GetTile(void) const
Definition: evPriorityScheduleEntry.h:276
Definition: evDataObject.h:31
unsigned int ROI
Definition: evPriorityScheduleEntry.h:130
unsigned int GetScale(void) const
Definition: evPriorityScheduleEntry.h:312
void SetComponent(const unsigned int component)
Definition: evPriorityScheduleEntry.h:282
void SetMaxNumScale(const unsigned int max_num_scales)
Definition: evPriorityScheduleEntry.h:369
unsigned int Tile
Definition: evPriorityScheduleEntry.h:131
unsigned int Component
Definition: evPriorityScheduleEntry.h:132
void SetBitplaneLength(const unsigned int bitplane_length)
Definition: evPriorityScheduleEntry.h:318
double GetPriority(void) const
Definition: evPriorityScheduleEntry.h:337
evPriorityScheduleEntry(const unsigned int roi=0, const unsigned int tile=0, const unsigned int component=0, const unsigned int bitplane=0, const unsigned int scale=0, const unsigned int bitplane_length=0, const double priority=0, const evFilePosition file_position=0, const evBoundingBox &bounding_box=evBoundingBox(), const double grid_spacing=0, const unsigned int max_num_scales=0)
Definition: evPriorityScheduleEntry.h:147
evFilePosition FilePosition
Definition: evPriorityScheduleEntry.h:137
Definition: evBitBuffer.h:34
unsigned int GetComponent(void) const
Definition: evPriorityScheduleEntry.h:288
static evPriorityScheduleEntry * Read(evBitBuffer &input_buffer, const unsigned int num_dimensions)
void SetGridSpacing(const double grid_spacing)
double GetGridSpacing(void) const
int operator==(const evPriorityScheduleEntry &priority_schedule_entry) const
Definition: evPriorityScheduleEntry.h:230
#define EVPRIORITYSCHEDULEENTRY_SCALE
Definition: evPriorityScheduleEntry.h:36
int Write(evBitBuffer &output_buffer) const
double Priority
Definition: evPriorityScheduleEntry.h:136
virtual ~evPriorityScheduleEntry(void)
Definition: evPriorityScheduleEntry.h:225
unsigned int Bitplane
Definition: evPriorityScheduleEntry.h:133
unsigned int GetROI(void) const
Definition: evPriorityScheduleEntry.h:264
#define EVPRIORITYSCHEDULEENTRY_BITPLANE
Definition: evPriorityScheduleEntry.h:35
unsigned int CalcDisplayScale(const double pixel_size) const
evPriorityScheduleEntry * GetNext(void) const
Definition: evPriorityScheduleEntry.h:388
evBoundingBox GetBoundingBox(void) const
Definition: evPriorityScheduleEntry.h:363
unsigned int BitplaneLength
Definition: evPriorityScheduleEntry.h:135
evPriorityScheduleEntry * Next
Definition: evPriorityScheduleEntry.h:142
unsigned int Scale
Definition: evPriorityScheduleEntry.h:134
unsigned int GetMaxNumScales(void) const
Definition: evPriorityScheduleEntry.h:376
void PrintSelf(const int tabbing) const
Definition: evString.h:30
#define EVPRIORITYSCHEDULEENTRY_ROI
Definition: evPriorityScheduleEntry.h:32
void SetFilePosition(const evFilePosition file_position)
Definition: evPriorityScheduleEntry.h:343
unsigned int GetBitplane(void) const
Definition: evPriorityScheduleEntry.h:300
unsigned int MaxNumScales
Definition: evPriorityScheduleEntry.h:140
evPriorityScheduleEntry * Previous
Definition: evPriorityScheduleEntry.h:141