Evita  0.16
evTranscoder.h
Go to the documentation of this file.
1 /*
2  *
3  * EVITA: Efficient Visualization of Terascale Datasets
4  * Copyright (C) 2000-2016 Team Evita
5  *
6  * This library is free software; you can redistribute it and/or
7  * modify it under the terms of the GNU Library General Public
8  * License as published by the Free Software Foundation; either
9  * version 2 of the License, or (at your option) any later version.
10  *
11  * This library is distributed in the hope that it will be useful,
12  * but WITHOUT ANY WARRANTY; without even the implied warranty of
13  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14  * Library General Public License for more details.
15  *
16  * You should have received a copy of the GNU Library General Public
17  * License along with this library; if not, write to the
18  * Free Software Foundation, Inc., 675 Mass Ave, Cambridge,
19  * MA 02139, USA.
20  *
21  */
22 
23 
24 #ifndef __evTranscoder_h
25 #define __evTranscoder_h
26 
27 
28 #include "evProcessObject.h"
29 #include "evChannel.h"
30 #include "evPrioritySchedule.h"
31 #include "evDataset.h"
32 
33 
35 {
36 public:
37  evTranscoder(void);
38  virtual ~evTranscoder(void);
39 
40  virtual const evString GetClassName(void) const
41  {
42  return(evString("evTranscoder"));
43  }
44 
45  int Transcode(evChannel &command_channel,
46  evChannel &bitstream_channel,
47  evChannel &priority_schedule_channel,
48  const int verbose);
49 
50 protected:
51 
52 private:
60 
62  unsigned int VisualizerComponent;
64  double PixelSize;
65 
69 
70  int GetCommand(const int verbose);
71  int SendHeader(void);
72  int SendAuxiliaryFiles(void);
73  int ActivateComponent(void);
74  int UpdateFrustum(void);
75  int Start(void);
76  int Next(void);
77  int Stop(void);
78  int SelectROI(const int roi);
79 };
80 
81 
82 #endif
int Transcode(evChannel &command_channel, evChannel &bitstream_channel, evChannel &priority_schedule_channel, const int verbose)
Definition: evFile.h:44
evTranscoder(void)
evPrioritySchedule * TransmissionQueue
Definition: evTranscoder.h:67
virtual const evString GetClassName(void) const
Definition: evTranscoder.h:40
long evFilePosition
Definition: evFile.h:41
int Next(void)
int Stop(void)
evString Filename
Definition: evTranscoder.h:58
Definition: evPrioritySchedule.h:36
evChannel * PriorityScheduleChannel
Definition: evTranscoder.h:55
int Start(void)
Definition: evVector.h:36
Definition: evChannel.h:54
evPrioritySchedule * AlreadySentQueue
Definition: evTranscoder.h:68
Definition: evTranscoder.h:34
int ActivateComponent(void)
evPrioritySchedule * InactiveQueue
Definition: evTranscoder.h:66
int SendHeader(void)
evFilePosition HeaderOffset
Definition: evTranscoder.h:57
int SelectROI(const int roi)
int ExplicitGrid
Definition: evTranscoder.h:61
evString PriorityScheduleFilename
Definition: evTranscoder.h:56
double PixelSize
Definition: evTranscoder.h:64
int SendAuxiliaryFiles(void)
evVector ViewFrustum
Definition: evTranscoder.h:63
int GetCommand(const int verbose)
unsigned int VisualizerComponent
Definition: evTranscoder.h:62
Definition: evProcessObject.h:31
evChannel * CommandChannel
Definition: evTranscoder.h:53
int UpdateFrustum(void)
evFile Infile
Definition: evTranscoder.h:59
Definition: evString.h:30
virtual ~evTranscoder(void)
evChannel * BitstreamChannel
Definition: evTranscoder.h:54