Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members  

HxCorbaHistogram.h

Go to the documentation of this file.
00001 // **********************************************************************
00002 //
00003 // Generated by the ORBacus IDL-to-C++ Translator
00004 //
00005 // Copyright (c) 2000
00006 // Object Oriented Concepts, Inc.
00007 // Billerica, MA, USA
00008 //
00009 // All Rights Reserved
00010 //
00011 // **********************************************************************
00012 
00013 // Version: 4.0.5
00014 
00015 #ifndef ___HxCorbaHistogram_h__
00016 #define ___HxCorbaHistogram_h__
00017 
00018 #include <HxCorbaImageRep.h>
00019 
00020 #ifndef OB_INTEGER_VERSION
00021 #   error No ORBacus version defined! Is <OB/CORBA.h> included?
00022 #endif
00023 
00024 #ifndef OB_NO_VERSION_CHECK
00025 #   if (OB_INTEGER_VERSION != 4000500L)
00026 #       error ORBacus version mismatch!
00027 #   endif
00028 #endif
00029 
00030 namespace HxCorba
00031 {
00032 
00033 class HistogramData;
00034 typedef HistogramData* HistogramData_ptr;
00035 typedef HistogramData* HistogramDataRef;
00036 
00037 extern OB::TypeCodeConst _tc_HistogramData;
00038 
00039 class Histogram;
00040 typedef Histogram* Histogram_ptr;
00041 typedef Histogram* HistogramRef;
00042 
00043 extern OB::TypeCodeConst _tc_Histogram;
00044 
00045 class HistogramFactory;
00046 typedef HistogramFactory* HistogramFactory_ptr;
00047 typedef HistogramFactory* HistogramFactoryRef;
00048 
00049 extern OB::TypeCodeConst _tc_HistogramFactory;
00050 
00051 } // End of namespace HxCorba
00052 
00053 void OBDuplicate(HxCorba::HistogramData_ptr);
00054 void OBRelease(HxCorba::HistogramData_ptr);
00055 
00056 void OBMarshal(HxCorba::HistogramData_ptr, OB::OutputStreamImpl*);
00057 void OBUnmarshal(HxCorba::HistogramData_ptr&, OB::InputStreamImpl*);
00058 
00059 void OBDuplicate(HxCorba::Histogram_ptr);
00060 void OBRelease(HxCorba::Histogram_ptr);
00061 
00062 void OBMarshal(HxCorba::Histogram_ptr, OB::OutputStreamImpl*);
00063 void OBUnmarshal(HxCorba::Histogram_ptr&, OB::InputStreamImpl*);
00064 
00065 void OBDuplicate(HxCorba::HistogramFactory_ptr);
00066 void OBRelease(HxCorba::HistogramFactory_ptr);
00067 
00068 void OBMarshal(HxCorba::HistogramFactory_ptr, OB::OutputStreamImpl*);
00069 void OBUnmarshal(HxCorba::HistogramFactory_ptr&, OB::InputStreamImpl*);
00070 
00071 namespace HxCorba
00072 {
00073 
00074 typedef OB::ObjVar< HistogramData > HistogramData_var;
00075 typedef OB::ObjOut< HistogramData > HistogramData_out;
00076 
00077 typedef OB::ObjVar< Histogram > Histogram_var;
00078 typedef OB::ObjOut< Histogram > Histogram_out;
00079 
00080 typedef OB::ObjVar< HistogramFactory > HistogramFactory_var;
00081 typedef OB::ObjOut< HistogramFactory > HistogramFactory_out;
00082 
00083 } // End of namespace HxCorba
00084 
00085 namespace OBStubImpl_HxCorba
00086 {
00087 
00088 class HistogramData;
00089 typedef HistogramData* HistogramData_ptr;
00090 
00091 class Histogram;
00092 typedef Histogram* Histogram_ptr;
00093 
00094 class HistogramFactory;
00095 typedef HistogramFactory* HistogramFactory_ptr;
00096 
00097 } // End of namespace OBStubImpl_HxCorba
00098 
00099 void OBDuplicate(OBStubImpl_HxCorba::HistogramData_ptr);
00100 void OBRelease(OBStubImpl_HxCorba::HistogramData_ptr);
00101 
00102 void OBDuplicate(OBStubImpl_HxCorba::Histogram_ptr);
00103 void OBRelease(OBStubImpl_HxCorba::Histogram_ptr);
00104 
00105 void OBDuplicate(OBStubImpl_HxCorba::HistogramFactory_ptr);
00106 void OBRelease(OBStubImpl_HxCorba::HistogramFactory_ptr);
00107 
00108 namespace OBStubImpl_HxCorba
00109 {
00110 
00111 typedef OB::ObjVar< HistogramData > HistogramData_var;
00112 
00113 typedef OB::ObjVar< Histogram > Histogram_var;
00114 
00115 typedef OB::ObjVar< HistogramFactory > HistogramFactory_var;
00116 
00117 } // End of namespace OBStubImpl_HxCorba
00118 
00119 //
00120 // IDL:HxCorba:1.0
00121 //
00122 namespace HxCorba
00123 {
00124 
00125 //
00126 // IDL:HxCorba/BinDataSequence:1.0
00127 //
00128 class OBUnique_BinDataSequence { };
00129 
00130 typedef OB::FixSeq< CORBA::Double, OBUnique_BinDataSequence > BinDataSequence;
00131 typedef OB::SeqVar< OB::FixSeq< CORBA::Double, OBUnique_BinDataSequence > > BinDataSequence_var;
00132 typedef OB::SeqOut< OB::FixSeq< CORBA::Double, OBUnique_BinDataSequence > > BinDataSequence_out;
00133 extern OB::TypeCodeConst _tc_BinDataSequence;
00134 
00135 struct OBInfo_BinDataSequence : public OB::ConstructedInfo
00136 {
00137     OBInfo_BinDataSequence() { }
00138 
00139     virtual void free(void* p) const
00140     {
00141         delete (BinDataSequence*)p;
00142     }
00143 
00144     virtual void* dup(const void* p) const
00145     {
00146         return new BinDataSequence(*(const BinDataSequence*)p);
00147     }
00148 
00149     virtual void marshal(const void*, OB::OutputStreamImpl*) const;
00150     virtual void unmarshal(void*, OB::InputStreamImpl*) const;
00151 };
00152 
00153 //
00154 // IDL:HxCorba/HistogramData:1.0
00155 //
00156 class HistogramData : virtual public CORBA::Object
00157 {
00158     HistogramData(const HistogramData&);
00159     void operator=(const HistogramData&);
00160 
00161     static const char* ids_[];
00162 
00163 protected:
00164 
00165     virtual OB::MarshalStubImpl_ptr _OB_createMarshalStubImpl();
00166 
00167 public:
00168 
00169     HistogramData() { }
00170     virtual ~HistogramData() { }
00171 
00172     typedef HistogramData_ptr _ptr_type;
00173     typedef HistogramData_var _var_type;
00174 
00175     static inline HistogramData_ptr
00176     _duplicate(HistogramData_ptr p)
00177     {
00178         if(p)
00179             p -> _OB_incRef();
00180         return p;
00181     }
00182 
00183     static inline HistogramData_ptr
00184     _nil()
00185     {
00186         return 0;
00187     }
00188 
00189     static HistogramData_ptr _narrow(CORBA::Object_ptr);
00190     static HistogramData_ptr _narrow(CORBA::AbstractBase_ptr);
00191 
00192     virtual const char** _OB_ids() const;
00193     static const char** _OB_staticIds();
00194 
00195     //
00196     // IDL:HxCorba/HistogramData/dimensionality:1.0
00197     //
00198     CORBA::Long dimensionality();
00199 
00200     //
00201     // IDL:HxCorba/HistogramData/dimensionSize:1.0
00202     //
00203     CORBA::Long dimensionSize(CORBA::Long dim);
00204 
00205     //
00206     // IDL:HxCorba/HistogramData/nrOfBins:1.0
00207     //
00208     CORBA::Long nrOfBins();
00209 
00210     //
00211     // IDL:HxCorba/HistogramData/lowBin:1.0
00212     //
00213     CORBA::Double lowBin(CORBA::Long dim);
00214 
00215     //
00216     // IDL:HxCorba/HistogramData/highBin:1.0
00217     //
00218     CORBA::Double highBin(CORBA::Long dim);
00219 
00220     //
00221     // IDL:HxCorba/HistogramData/binWidth:1.0
00222     //
00223     CORBA::Double binWidth(CORBA::Long dim);
00224 
00225     //
00226     // IDL:HxCorba/HistogramData/binToValue:1.0
00227     //
00228     CORBA::Double binToValue(CORBA::Long bin,
00229                              CORBA::Long dim);
00230 
00231     //
00232     // IDL:HxCorba/HistogramData/valueToBin:1.0
00233     //
00234     CORBA::Long valueToBin(CORBA::Double value,
00235                            CORBA::Long dim);
00236 
00237     //
00238     // IDL:HxCorba/HistogramData/get1:1.0
00239     //
00240     CORBA::Double get1(CORBA::Long bin1);
00241 
00242     //
00243     // IDL:HxCorba/HistogramData/get2:1.0
00244     //
00245     CORBA::Double get2(CORBA::Long bin1,
00246                        CORBA::Long bin2);
00247 
00248     //
00249     // IDL:HxCorba/HistogramData/get3:1.0
00250     //
00251     CORBA::Double get3(CORBA::Long bin1,
00252                        CORBA::Long bin2,
00253                        CORBA::Long bin3);
00254 
00255     //
00256     // IDL:HxCorba/HistogramData/sum:1.0
00257     //
00258     CORBA::Double sum();
00259 
00260     //
00261     // IDL:HxCorba/HistogramData/minVal:1.0
00262     //
00263     CORBA::Double minVal();
00264 
00265     //
00266     // IDL:HxCorba/HistogramData/maxVal:1.0
00267     //
00268     CORBA::Double maxVal();
00269 
00270     //
00271     // IDL:HxCorba/HistogramData/maxValIndex:1.0
00272     //
00273     CORBA::Double maxValIndex(CORBA::Long_out index);
00274 
00275     //
00276     // IDL:HxCorba/HistogramData/getDataDouble:1.0
00277     //
00278     BinDataSequence* getDataDouble();
00279 };
00280 
00281 //
00282 // IDL:HxCorba/HistogramMode:1.0
00283 //
00284 struct HistogramMode;
00285 typedef OB::FixVar< HistogramMode > HistogramMode_var;
00286 typedef HistogramMode& HistogramMode_out;
00287 
00288 struct HistogramMode
00289 {
00290     typedef HistogramMode_var _var_type;
00291 
00292     CORBA::Double x;
00293     CORBA::Double y;
00294 
00295     void _OB_marshal(OB::OutputStreamImpl*) const;
00296     static void _OB_unmarshal(HistogramMode&, OB::InputStreamImpl*);
00297 };
00298 
00299 extern OB::TypeCodeConst _tc_HistogramMode;
00300 
00301 //
00302 // IDL:HxCorba/HistogramModeSeq:1.0
00303 //
00304 class OBUnique_HistogramModeSeq { };
00305 
00306 typedef OB::FixSeq< HistogramMode, OBUnique_HistogramModeSeq > HistogramModeSeq;
00307 typedef OB::SeqVar< OB::FixSeq< HistogramMode, OBUnique_HistogramModeSeq > > HistogramModeSeq_var;
00308 typedef OB::SeqOut< OB::FixSeq< HistogramMode, OBUnique_HistogramModeSeq > > HistogramModeSeq_out;
00309 extern OB::TypeCodeConst _tc_HistogramModeSeq;
00310 
00311 struct OBInfo_HistogramModeSeq : public OB::ConstructedInfo
00312 {
00313     OBInfo_HistogramModeSeq() { }
00314 
00315     virtual void free(void* p) const
00316     {
00317         delete (HistogramModeSeq*)p;
00318     }
00319 
00320     virtual void* dup(const void* p) const
00321     {
00322         return new HistogramModeSeq(*(const HistogramModeSeq*)p);
00323     }
00324 
00325     virtual void marshal(const void*, OB::OutputStreamImpl*) const;
00326     virtual void unmarshal(void*, OB::InputStreamImpl*) const;
00327 };
00328 
00329 //
00330 // IDL:HxCorba/Histogram:1.0
00331 //
00332 class Histogram : virtual public HxCorba::HistogramData
00333 {
00334     Histogram(const Histogram&);
00335     void operator=(const Histogram&);
00336 
00337     static const char* ids_[];
00338 
00339 protected:
00340 
00341     virtual OB::MarshalStubImpl_ptr _OB_createMarshalStubImpl();
00342 
00343 public:
00344 
00345     Histogram() { }
00346     virtual ~Histogram() { }
00347 
00348     typedef Histogram_ptr _ptr_type;
00349     typedef Histogram_var _var_type;
00350 
00351     static inline Histogram_ptr
00352     _duplicate(Histogram_ptr p)
00353     {
00354         if(p)
00355             p -> _OB_incRef();
00356         return p;
00357     }
00358 
00359     static inline Histogram_ptr
00360     _nil()
00361     {
00362         return 0;
00363     }
00364 
00365     static Histogram_ptr _narrow(CORBA::Object_ptr);
00366     static Histogram_ptr _narrow(CORBA::AbstractBase_ptr);
00367 
00368     virtual const char** _OB_ids() const;
00369     static const char** _OB_staticIds();
00370 
00371     //
00372     // IDL:HxCorba/Histogram/smooth:1.0
00373     //
00374     Histogram_ptr smooth(CORBA::Double sigma);
00375 
00376     //
00377     // IDL:HxCorba/Histogram/modes:1.0
00378     //
00379     HistogramModeSeq* modes();
00380 
00381     //
00382     // IDL:HxCorba/Histogram/normalize:1.0
00383     //
00384     Histogram_ptr normalize(CORBA::Double weight);
00385 
00386     //
00387     // IDL:HxCorba/Histogram/intersection:1.0
00388     //
00389     CORBA::Double intersection(Histogram_ptr h);
00390 
00391     //
00392     // IDL:HxCorba/Histogram/chiSquare:1.0
00393     //
00394     CORBA::Double chiSquare(Histogram_ptr h);
00395 
00396     //
00397     // IDL:HxCorba/Histogram/chiSquareNorm:1.0
00398     //
00399     CORBA::Double chiSquareNorm(Histogram_ptr h);
00400 
00401     //
00402     // IDL:HxCorba/Histogram/threshold:1.0
00403     //
00404     Histogram_ptr threshold(CORBA::Double valThreshold);
00405 
00406     //
00407     // IDL:HxCorba/Histogram/countBins:1.0
00408     //
00409     CORBA::Long countBins(CORBA::Double valThreshold);
00410 
00411     //
00412     // IDL:HxCorba/Histogram/reduceRange:1.0
00413     //
00414     Histogram_ptr reduceRange(CORBA::Long binMin1,
00415                               CORBA::Long binMax1,
00416                               CORBA::Long binMin2,
00417                               CORBA::Long binMax2,
00418                               CORBA::Long binMin3,
00419                               CORBA::Long binMax3);
00420 
00421     //
00422     // IDL:HxCorba/Histogram/reduceRangeVal:1.0
00423     //
00424     Histogram_ptr reduceRangeVal(CORBA::Double binValMin1,
00425                                  CORBA::Double binValMax1,
00426                                  CORBA::Double binValMin2,
00427                                  CORBA::Double binValMax2,
00428                                  CORBA::Double binValMin3,
00429                                  CORBA::Double binValMax3);
00430 
00431     //
00432     // IDL:HxCorba/Histogram/to1D:1.0
00433     //
00434     Histogram_ptr to1D(CORBA::Long dim);
00435 
00436     //
00437     // IDL:HxCorba/Histogram/render3d:1.0
00438     //
00439     void render3d(RgbBuffer_ptr buf,
00440                   CORBA::Long dataWidth,
00441                   CORBA::Long dataHeight,
00442                   CORBA::Double elevation,
00443                   CORBA::Double alpha,
00444                   CORBA::Double threshold);
00445 
00446     //
00447     // IDL:HxCorba/Histogram/destroy:1.0
00448     //
00449     void destroy();
00450 };
00451 
00452 //
00453 // IDL:HxCorba/HistogramFactory:1.0
00454 //
00455 class HistogramFactory : virtual public CORBA::Object
00456 {
00457     HistogramFactory(const HistogramFactory&);
00458     void operator=(const HistogramFactory&);
00459 
00460     static const char* ids_[];
00461 
00462 protected:
00463 
00464     virtual OB::MarshalStubImpl_ptr _OB_createMarshalStubImpl();
00465 
00466 public:
00467 
00468     HistogramFactory() { }
00469     virtual ~HistogramFactory() { }
00470 
00471     typedef HistogramFactory_ptr _ptr_type;
00472     typedef HistogramFactory_var _var_type;
00473 
00474     static inline HistogramFactory_ptr
00475     _duplicate(HistogramFactory_ptr p)
00476     {
00477         if(p)
00478             p -> _OB_incRef();
00479         return p;
00480     }
00481 
00482     static inline HistogramFactory_ptr
00483     _nil()
00484     {
00485         return 0;
00486     }
00487 
00488     static HistogramFactory_ptr _narrow(CORBA::Object_ptr);
00489     static HistogramFactory_ptr _narrow(CORBA::AbstractBase_ptr);
00490 
00491     virtual const char** _OB_ids() const;
00492     static const char** _OB_staticIds();
00493 
00494     //
00495     // IDL:HxCorba/HistogramFactory/makeHistogramFromFile:1.0
00496     //
00497     Histogram_ptr makeHistogramFromFile(const char* filename);
00498 };
00499 
00500 //
00501 // IDL:HxCorba/HistogramList:1.0
00502 //
00503 class OBUnique_HistogramList { };
00504 
00505 typedef OB::ObjSeq< Histogram, OBUnique_HistogramList > HistogramList;
00506 typedef OB::SeqVar< OB::ObjSeq< Histogram, OBUnique_HistogramList > > HistogramList_var;
00507 typedef OB::SeqOut< OB::ObjSeq< Histogram, OBUnique_HistogramList > > HistogramList_out;
00508 extern OB::TypeCodeConst _tc_HistogramList;
00509 
00510 struct OBInfo_HistogramList : public OB::ConstructedInfo
00511 {
00512     OBInfo_HistogramList() { }
00513 
00514     virtual void free(void* p) const
00515     {
00516         delete (HistogramList*)p;
00517     }
00518 
00519     virtual void* dup(const void* p) const
00520     {
00521         return new HistogramList(*(const HistogramList*)p);
00522     }
00523 
00524     virtual void marshal(const void*, OB::OutputStreamImpl*) const;
00525     virtual void unmarshal(void*, OB::InputStreamImpl*) const;
00526 };
00527 
00528 } // End of namespace HxCorba
00529 
00530 //
00531 // IDL:HxCorba:1.0
00532 //
00533 namespace OBStubImpl_HxCorba
00534 {
00535 
00536 //
00537 // IDL:HxCorba/HistogramData:1.0
00538 //
00539 class HistogramData : virtual public OB::StubImplBase
00540 {
00541     HistogramData(const HistogramData&);
00542     void operator=(const HistogramData&);
00543 
00544 protected:
00545 
00546     HistogramData() { }
00547 
00548 public:
00549 
00550     static inline HistogramData_ptr
00551     _duplicate(HistogramData_ptr p)
00552     {
00553         if(p)
00554             p -> _OB_incRef();
00555         return p;
00556     }
00557 
00558     static inline HistogramData_ptr
00559     _nil()
00560     {
00561         return 0;
00562     }
00563 
00564     //
00565     // IDL:HxCorba/HistogramData/dimensionality:1.0
00566     //
00567     virtual CORBA::Long dimensionality() = 0;
00568 
00569     //
00570     // IDL:HxCorba/HistogramData/dimensionSize:1.0
00571     //
00572     virtual CORBA::Long dimensionSize(CORBA::Long dim) = 0;
00573 
00574     //
00575     // IDL:HxCorba/HistogramData/nrOfBins:1.0
00576     //
00577     virtual CORBA::Long nrOfBins() = 0;
00578 
00579     //
00580     // IDL:HxCorba/HistogramData/lowBin:1.0
00581     //
00582     virtual CORBA::Double lowBin(CORBA::Long dim) = 0;
00583 
00584     //
00585     // IDL:HxCorba/HistogramData/highBin:1.0
00586     //
00587     virtual CORBA::Double highBin(CORBA::Long dim) = 0;
00588 
00589     //
00590     // IDL:HxCorba/HistogramData/binWidth:1.0
00591     //
00592     virtual CORBA::Double binWidth(CORBA::Long dim) = 0;
00593 
00594     //
00595     // IDL:HxCorba/HistogramData/binToValue:1.0
00596     //
00597     virtual CORBA::Double binToValue(CORBA::Long bin,
00598                                      CORBA::Long dim) = 0;
00599 
00600     //
00601     // IDL:HxCorba/HistogramData/valueToBin:1.0
00602     //
00603     virtual CORBA::Long valueToBin(CORBA::Double value,
00604                                    CORBA::Long dim) = 0;
00605 
00606     //
00607     // IDL:HxCorba/HistogramData/get1:1.0
00608     //
00609     virtual CORBA::Double get1(CORBA::Long bin1) = 0;
00610 
00611     //
00612     // IDL:HxCorba/HistogramData/get2:1.0
00613     //
00614     virtual CORBA::Double get2(CORBA::Long bin1,
00615                                CORBA::Long bin2) = 0;
00616 
00617     //
00618     // IDL:HxCorba/HistogramData/get3:1.0
00619     //
00620     virtual CORBA::Double get3(CORBA::Long bin1,
00621                                CORBA::Long bin2,
00622                                CORBA::Long bin3) = 0;
00623 
00624     //
00625     // IDL:HxCorba/HistogramData/sum:1.0
00626     //
00627     virtual CORBA::Double sum() = 0;
00628 
00629     //
00630     // IDL:HxCorba/HistogramData/minVal:1.0
00631     //
00632     virtual CORBA::Double minVal() = 0;
00633 
00634     //
00635     // IDL:HxCorba/HistogramData/maxVal:1.0
00636     //
00637     virtual CORBA::Double maxVal() = 0;
00638 
00639     //
00640     // IDL:HxCorba/HistogramData/maxValIndex:1.0
00641     //
00642     virtual CORBA::Double maxValIndex(CORBA::Long_out index) = 0;
00643 
00644     //
00645     // IDL:HxCorba/HistogramData/getDataDouble:1.0
00646     //
00647     virtual HxCorba::BinDataSequence* getDataDouble() = 0;
00648 };
00649 
00650 //
00651 // IDL:HxCorba/Histogram:1.0
00652 //
00653 class Histogram : virtual public OBStubImpl_HxCorba::HistogramData
00654 {
00655     Histogram(const Histogram&);
00656     void operator=(const Histogram&);
00657 
00658 protected:
00659 
00660     Histogram() { }
00661 
00662 public:
00663 
00664     static inline Histogram_ptr
00665     _duplicate(Histogram_ptr p)
00666     {
00667         if(p)
00668             p -> _OB_incRef();
00669         return p;
00670     }
00671 
00672     static inline Histogram_ptr
00673     _nil()
00674     {
00675         return 0;
00676     }
00677 
00678     //
00679     // IDL:HxCorba/Histogram/smooth:1.0
00680     //
00681     virtual HxCorba::Histogram_ptr smooth(CORBA::Double sigma) = 0;
00682 
00683     //
00684     // IDL:HxCorba/Histogram/modes:1.0
00685     //
00686     virtual HxCorba::HistogramModeSeq* modes() = 0;
00687 
00688     //
00689     // IDL:HxCorba/Histogram/normalize:1.0
00690     //
00691     virtual HxCorba::Histogram_ptr normalize(CORBA::Double weight) = 0;
00692 
00693     //
00694     // IDL:HxCorba/Histogram/intersection:1.0
00695     //
00696     virtual CORBA::Double intersection(HxCorba::Histogram_ptr h) = 0;
00697 
00698     //
00699     // IDL:HxCorba/Histogram/chiSquare:1.0
00700     //
00701     virtual CORBA::Double chiSquare(HxCorba::Histogram_ptr h) = 0;
00702 
00703     //
00704     // IDL:HxCorba/Histogram/chiSquareNorm:1.0
00705     //
00706     virtual CORBA::Double chiSquareNorm(HxCorba::Histogram_ptr h) = 0;
00707 
00708     //
00709     // IDL:HxCorba/Histogram/threshold:1.0
00710     //
00711     virtual HxCorba::Histogram_ptr threshold(CORBA::Double valThreshold) = 0;
00712 
00713     //
00714     // IDL:HxCorba/Histogram/countBins:1.0
00715     //
00716     virtual CORBA::Long countBins(CORBA::Double valThreshold) = 0;
00717 
00718     //
00719     // IDL:HxCorba/Histogram/reduceRange:1.0
00720     //
00721     virtual HxCorba::Histogram_ptr reduceRange(CORBA::Long binMin1,
00722                                                CORBA::Long binMax1,
00723                                                CORBA::Long binMin2,
00724                                                CORBA::Long binMax2,
00725                                                CORBA::Long binMin3,
00726                                                CORBA::Long binMax3) = 0;
00727 
00728     //
00729     // IDL:HxCorba/Histogram/reduceRangeVal:1.0
00730     //
00731     virtual HxCorba::Histogram_ptr reduceRangeVal(CORBA::Double binValMin1,
00732                                                   CORBA::Double binValMax1,
00733                                                   CORBA::Double binValMin2,
00734                                                   CORBA::Double binValMax2,
00735                                                   CORBA::Double binValMin3,
00736                                                   CORBA::Double binValMax3) = 0;
00737 
00738     //
00739     // IDL:HxCorba/Histogram/to1D:1.0
00740     //
00741     virtual HxCorba::Histogram_ptr to1D(CORBA::Long dim) = 0;
00742 
00743     //
00744     // IDL:HxCorba/Histogram/render3d:1.0
00745     //
00746     virtual void render3d(HxCorba::RgbBuffer_ptr buf,
00747                           CORBA::Long dataWidth,
00748                           CORBA::Long dataHeight,
00749                           CORBA::Double elevation,
00750                           CORBA::Double alpha,
00751                           CORBA::Double threshold) = 0;
00752 
00753     //
00754     // IDL:HxCorba/Histogram/destroy:1.0
00755     //
00756     virtual void destroy() = 0;
00757 };
00758 
00759 //
00760 // IDL:HxCorba/HistogramFactory:1.0
00761 //
00762 class HistogramFactory : virtual public OB::StubImplBase
00763 {
00764     HistogramFactory(const HistogramFactory&);
00765     void operator=(const HistogramFactory&);
00766 
00767 protected:
00768 
00769     HistogramFactory() { }
00770 
00771 public:
00772 
00773     static inline HistogramFactory_ptr
00774     _duplicate(HistogramFactory_ptr p)
00775     {
00776         if(p)
00777             p -> _OB_incRef();
00778         return p;
00779     }
00780 
00781     static inline HistogramFactory_ptr
00782     _nil()
00783     {
00784         return 0;
00785     }
00786 
00787     //
00788     // IDL:HxCorba/HistogramFactory/makeHistogramFromFile:1.0
00789     //
00790     virtual HxCorba::Histogram_ptr makeHistogramFromFile(const char* filename) = 0;
00791 };
00792 
00793 } // End of namespace OBStubImpl_HxCorba
00794 
00795 //
00796 // IDL:HxCorba:1.0
00797 //
00798 namespace OBMarshalStubImpl_HxCorba
00799 {
00800 
00801 //
00802 // IDL:HxCorba/HistogramData:1.0
00803 //
00804 class HistogramData : virtual public OBStubImpl_HxCorba::HistogramData,
00805                       virtual public OB::MarshalStubImpl
00806 {
00807     HistogramData(const HistogramData&);
00808     void operator=(const HistogramData&);
00809 
00810 protected:
00811 
00812     HistogramData() { }
00813     friend class HxCorba::HistogramData;
00814 
00815 public:
00816 
00817     //
00818     // IDL:HxCorba/HistogramData/dimensionality:1.0
00819     //
00820     virtual CORBA::Long dimensionality();
00821 
00822     //
00823     // IDL:HxCorba/HistogramData/dimensionSize:1.0
00824     //
00825     virtual CORBA::Long dimensionSize(CORBA::Long dim);
00826 
00827     //
00828     // IDL:HxCorba/HistogramData/nrOfBins:1.0
00829     //
00830     virtual CORBA::Long nrOfBins();
00831 
00832     //
00833     // IDL:HxCorba/HistogramData/lowBin:1.0
00834     //
00835     virtual CORBA::Double lowBin(CORBA::Long dim);
00836 
00837     //
00838     // IDL:HxCorba/HistogramData/highBin:1.0
00839     //
00840     virtual CORBA::Double highBin(CORBA::Long dim);
00841 
00842     //
00843     // IDL:HxCorba/HistogramData/binWidth:1.0
00844     //
00845     virtual CORBA::Double binWidth(CORBA::Long dim);
00846 
00847     //
00848     // IDL:HxCorba/HistogramData/binToValue:1.0
00849     //
00850     virtual CORBA::Double binToValue(CORBA::Long bin,
00851                                      CORBA::Long dim);
00852 
00853     //
00854     // IDL:HxCorba/HistogramData/valueToBin:1.0
00855     //
00856     virtual CORBA::Long valueToBin(CORBA::Double value,
00857                                    CORBA::Long dim);
00858 
00859     //
00860     // IDL:HxCorba/HistogramData/get1:1.0
00861     //
00862     virtual CORBA::Double get1(CORBA::Long bin1);
00863 
00864     //
00865     // IDL:HxCorba/HistogramData/get2:1.0
00866     //
00867     virtual CORBA::Double get2(CORBA::Long bin1,
00868                                CORBA::Long bin2);
00869 
00870     //
00871     // IDL:HxCorba/HistogramData/get3:1.0
00872     //
00873     virtual CORBA::Double get3(CORBA::Long bin1,
00874                                CORBA::Long bin2,
00875                                CORBA::Long bin3);
00876 
00877     //
00878     // IDL:HxCorba/HistogramData/sum:1.0
00879     //
00880     virtual CORBA::Double sum();
00881 
00882     //
00883     // IDL:HxCorba/HistogramData/minVal:1.0
00884     //
00885     virtual CORBA::Double minVal();
00886 
00887     //
00888     // IDL:HxCorba/HistogramData/maxVal:1.0
00889     //
00890     virtual CORBA::Double maxVal();
00891 
00892     //
00893     // IDL:HxCorba/HistogramData/maxValIndex:1.0
00894     //
00895     virtual CORBA::Double maxValIndex(CORBA::Long_out index);
00896 
00897     //
00898     // IDL:HxCorba/HistogramData/getDataDouble:1.0
00899     //
00900     virtual HxCorba::BinDataSequence* getDataDouble();
00901 };
00902 
00903 //
00904 // IDL:HxCorba/Histogram:1.0
00905 //
00906 class Histogram : virtual public OBStubImpl_HxCorba::Histogram,
00907                   virtual public OBMarshalStubImpl_HxCorba::HistogramData
00908 {
00909     Histogram(const Histogram&);
00910     void operator=(const Histogram&);
00911 
00912 protected:
00913 
00914     Histogram() { }
00915     friend class HxCorba::Histogram;
00916 
00917 public:
00918 
00919     //
00920     // IDL:HxCorba/Histogram/smooth:1.0
00921     //
00922     virtual HxCorba::Histogram_ptr smooth(CORBA::Double sigma);
00923 
00924     //
00925     // IDL:HxCorba/Histogram/modes:1.0
00926     //
00927     virtual HxCorba::HistogramModeSeq* modes();
00928 
00929     //
00930     // IDL:HxCorba/Histogram/normalize:1.0
00931     //
00932     virtual HxCorba::Histogram_ptr normalize(CORBA::Double weight);
00933 
00934     //
00935     // IDL:HxCorba/Histogram/intersection:1.0
00936     //
00937     virtual CORBA::Double intersection(HxCorba::Histogram_ptr h);
00938 
00939     //
00940     // IDL:HxCorba/Histogram/chiSquare:1.0
00941     //
00942     virtual CORBA::Double chiSquare(HxCorba::Histogram_ptr h);
00943 
00944     //
00945     // IDL:HxCorba/Histogram/chiSquareNorm:1.0
00946     //
00947     virtual CORBA::Double chiSquareNorm(HxCorba::Histogram_ptr h);
00948 
00949     //
00950     // IDL:HxCorba/Histogram/threshold:1.0
00951     //
00952     virtual HxCorba::Histogram_ptr threshold(CORBA::Double valThreshold);
00953 
00954     //
00955     // IDL:HxCorba/Histogram/countBins:1.0
00956     //
00957     virtual CORBA::Long countBins(CORBA::Double valThreshold);
00958 
00959     //
00960     // IDL:HxCorba/Histogram/reduceRange:1.0
00961     //
00962     virtual HxCorba::Histogram_ptr reduceRange(CORBA::Long binMin1,
00963                                                CORBA::Long binMax1,
00964                                                CORBA::Long binMin2,
00965                                                CORBA::Long binMax2,
00966                                                CORBA::Long binMin3,
00967                                                CORBA::Long binMax3);
00968 
00969     //
00970     // IDL:HxCorba/Histogram/reduceRangeVal:1.0
00971     //
00972     virtual HxCorba::Histogram_ptr reduceRangeVal(CORBA::Double binValMin1,
00973                                                   CORBA::Double binValMax1,
00974                                                   CORBA::Double binValMin2,
00975                                                   CORBA::Double binValMax2,
00976                                                   CORBA::Double binValMin3,
00977                                                   CORBA::Double binValMax3);
00978 
00979     //
00980     // IDL:HxCorba/Histogram/to1D:1.0
00981     //
00982     virtual HxCorba::Histogram_ptr to1D(CORBA::Long dim);
00983 
00984     //
00985     // IDL:HxCorba/Histogram/render3d:1.0
00986     //
00987     virtual void render3d(HxCorba::RgbBuffer_ptr buf,
00988                           CORBA::Long dataWidth,
00989                           CORBA::Long dataHeight,
00990                           CORBA::Double elevation,
00991                           CORBA::Double alpha,
00992                           CORBA::Double threshold);
00993 
00994     //
00995     // IDL:HxCorba/Histogram/destroy:1.0
00996     //
00997     virtual void destroy();
00998 };
00999 
01000 //
01001 // IDL:HxCorba/HistogramFactory:1.0
01002 //
01003 class HistogramFactory : virtual public OBStubImpl_HxCorba::HistogramFactory,
01004                          virtual public OB::MarshalStubImpl
01005 {
01006     HistogramFactory(const HistogramFactory&);
01007     void operator=(const HistogramFactory&);
01008 
01009 protected:
01010 
01011     HistogramFactory() { }
01012     friend class HxCorba::HistogramFactory;
01013 
01014 public:
01015 
01016     //
01017     // IDL:HxCorba/HistogramFactory/makeHistogramFromFile:1.0
01018     //
01019     virtual HxCorba::Histogram_ptr makeHistogramFromFile(const char* filename);
01020 };
01021 
01022 } // End of namespace OBMarshalStubImpl_HxCorba
01023 
01024 //
01025 // IDL:HxCorba:1.0
01026 //
01027 namespace OBV_HxCorba
01028 {
01029 
01030 } // End of namespace OBV_HxCorba
01031 
01032 //
01033 // IDL:HxCorba/BinDataSequence:1.0
01034 //
01035 void operator<<=(CORBA::Any&, HxCorba::BinDataSequence*);
01036 void operator<<=(CORBA::Any&, const HxCorba::BinDataSequence&);
01037 CORBA::Boolean operator>>=(const CORBA::Any&, const HxCorba::BinDataSequence*&);
01038 
01039 inline void
01040 operator<<=(CORBA::Any_var& any, HxCorba::BinDataSequence* val)
01041 {
01042     any.inout() <<= val;
01043 }
01044 
01045 inline void
01046 operator<<=(CORBA::Any_var& any, const HxCorba::BinDataSequence& val)
01047 {
01048     any.inout() <<= val;
01049 }
01050 
01051 inline CORBA::Boolean
01052 operator>>=(const CORBA::Any_var& any, const HxCorba::BinDataSequence*& val)
01053 {
01054     return any.in() >>= val;
01055 }
01056 
01057 //
01058 // IDL:HxCorba/HistogramData:1.0
01059 //
01060 namespace CORBA
01061 {
01062 
01063 inline void
01064 release(HxCorba::HistogramData_ptr p)
01065 {
01066     if(p)
01067         p -> _OB_decRef();
01068 }
01069 
01070 inline Boolean
01071 is_nil(HxCorba::HistogramData_ptr p)
01072 {
01073     return p == 0;
01074 }
01075 
01076 inline void
01077 release(OBStubImpl_HxCorba::HistogramData_ptr p)
01078 {
01079     if(p)
01080         p -> _OB_decRef();
01081 }
01082 
01083 inline Boolean
01084 is_nil(OBStubImpl_HxCorba::HistogramData_ptr p)
01085 {
01086     return p == 0;
01087 }
01088 
01089 } // End of namespace CORBA
01090 
01091 void operator<<=(CORBA::Any&, HxCorba::HistogramData_ptr*);
01092 void operator<<=(CORBA::Any&, HxCorba::HistogramData_ptr);
01093 CORBA::Boolean operator>>=(const CORBA::Any&, HxCorba::HistogramData_ptr&);
01094 
01095 inline void
01096 operator<<=(CORBA::Any_var& any, HxCorba::HistogramData_ptr* val)
01097 {
01098     any.inout() <<= val;
01099 }
01100 
01101 inline void
01102 operator<<=(CORBA::Any_var& any, HxCorba::HistogramData_ptr val)
01103 {
01104     any.inout() <<= val;
01105 }
01106 
01107 inline CORBA::Boolean
01108 operator>>=(const CORBA::Any_var& any, HxCorba::HistogramData_ptr& val)
01109 {
01110     return any.in() >>= val;
01111 }
01112 
01113 //
01114 // IDL:HxCorba/HistogramMode:1.0
01115 //
01116 void operator<<=(CORBA::Any&, HxCorba::HistogramMode*);
01117 void operator<<=(CORBA::Any&, const HxCorba::HistogramMode&);
01118 CORBA::Boolean operator>>=(const CORBA::Any&, const HxCorba::HistogramMode*&);
01119 
01120 inline void
01121 operator<<=(CORBA::Any_var& any, HxCorba::HistogramMode* val)
01122 {
01123     any.inout() <<= val;
01124 }
01125 
01126 inline void
01127 operator<<=(CORBA::Any_var& any, const HxCorba::HistogramMode& val)
01128 {
01129     any.inout() <<= val;
01130 }
01131 
01132 inline CORBA::Boolean
01133 operator>>=(const CORBA::Any_var& any, const HxCorba::HistogramMode*& val)
01134 {
01135     return any.in() >>= val;
01136 }
01137 
01138 //
01139 // IDL:HxCorba/HistogramModeSeq:1.0
01140 //
01141 void operator<<=(CORBA::Any&, HxCorba::HistogramModeSeq*);
01142 void operator<<=(CORBA::Any&, const HxCorba::HistogramModeSeq&);
01143 CORBA::Boolean operator>>=(const CORBA::Any&, const HxCorba::HistogramModeSeq*&);
01144 
01145 inline void
01146 operator<<=(CORBA::Any_var& any, HxCorba::HistogramModeSeq* val)
01147 {
01148     any.inout() <<= val;
01149 }
01150 
01151 inline void
01152 operator<<=(CORBA::Any_var& any, const HxCorba::HistogramModeSeq& val)
01153 {
01154     any.inout() <<= val;
01155 }
01156 
01157 inline CORBA::Boolean
01158 operator>>=(const CORBA::Any_var& any, const HxCorba::HistogramModeSeq*& val)
01159 {
01160     return any.in() >>= val;
01161 }
01162 
01163 //
01164 // IDL:HxCorba/Histogram:1.0
01165 //
01166 namespace CORBA
01167 {
01168 
01169 inline void
01170 release(HxCorba::Histogram_ptr p)
01171 {
01172     if(p)
01173         p -> _OB_decRef();
01174 }
01175 
01176 inline Boolean
01177 is_nil(HxCorba::Histogram_ptr p)
01178 {
01179     return p == 0;
01180 }
01181 
01182 inline void
01183 release(OBStubImpl_HxCorba::Histogram_ptr p)
01184 {
01185     if(p)
01186         p -> _OB_decRef();
01187 }
01188 
01189 inline Boolean
01190 is_nil(OBStubImpl_HxCorba::Histogram_ptr p)
01191 {
01192     return p == 0;
01193 }
01194 
01195 } // End of namespace CORBA
01196 
01197 void operator<<=(CORBA::Any&, HxCorba::Histogram_ptr*);
01198 void operator<<=(CORBA::Any&, HxCorba::Histogram_ptr);
01199 CORBA::Boolean operator>>=(const CORBA::Any&, HxCorba::Histogram_ptr&);
01200 
01201 inline void
01202 operator<<=(CORBA::Any_var& any, HxCorba::Histogram_ptr* val)
01203 {
01204     any.inout() <<= val;
01205 }
01206 
01207 inline void
01208 operator<<=(CORBA::Any_var& any, HxCorba::Histogram_ptr val)
01209 {
01210     any.inout() <<= val;
01211 }
01212 
01213 inline CORBA::Boolean
01214 operator>>=(const CORBA::Any_var& any, HxCorba::Histogram_ptr& val)
01215 {
01216     return any.in() >>= val;
01217 }
01218 
01219 //
01220 // IDL:HxCorba/HistogramFactory:1.0
01221 //
01222 namespace CORBA
01223 {
01224 
01225 inline void
01226 release(HxCorba::HistogramFactory_ptr p)
01227 {
01228     if(p)
01229         p -> _OB_decRef();
01230 }
01231 
01232 inline Boolean
01233 is_nil(HxCorba::HistogramFactory_ptr p)
01234 {
01235     return p == 0;
01236 }
01237 
01238 inline void
01239 release(OBStubImpl_HxCorba::HistogramFactory_ptr p)
01240 {
01241     if(p)
01242         p -> _OB_decRef();
01243 }
01244 
01245 inline Boolean
01246 is_nil(OBStubImpl_HxCorba::HistogramFactory_ptr p)
01247 {
01248     return p == 0;
01249 }
01250 
01251 } // End of namespace CORBA
01252 
01253 void operator<<=(CORBA::Any&, HxCorba::HistogramFactory_ptr*);
01254 void operator<<=(CORBA::Any&, HxCorba::HistogramFactory_ptr);
01255 CORBA::Boolean operator>>=(const CORBA::Any&, HxCorba::HistogramFactory_ptr&);
01256 
01257 inline void
01258 operator<<=(CORBA::Any_var& any, HxCorba::HistogramFactory_ptr* val)
01259 {
01260     any.inout() <<= val;
01261 }
01262 
01263 inline void
01264 operator<<=(CORBA::Any_var& any, HxCorba::HistogramFactory_ptr val)
01265 {
01266     any.inout() <<= val;
01267 }
01268 
01269 inline CORBA::Boolean
01270 operator>>=(const CORBA::Any_var& any, HxCorba::HistogramFactory_ptr& val)
01271 {
01272     return any.in() >>= val;
01273 }
01274 
01275 //
01276 // IDL:HxCorba/HistogramList:1.0
01277 //
01278 void operator<<=(CORBA::Any&, HxCorba::HistogramList*);
01279 void operator<<=(CORBA::Any&, const HxCorba::HistogramList&);
01280 CORBA::Boolean operator>>=(const CORBA::Any&, const HxCorba::HistogramList*&);
01281 
01282 inline void
01283 operator<<=(CORBA::Any_var& any, HxCorba::HistogramList* val)
01284 {
01285     any.inout() <<= val;
01286 }
01287 
01288 inline void
01289 operator<<=(CORBA::Any_var& any, const HxCorba::HistogramList& val)
01290 {
01291     any.inout() <<= val;
01292 }
01293 
01294 inline CORBA::Boolean
01295 operator>>=(const CORBA::Any_var& any, const HxCorba::HistogramList*& val)
01296 {
01297     return any.in() >>= val;
01298 }
01299 
01300 #endif

Generated on Tue Jan 8 13:56:53 2002 for C++Binding by doxygen1.2.12 written by Dimitri van Heesch, © 1997-2001