00001 /*===========================================================================*\ 00002 * * 00003 * OpenMesh * 00004 * Copyright (C) 2001-2005 by Computer Graphics Group, RWTH Aachen * 00005 * www.openmesh.org * 00006 * * 00007 *---------------------------------------------------------------------------* 00008 * * 00009 * License * 00010 * * 00011 * This library is free software; you can redistribute it and/or modify it * 00012 * under the terms of the GNU Library General Public License as published * 00013 * by the Free Software Foundation, version 2. * 00014 * * 00015 * This library is distributed in the hope that it will be useful, but * 00016 * WITHOUT ANY WARRANTY; without even the implied warranty of * 00017 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * 00018 * Library General Public License for more details. * 00019 * * 00020 * You should have received a copy of the GNU Library General Public * 00021 * License along with this library; if not, write to the Free Software * 00022 * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. * 00023 * * 00024 \*===========================================================================*/ 00025 00026 //============================================================================= 00027 // 00028 // CLASS newClass 00029 // 00030 //============================================================================= 00031 00032 00033 #ifndef OPENMESH_VDPM_STREAMINGDEF_HH 00034 #define OPENMESH_VDPM_STREAMINGDEF_HH 00035 00036 //== INCLUDES ================================================================= 00037 00038 //== FORWARDDECLARATIONS ====================================================== 00039 00040 //== NAMESPACES =============================================================== 00041 00042 namespace OpenMesh { 00043 namespace VDPM { 00044 00045 00046 //== CLASS DEFINITION ========================================================= 00047 00048 #define VDPM_STREAMING_PORT 4096 00049 00050 #define DEBUG_COUT 00051 //#define QDATASTREAM 00052 00053 #ifdef DEBUG_COUT 00054 static bool debug_print_; 00055 static bool debug_print() { return debug_print_; } 00056 static void set_debug_print(bool flag) { debug_print_ = flag; } 00057 #endif 00058 00059 enum VDPMDownLinkStatus { kStarted, kFinished, kStartable }; 00060 enum VDPMStreamingPhase { kBaseMesh, kVSplitHeader, kVSplits }; 00061 enum VDPMClientMode { kStatic, kDynamic }; 00062 enum VHierarchySearchMode { kBruteForce, kUseHashing }; 00063 00064 00065 //============================================================================= 00066 } // namespace VDPM 00067 } // namespace OpenMesh 00068 //============================================================================= 00069 #endif // OPENMESH_VDPROGMESH_VDPMSTREAMINGDEF_HH defined 00070 //============================================================================= 00071 00072