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

HxCorbaVxStructure.idl

Go to the documentation of this file.
00001 /*
00002  *  Copyright (c) 2001, University of Amsterdam, The Netherlands.
00003  *  All rights reserved.
00004  *
00005  *  Author(s):
00006  *  Marc Navarro            (mnavarro@wins.uva.nl)
00007  */
00008 
00009 #ifndef HxCorbaVxStructure_idl
00010 #define HxCorbaVxStructure_idl
00011 
00012 #include "HxCorbaVxSegmentation.idl"
00013 
00014 module HxCorba
00015 {
00016     struct VxStructureEval 
00017     { 
00018         long correct; 
00019         long missed; 
00020         long falseAlarm;
00021     };
00022 
00023     interface VxStructure
00024     {
00025         const string BLOCKS = "blocks";
00026         const string SHOTS = "shots";
00027         const string EFFECTS = "effects";
00028         const string SCENES = "scenes";
00029 
00030         StringSeq       getLevelNames();
00031         boolean         exist(in string levelId);
00032         long            size(in string levelId);
00033 
00034         boolean         push(in string level, in VxSegmentation seg);
00035         boolean         pushFromFile(in string level, in string filename);
00036 
00037         VxSegmentation  get(in string levelId);
00038         VxSegment       getSegment(in string levelId, in long index);
00039         VxSegment       mapsToSegment(in string levelId, in long timeSpan);
00040     
00041         VxSegmentation  getFromInterval(in string levelId, in VxTimeSpan timeSpan, 
00042                             in boolean complete);
00043         VxSegmentation  getWhereInt(in string levelId, in string strType, 
00044                             in long val);
00045         VxSegmentation  getWhereString(in string levelId, in string strType, 
00046                             in string val);
00047 
00048         VxSegmentation  getShots();
00049         VxSegmentation  getEffects();                               
00050 
00051         long            mapsToIndex(in string levelId, in VxTimeSpan timeSpan);
00052         long            mapsToIndexInt(in string levelId, in long timeSpan);
00053 
00054         LongSeq         getSegmentBoundaries(in string levelId, 
00055                             in VxTimeSpan timeSpan);
00056 
00057         boolean         isContinuous(in string levelId);
00058         boolean         isSequential(in string levelId);
00059         boolean         isParentOf(in string levelId1, in string levelId2);
00060         boolean         isChildOf(in string levelId1, in string levelId2);
00061 
00062         VxStructureEval compare(in string levelId, in VxSegmentation foundTruth);
00063     };
00064     
00065     
00066     interface VxStructureFactory
00067     {
00068         VxStructure makeVxStructure(in string base, in StringSeq extLevels);
00069     };
00070 };
00071     
00072 #endif //HxCorbaVxStructure_idl    

Generated on Tue Jan 8 13:55:44 2002 for IDLReference by doxygen1.2.12 written by Dimitri van Heesch, © 1997-2001