Changeset 860 for GTP


Ignore:
Timestamp:
04/28/06 18:42:54 (18 years ago)
Author:
mattausch
Message:
 
Location:
GTP/trunk/Lib/Vis
Files:
2 added
104 edited

Legend:

Unmodified
Added
Removed
  • GTP/trunk/Lib/Vis/OnlineCullingCHC/OGRE/scripts/Plugin_VisibilitySceneManager.vcproj

    r850 r860  
    8888                                EnableFiberSafeOptimizations="TRUE" 
    8989                                OptimizeForProcessor="2" 
    90                                 AdditionalIncludeDirectories=""$(OGRE_PATH)\PlugIns\OctreeSceneManager\include";"$(OGRE_PATH)\Samples\Common\include";"$(OGRE_PATH)\Dependencies\include\CEGUI";"$(OGRE_PATH)\Samples\Common\CEGUIRenderer\include";"$(OGRE_PATH)\OgreMain\include";"$(OGRE_PATH)\Dependencies\include";..\include;..\..\..\OnlineCullingCHC\include;..\..\..\Preprocessing\src" 
     90                                AdditionalIncludeDirectories=""$(OGRE_PATH)\PlugIns\OctreeSceneManager\include";"$(OGRE_PATH)\Samples\Common\include";"$(OGRE_PATH)\Dependencies\include\CEGUI";"$(OGRE_PATH)\Samples\Common\CEGUIRenderer\include";"$(OGRE_PATH)\OgreMain\include";"$(OGRE_PATH)\Dependencies\include";..\include;..\..\..\OnlineCullingCHC\include;..\..\..\Preprocessing\include" 
    9191                                PreprocessorDefinitions="WIN32;NDEBUG;_WINDOWS;_USRDLL;GTP_VISIBILITY_MODIFIED_OGRE" 
    9292                                StringPooling="TRUE" 
     
    222222                                </File> 
    223223                                <File 
     224                                        RelativePath="..\include\OgreTypeConverter.h"> 
     225                                </File> 
     226                                <File 
    224227                                        RelativePath="..\include\OgreVisibilityOptionsManager.h"> 
    225228                                </File> 
    226229                                <File 
    227230                                        RelativePath="..\include\OgreVisibilitySceneManager.h"> 
    228                                 </File> 
    229                                 <File 
    230                                         RelativePath="..\include\ViewCellBspTree.h"> 
    231231                                </File> 
    232232                        </Filter> 
     
    257257                                <File 
    258258                                        RelativePath="..\src\OgreSolidHalfBoundingBox.cpp"> 
     259                                </File> 
     260                                <File 
     261                                        RelativePath="..\src\OgreTypeConverter.cpp"> 
    259262                                </File> 
    260263                                <File 
  • GTP/trunk/Lib/Vis/OnlineCullingCHC/OGRE/src/OgreOcclusionCullingSceneManager.cpp

    r853 r860  
    836836} 
    837837 
    838 bool OcclusionCullingSceneManager::CompareBoundingBoxes(const AxisAlignedBox &boxa,  
     838/*bool OcclusionCullingSceneManager::CompareBoundingBoxes(const AxisAlignedBox &boxa,  
    839839                                                                                                                const AxisAlignedBox &boxb) 
    840840{ 
    841841} 
    842  
     842*/ 
    843843void OcclusionCullingSceneManager::LoadViewCells(string filename) 
    844844{ 
     
    862862                         MovableObject *mo = oit.getNext(); 
    863863                         AxisAlignedBox bbox = mo->getWorldBoundingBox(); 
    864                 CompareBoundingBoxes(*oit, box); 
     864//              CompareBoundingBoxes(*oit, box); 
    865865                 } 
    866866        } 
  • GTP/trunk/Lib/Vis/Preprocessing/scripts/Preprocessor.vcproj

    r833 r860  
    491491                        </File> 
    492492                        <File 
    493                                 RelativePath="..\include\Polygon3.h"> 
    494                         </File> 
    495                         <File 
    496493                                RelativePath="..\include\Preprocessor.h"> 
    497494                        </File> 
  • GTP/trunk/Lib/Vis/Preprocessing/src/AxisAlignedBox3.cpp

    r704 r860  
    99#include "Mesh.h" 
    1010 
     11using namespace GtpVisibilityPreprocessor { 
     12 
    1113#define FATAL Debug 
    1214#define FATAL_ABORT exit(1) 
     
    5456        for (it = newpoly.mVertices.begin(); it != it_end; ++ it) 
    5557                Include(*it); 
     58} 
     59 
     60void 
     61AxisAlignedBox3::Include(const PolygonContainer &polys) 
     62{ 
     63        PolygonContainer::const_iterator it, it_end = polys.end(); 
     64 
     65        for (it = polys.begin(); it != it_end; ++ it) 
     66                Include(*(*it)); 
    5667} 
    5768 
     
    20382049 
    20392050 
    2040 void AxisAlignedBox3::AddBoxToMesh(Mesh *mesh) const 
     2051void IncludeBoxInMesh(const AxisAlignedBox3 &box, Mesh &mesh) 
    20412052{ 
    20422053        // add 6 vertices of the box 
    2043         int index = (int)mesh->mVertices.size(); 
     2054        int index = (int)mesh.mVertices.size(); 
    20442055         
    2045         for (int i=0; i < 8; i++)  
     2056        for (int i=0; i < 8; ++ i)  
    20462057        { 
    20472058                Vector3 v; 
    2048                 GetVertex(i, v); 
    2049                 mesh->mVertices.push_back(v); 
     2059                box.GetVertex(i, v); 
     2060                mesh.mVertices.push_back(v); 
    20502061        } 
    20512062         
    2052         mesh->AddFace(new Face(index + 0, index + 1, index + 3, index + 2) ); 
    2053         mesh->AddFace(new Face(index + 0, index + 2, index + 6, index + 4) ); 
    2054         mesh->AddFace(new Face(index + 4, index + 6, index + 7, index + 5) ); 
     2063        mesh.AddFace(new Face(index + 0, index + 1, index + 3, index + 2) ); 
     2064        mesh.AddFace(new Face(index + 0, index + 2, index + 6, index + 4) ); 
     2065        mesh.AddFace(new Face(index + 4, index + 6, index + 7, index + 5) ); 
    20552066         
    2056         mesh->AddFace(new Face(index + 3, index + 1, index + 5, index + 7) ); 
    2057         mesh->AddFace(new Face(index + 0, index + 4, index + 5, index + 1) ); 
    2058         mesh->AddFace(new Face(index + 2, index + 3, index + 7, index + 6) ); 
     2067        mesh.AddFace(new Face(index + 3, index + 1, index + 5, index + 7) ); 
     2068        mesh.AddFace(new Face(index + 0, index + 4, index + 5, index + 1) ); 
     2069        mesh.AddFace(new Face(index + 2, index + 3, index + 7, index + 6) ); 
    20592070} 
    20602071 
     
    21112122 
    21122123} 
     2124 
     2125} 
  • GTP/trunk/Lib/Vis/Preprocessing/src/AxisAlignedBox3.h

    r859 r860  
    108108  void Include(const Polygon3 &newpoly); 
    109109  void Include(const AxisAlignedBox3 &bbox); 
     110  void Include (const PolygonContainer &polys); 
    110111  void Include(Mesh *mesh); 
    111112  // Expand the axis-aligned box to include given values in particular axis 
     
    359360                                                   const AxisAlignedBox3 &neighbour) const; 
    360361 
    361   /** Adds the box faces to the mesh. 
    362   */ 
    363   void AddBoxToMesh(Mesh *mesh) const; 
     362  /** Includes the box faces to the mesh description 
     363  */ 
     364  friend void IncludeBoxInMesh(const AxisAlignedBox3 &box, Mesh &mesh); 
    364365 
    365366  /** Box faces are turned into polygons. 
  • GTP/trunk/Lib/Vis/Preprocessing/src/Beam.cpp

    r840 r860  
    44#include "Polygon3.h" 
    55 
     6using namespace GtpVisibilityPreprocessor { 
    67 
    78void 
     
    209210        mPlanes.pop_back(); 
    210211} 
     212 
     213} 
  • GTP/trunk/Lib/Vis/Preprocessing/src/Beam.h

    r542 r860  
    1111class Intersectable; 
    1212class Mesh; 
     13 
     14namespace GtpVisibilityPreprocessor { 
    1315 
    1416// the values need for rss tree update computed already inside the glrendererbuffer 
     
    114116}; 
    115117 
     118} 
    116119 
    117120#endif 
  • GTP/trunk/Lib/Vis/Preprocessing/src/Camera.cpp

    r492 r860  
    1414 
    1515 
     16using namespace GtpVisibilityPreprocessor { 
    1617 
    1718 
     
    143144   
    144145} 
     146 
     147} 
  • GTP/trunk/Lib/Vis/Preprocessing/src/Camera.h

    r492 r860  
    55#include "AxisAlignedBox3.h" 
    66 
     7namespace GtpVisibilityPreprocessor { 
     8 
    79class KdTree; 
    810class SceneGraph; 
     11 
    912 
    1013class Camera 
     
    7376}; 
    7477 
     78} 
    7579 
    7680#endif 
  • GTP/trunk/Lib/Vis/Preprocessing/src/Containers.h

    r850 r860  
    66 
    77using namespace std; 
     8 
     9namespace GtpVisibilityPreprocessor { 
    810 
    911class ViewCell; 
     
    5658typedef vector<IndexedBoundingBox> IndexedBoundingBoxContainer; 
    5759 
     60} 
     61 
    5862#endif // _Container_H__ 
    59  
  • GTP/trunk/Lib/Vis/Preprocessing/src/Environment.cpp

    r859 r860  
    2121 
    2222   
     23using namespace GtpVisibilityPreprocessor { 
     24 
    2325Environment *environment = NULL; 
    2426 
     
    22012203 
    22022204} 
     2205 
     2206} 
  • GTP/trunk/Lib/Vis/Preprocessing/src/Environment.h

    r492 r860  
    1818#include "common.h" 
    1919 
     20namespace GtpVisibilityPreprocessor { 
     21 
    2022class Vector3; 
    21  
    2223 
    2324 
     
    352353extern Environment *environment; 
    353354 
     355} 
     356 
    354357#endif // __ENVIRON_H__ 
    355358 
  • GTP/trunk/Lib/Vis/Preprocessing/src/ExactPreprocessor.cpp

    r372 r860  
    11#include "ExactPreprocessor.h" 
    22 
    3    
     3using namespace GtpVisibilityPreprocessor { 
     4 
    45bool 
    56ExactPreprocessor::ComputeVisibility() 
     
    910}; 
    1011 
    11  
     12} 
  • GTP/trunk/Lib/Vis/Preprocessing/src/ExactPreprocessor.h

    r439 r860  
    11#ifndef _ExactPreprocessor_H__ 
    22#define _ExactPreprocessor_H__ 
     3 
     4namespace GtpVisibilityPreprocessor { 
    35 
    46#include "Preprocessor.h" 
     
    1113 
    1214  }; 
    13    
    1415 
     16} 
    1517 
    1618#endif 
  • GTP/trunk/Lib/Vis/Preprocessing/src/Exporter.cpp

    r712 r860  
    22#include "X3dExporter.h" 
    33#include "VrmlExporter.h" 
     4 
     5using namespace GtpVisibilityPreprocessor { 
    46 
    57Exporter * 
     
    2426} 
    2527 
     28} 
  • GTP/trunk/Lib/Vis/Preprocessing/src/Exporter.h

    r535 r860  
    55#include <vector> 
    66using namespace std; 
     7 
     8namespace GtpVisibilityPreprocessor { 
    79 
    810#include "Material.h" 
     
    139141}; 
    140142  
    141  
     143} 
    142144 
    143145#endif 
  • GTP/trunk/Lib/Vis/Preprocessing/src/FromPointVisibilityTree.cpp

    r840 r860  
    1717#include "ViewCellsManager.h" 
    1818#include "Beam.h" 
     19 
     20using namespace GtpVisibilityPreprocessor { 
    1921 
    2022#define USE_FIXEDPOINT_T 0 
     
    39303932        } 
    39313933} 
     3934 
     3935} 
  • GTP/trunk/Lib/Vis/Preprocessing/src/FromPointVisibilityTree.h

    r810 r860  
    1010#include "RayInfo.h" 
    1111#include "ViewCellBsp.h" 
     12 
     13namespace GtpVisibilityPreprocessor { 
    1214 
    1315class ViewCell; 
     
    2527class ViewCellsTree; 
    2628 
    27  
    28 struct BspRay; 
    2929 
    3030 
     
    845845}; 
    846846 
    847  
     847} 
    848848 
    849849 
  • GTP/trunk/Lib/Vis/Preprocessing/src/GlRenderer.cpp

    r859 r860  
    1515 
    1616#include <QVBoxLayout> 
     17 
     18using namespace GtpVisibilityPreprocessor { 
    1719 
    1820static CGcontext sCgContext = NULL; 
     
    21652167        glClearColor(1.0f, 1.0f, 1.0f, 1.0f); 
    21662168} 
     2169 
     2170} 
  • GTP/trunk/Lib/Vis/Preprocessing/src/GlRenderer.h

    r811 r860  
    1111#include "Renderer.h" 
    1212#include "Beam.h" 
     13 
     14namespace GtpVisibilityPreprocessor { 
    1315 
    1416class SceneGraph; 
     
    426428extern GlDebuggerWidget *debuggerWidget; 
    427429 
     430} 
     431 
    428432#endif 
    429433 
  • GTP/trunk/Lib/Vis/Preprocessing/src/Halton.cpp

    r492 r860  
    11 
    22#include "Halton.h" 
     3 
     4using namespace GtpVisibilityPreprocessor { 
    35 
    46// global halton generator 
     
    68Halton2 halton2; 
    79float Halton2::_invBases[2]; 
     10 
     11} 
  • GTP/trunk/Lib/Vis/Preprocessing/src/Halton.h

    r497 r860  
    44#include <iostream> 
    55using namespace std; 
     6 
     7namespace GtpVisibilityPreprocessor { 
    68 
    79class Halton2 { 
     
    132134 
    133135extern Halton2 halton2; 
     136} 
    134137 
    135138#endif 
  • GTP/trunk/Lib/Vis/Preprocessing/src/Intersectable.h

    r850 r860  
    44#include "AxisAlignedBox3.h" 
    55#include "Pvs.h" 
     6 
     7namespace GtpVisibilityPreprocessor { 
    68 
    79struct VssRayContainer; 
     
    7981}; 
    8082 
     83} 
    8184 
    8285#endif 
  • GTP/trunk/Lib/Vis/Preprocessing/src/KdTree.cpp

    r859 r860  
    99 
    1010int KdNode::mailID = 1; 
     11 
     12using namespace GtpVisibilityPreprocessor { 
    1113 
    1214 
     
    10521054  return (int)beam.mKdNodes.size(); 
    10531055} 
     1056 
     1057} 
  • GTP/trunk/Lib/Vis/Preprocessing/src/KdTree.h

    r859 r860  
    1010#include "Pvs.h" 
    1111#include "Viewcell.h" 
    12    
     12 
     13namespace GtpVisibilityPreprocessor { 
     14 
    1315class KdNode; 
    1416class KdLeaf; 
     
    537539 
    538540 
    539  
     541} 
    540542 
    541543#endif 
  • GTP/trunk/Lib/Vis/Preprocessing/src/Material.cpp

    r608 r860  
    11#include "common.h" 
    22#include "Material.h" 
     3 
     4using namespace GtpVisibilityPreprocessor { 
    35 
    46 
     
    2325                                  a + Random(b)); 
    2426} 
     27 
     28} 
  • GTP/trunk/Lib/Vis/Preprocessing/src/Material.h

    r608 r860  
    22#define __MATERIAL_H 
    33 
     4namespace GtpVisibilityPreprocessor { 
    45 
    56 
     
    4748 
    4849 
    49  
     50} 
    5051 
    5152#endif 
  • GTP/trunk/Lib/Vis/Preprocessing/src/Matrix4x4.cpp

    r245 r860  
    55#include <iomanip> 
    66using namespace std; 
     7 
     8using namespace GtpVisibilityPreprocessor { 
    79 
    810 
     
    646648  return Vector3(M.x[3][0], M.x[3][1], M.x[3][2]); 
    647649} 
     650 
     651} 
  • GTP/trunk/Lib/Vis/Preprocessing/src/Matrix4x4.h

    r209 r860  
    44#include <iostream> 
    55using namespace std; 
     6 
     7namespace GtpVisibilityPreprocessor { 
    68 
    79class Vector3; 
     
    99101}; 
    100102 
    101  
     103} 
    102104 
    103105#endif 
  • GTP/trunk/Lib/Vis/Preprocessing/src/Mesh.cpp

    r859 r860  
    33#include "MeshKdTree.h" 
    44#include "Triangle3.h" 
     5 
     6using namespace GtpVisibilityPreprocessor { 
     7 
    58 
    69int Intersectable::sMailId = 21843194198; 
     
    592595  return mesh; 
    593596} 
     597 
     598} 
  • GTP/trunk/Lib/Vis/Preprocessing/src/Mesh.h

    r859 r860  
    99#include "AxisAlignedBox3.h" 
    1010#include "Material.h" 
     11 
     12namespace GtpVisibilityPreprocessor { 
    1113 
    1214struct Triangle3; 
     
    255257}; 
    256258 
    257  
     259} 
    258260 
    259261#endif 
  • GTP/trunk/Lib/Vis/Preprocessing/src/MeshKdTree.cpp

    r752 r860  
    55#include "Mesh.h" 
    66#include "MeshKdTree.h" 
     7 
     8using namespace GtpVisibilityPreprocessor { 
     9 
    710 
    811float MeshKdTree::mSplitBorder; 
     
    462465 
    463466} 
     467 
     468} 
  • GTP/trunk/Lib/Vis/Preprocessing/src/MeshKdTree.h

    r177 r860  
    99#include "Ray.h" 
    1010 
    11    
     11namespace GtpVisibilityPreprocessor { 
     12 
    1213class MeshKdNode; 
    1314class MeshKdLeaf; 
     
    265266 
    266267 
    267  
     268} 
    268269 
    269270 
  • GTP/trunk/Lib/Vis/Preprocessing/src/MutualVisibility.cpp

    r386 r860  
    1010#include "Triangle3.h" 
    1111#include "SceneGraph.h" 
     12 
     13using namespace GtpVisibilityPreprocessor { 
    1214 
    1315void 
     
    709711} 
    710712   
     713} 
  • GTP/trunk/Lib/Vis/Preprocessing/src/MutualVisibility.h

    r501 r860  
    44#include "Vector3.h" 
    55#include "Ray.h" 
     6 
     7namespace GtpVisibilityPreprocessor { 
    68 
    79class Intersectable; 
     
    180182 
    181183 
    182  
     184} 
    183185 
    184186#endif 
  • GTP/trunk/Lib/Vis/Preprocessing/src/Parser.h

    r658 r860  
    44#include <string> 
    55using namespace std; 
     6 
     7namespace GtpVisibilityPreprocessor { 
    68 
    79class SceneGraphNode; 
     
    2022}; 
    2123 
     24} 
    2225 
    2326#endif 
  • GTP/trunk/Lib/Vis/Preprocessing/src/Plane3.cpp

    r639 r860  
    33 
    44 
     5using namespace GtpVisibilityPreprocessor { 
    56 
    67 
     
    8283        return - Distance(a) / dv; // TODO: could be done more efficiently 
    8384} 
     85 
     86} 
  • GTP/trunk/Lib/Vis/Preprocessing/src/Plane3.h

    r697 r860  
    33 
    44#include "Vector3.h" 
     5 
     6namespace GtpVisibilityPreprocessor { 
    57 
    68   
     
    7577   
    7678 
    77  
     79} 
    7880 
    7981#endif 
  • GTP/trunk/Lib/Vis/Preprocessing/src/PlyParser.cpp

    r752 r860  
    99#include "Mesh.h" 
    1010 
     11using namespace GtpVisibilityPreprocessor { 
    1112 
    1213// int facesPerMesh = 100000000; 
     
    291292  return true; 
    292293} 
     294 
     295} 
  • GTP/trunk/Lib/Vis/Preprocessing/src/PlyParser.h

    r752 r860  
    44#include "Parser.h" 
    55#include "Containers.h" 
     6 
     7using namespace GtpVisibilityPreprocessor { 
    68 
    79class ViewCellsManager; 
     
    2426}; 
    2527 
     28} 
    2629 
    2730#endif 
  • GTP/trunk/Lib/Vis/Preprocessing/src/Polygon3.cpp

    r840 r860  
    44#include "Ray.h" 
    55#include "Triangle3.h" 
     6 
     7 
     8using namespace GtpVisibilityPreprocessor { 
     9 
    610 
    711Polygon3::Polygon3():  
     
    260264 
    261265 
    262 void Polygon3::IncludeInBox(const PolygonContainer &polys, AxisAlignedBox3 &box) 
    263 { 
    264         PolygonContainer::const_iterator it, it_end = polys.end(); 
    265  
    266         for (it = polys.begin(); it != it_end; ++ it) 
    267                 box.Include(*(*it)); 
    268 } 
    269  
    270  
    271266// int_lineseg returns 1 if the given line segment intersects a 2D 
    272267// ray travelling in the positive X direction.  This is used in the 
     
    569564        } 
    570565} 
     566 
     567} 
  • GTP/trunk/Lib/Vis/Preprocessing/src/Polygon3.h

    r840 r860  
    99#include "Mesh.h" 
    1010#include <iomanip> 
     11 
     12namespace GtpVisibilityPreprocessor { 
    1113 
    1214class Polygon3; 
     
    118120        Polygon3 *CreateReversePolygon() const; 
    119121 
    120         /// vertices are connected in counterclockwise order. 
    121         VertexContainer mVertices; 
    122  
    123         /// we can also store materials with polygons 
    124         Material *mMaterial; 
    125          
    126         /// pointer to the mesh instance this polygon is derived from 
    127         MeshInstance *mParent; 
    128  
    129         /// Rays piercing this polygon 
    130         RayContainer mPiercingRays; 
    131  
    132  
    133         /** Includes polygons to axis aligned box. 
    134         */ 
    135         static void IncludeInBox(const PolygonContainer &polys, AxisAlignedBox3 &box); 
    136122 
    137123        /** Classify polygons with respect to the plane. 
     
    155141        */ 
    156142        friend void IncludePolyInMesh(const Polygon3 &poly, Mesh &mesh); 
     143 
     144 
     145         
     146        /// vertices are connected in counterclockwise order. 
     147        VertexContainer mVertices; 
     148 
     149        /// we can also store materials with polygons 
     150        Material *mMaterial; 
     151         
     152        /// pointer to the mesh instance this polygon is derived from 
     153        MeshInstance *mParent; 
     154 
     155        /// Rays piercing this polygon 
     156        RayContainer mPiercingRays; 
     157 
    157158}; 
    158159 
     
    170171} 
    171172 
     173} 
    172174 
    173175#endif 
  • GTP/trunk/Lib/Vis/Preprocessing/src/Polytope.cpp

    r372 r860  
    11#include "Polytope.h" 
     2 
     3using namespace GtpVisibilityPreprocessor { 
    24 
    35/************************************************ 
     
    2224} 
    2325 
     26} 
  • GTP/trunk/Lib/Vis/Preprocessing/src/Polytope.h

    r372 r860  
    33 
    44#include "Containers.h" 
     5 
     6namespace GtpVisibilityPreprocessor { 
    57 
    68class Hyperplane; 
     
    4547}; 
    4648 
     49} 
     50 
    4751#endif // Polytope 
  • GTP/trunk/Lib/Vis/Preprocessing/src/Preprocessor.cpp

    r840 r860  
    1313#include "GlRenderer.h" 
    1414#include "PlyParser.h" 
     15 
     16using namespace GtpVisibilityPreprocessor { 
     17 
    1518 
    1619Preprocessor *preprocessor; 
     
    605608  return true; 
    606609} 
     610 
     611} 
  • GTP/trunk/Lib/Vis/Preprocessing/src/Preprocessor.h

    r746 r860  
    99 
    1010#include <QObject> 
     11 
     12namespace GtpVisibilityPreprocessor { 
    1113 
    1214class RenderSimulator; 
     
    186188extern Preprocessor *preprocessor; 
    187189 
     190} 
     191 
    188192#endif 
  • GTP/trunk/Lib/Vis/Preprocessing/src/PreprocessorThread.cpp

    r712 r860  
    77#include "Preprocessor.h" 
    88 
     9 
     10using namespace GtpVisibilityPreprocessor { 
    911 
    1012 
     
    5658  cerr<<"Preprocessor thread destructor...\n"; 
    5759} 
     60 
     61} 
  • GTP/trunk/Lib/Vis/Preprocessing/src/PreprocessorThread.h

    r556 r860  
    33 
    44#include <QThread> 
     5 
     6namespace GtpVisibilityPreprocessor { 
    57 
    68class Preprocessor; 
     
    2325}; 
    2426 
     27} 
    2528 
    2629#endif 
  • GTP/trunk/Lib/Vis/Preprocessing/src/Pvs.cpp

    r469 r860  
    11#include <iostream> 
    22#include "Pvs.h" 
     3 
     4using namespace GtpVisibilityPreprocessor { 
    35 
    46int 
     
    79        return 0; // TODO 
    810} 
     11 
     12} 
  • GTP/trunk/Lib/Vis/Preprocessing/src/Pvs.h

    r752 r860  
    44#include <map> 
    55#include <vector> 
     6 
     7namespace GtpVisibilityPreprocessor { 
    68 
    79class KdNode; 
     
    422424typedef Pvs<Intersectable *> ObjectPvs; 
    423425 
     426} 
    424427 
    425428#endif 
  • GTP/trunk/Lib/Vis/Preprocessing/src/Ray.cpp

    r644 r860  
    22#include "Plane3.h" 
    33#include "VssRay.h" 
     4 
     5using namespace GtpVisibilityPreprocessor { 
    46 
    57// ========================================================= 
     
    241243  Precompute(); 
    242244} 
     245 
     246} 
  • GTP/trunk/Lib/Vis/Preprocessing/src/Ray.h

    r563 r860  
    66#include "Vector3.h" 
    77//#include "ViewCellBsp.h" 
     8 
     9namespace GtpVisibilityPreprocessor { 
    810 
    911// forward declarations 
     
    332334}; 
    333335 
     336} 
     337 
    334338#endif  
    335339 
  • GTP/trunk/Lib/Vis/Preprocessing/src/RayInfo.cpp

    r801 r860  
    33#include "VssRay.h" 
    44#include "Plane3.h" 
     5 
     6using namespace GtpVisibilityPreprocessor { 
    57 
    68RayInfo::RayInfo(): mRay(NULL), mMinT(0), 
     
    167169        return SqrDistance(ExtrapOrigin(), ExtrapTermination()); 
    168170} 
     171 
     172} 
  • GTP/trunk/Lib/Vis/Preprocessing/src/RayInfo.h

    r437 r860  
    44#include <vector> 
    55using namespace std; 
     6 
     7namespace GtpVisibilityPreprocessor { 
    68 
    79class VssRay; 
     
    8991}; 
    9092 
     93 
     94} 
     95 
    9196#endif  
    9297 
  • GTP/trunk/Lib/Vis/Preprocessing/src/Rectangle3.cpp

    r223 r860  
    11#include "Rectangle3.h" 
     2 
     3using namespace GtpVisibilityPreprocessor { 
    24 
    35 
     
    3739   
    3840} 
     41 
     42} 
  • GTP/trunk/Lib/Vis/Preprocessing/src/Rectangle3.h

    r245 r860  
    44using namespace std; 
    55#include "Vector3.h" 
     6 
     7namespace GtpVisibilityPreprocessor { 
    68 
    79/// rectangle vertices 
     
    6365}; 
    6466 
     67} 
    6568 
    6669#endif 
  • GTP/trunk/Lib/Vis/Preprocessing/src/RenderSimulator.cpp

    r728 r860  
    66#include "VspKdTree.h" 
    77#include "ViewCellsManager.h" 
     8 
     9 
     10using namespace GtpVisibilityPreprocessor { 
     11 
    812 
    913void SimulationStatistics::Print(ostream &app) const 
     
    163167        simStats = mSimulationStatistics; 
    164168} 
     169 
     170} 
  • GTP/trunk/Lib/Vis/Preprocessing/src/RenderSimulator.h

    r574 r860  
    66#include "Renderer.h" 
    77 
     8namespace GtpVisibilityPreprocessor { 
    89 
    910class SimulationStatistics: public StatisticsBase 
     
    117118}; 
    118119 
     120} 
     121 
    119122#endif // RenderSimulator 
  • GTP/trunk/Lib/Vis/Preprocessing/src/Renderer.cpp

    r497 r860  
    11#include "Renderer.h" 
     2 
     3using namespace GtpVisibilityPreprocessor { 
    24 
    35 
     
    2022} 
    2123 
     24} 
  • GTP/trunk/Lib/Vis/Preprocessing/src/Renderer.h

    r497 r860  
    33 
    44#include "common.h" 
     5 
     6namespace GtpVisibilityPreprocessor { 
    57 
    68class ViewCellsManager; 
     
    2931}; 
    3032 
     33} 
    3134 
    3235#endif // Renderer 
  • GTP/trunk/Lib/Vis/Preprocessing/src/RssPreprocessor.cpp

    r859 r860  
    1313#include "GlRenderer.h" 
    1414 
     15using namespace GtpVisibilityPreprocessor { 
     16 
     17 
    1518static bool useViewSpaceBox = false; 
    1619static bool use2dSampling = false; 
     
    808811} 
    809812 
     813} 
  • GTP/trunk/Lib/Vis/Preprocessing/src/RssPreprocessor.h

    r576 r860  
    1111class RssTreeLeaf; 
    1212 
     13namespace GtpVisibilityPreprocessor { 
    1314 
    1415/** Sampling based visibility preprocessing. The implementation is based on heuristical 
     
    140141 
    141142 
     143} 
    142144 
    143145#endif 
  • GTP/trunk/Lib/Vis/Preprocessing/src/RssTree.cpp

    r667 r860  
    2828#include "Preprocessor.h" 
    2929#include "SceneGraph.h" 
     30 
     31 
     32using namespace GtpVisibilityPreprocessor { 
     33 
    3034 
    3135#define DEBUG_SPLIT_COST 0 
     
    28052809        st.push(RayTraversalData(mRoots[i], info)); 
    28062810} 
     2811 
     2812 
     2813} 
  • GTP/trunk/Lib/Vis/Preprocessing/src/RssTree.h

    r569 r860  
    2727 
    2828#include "Containers.h" 
     29 
     30namespace GtpVisibilityPreprocessor { 
    2931 
    3032#define USE_KDNODE_VECTORS 1 
     
    10791081}; 
    10801082 
     1083} 
    10811084 
    10821085#endif // __LSDS_KDTREE_H__ 
  • GTP/trunk/Lib/Vis/Preprocessing/src/SamplingPreprocessor.cpp

    r574 r860  
    99#include "ViewCellsManager.h" 
    1010#include "RenderSimulator.h" 
     11 
     12 
     13using namespace GtpVisibilityPreprocessor { 
     14 
    1115 
    1216SamplingPreprocessor::SamplingPreprocessor(): mPass(0) 
     
    447451        } 
    448452} 
     453 
     454} 
  • GTP/trunk/Lib/Vis/Preprocessing/src/SamplingPreprocessor.h

    r469 r860  
    77#include "Preprocessor.h" 
    88#include "VssRay.h" 
     9 
     10namespace GtpVisibilityPreprocessor { 
    911 
    1012class Exporter; 
     
    9597}; 
    9698 
     99} 
     100 
    97101#endif 
  • GTP/trunk/Lib/Vis/Preprocessing/src/SceneGraph.cpp

    r576 r860  
    55#include "X3dExporter.h" 
    66#include "Intersectable.h" 
     7 
     8 
     9using namespace GtpVisibilityPreprocessor { 
    710 
    811 
     
    132135  mBox = box; 
    133136} 
     137 
     138} 
  • GTP/trunk/Lib/Vis/Preprocessing/src/SceneGraph.h

    r492 r860  
    88#include "AxisAlignedBox3.h" 
    99 
     10namespace GtpVisibilityPreprocessor { 
    1011   
    1112/** Basic scene graph node, we are interested only in bounding boxes and topology 
     
    4243 
    4344 
     45} 
    4446 
    4547#endif 
  • GTP/trunk/Lib/Vis/Preprocessing/src/Statistics.h

    r469 r860  
    44 
    55#include "common.h" 
     6 
     7namespace GtpVisibilityPreprocessor { 
    68 
    79// -------------------------------------------------------------- 
     
    3840}; 
    3941 
     42} 
    4043 
    4144#endif 
  • GTP/trunk/Lib/Vis/Preprocessing/src/Tetrahedron3.cpp

    r544 r860  
    11#include "Tetrahedron3.h" 
     2 
     3 
     4using namespace GtpVisibilityPreprocessor { 
    25 
    36 
     
    2629        return true; 
    2730} 
     31 
     32} 
  • GTP/trunk/Lib/Vis/Preprocessing/src/Tetrahedron3.h

    r544 r860  
    44#include "Triangle3.h" 
    55#include "Vector3.h" 
     6 
     7namespace GtpVisibilityPreprocessor { 
    68 
    79class Tetrahedron3  
     
    6365}; 
    6466 
     67} 
    6568 
    6669#endif 
  • GTP/trunk/Lib/Vis/Preprocessing/src/Triangle3.cpp

    r191 r860  
    11#include "Triangle3.h" 
     2 
     3using namespace GtpVisibilityPreprocessor { 
    24 
    35float 
     
    68  return 0.0f; 
    79} 
     10 
     11} 
  • GTP/trunk/Lib/Vis/Preprocessing/src/Triangle3.h

    r544 r860  
    33 
    44#include "Vector3.h" 
     5 
     6namespace GtpVisibilityPreprocessor { 
    57 
    68struct Triangle3 { 
     
    4446}; 
    4547 
     48} 
    4649 
    4750#endif 
  • GTP/trunk/Lib/Vis/Preprocessing/src/UnigraphicsParser.cpp

    r752 r860  
    1313#include "Environment.h" 
    1414 
     15using namespace GtpVisibilityPreprocessor { 
    1516 
    1617#define ROTATE_SCENE 0 
     
    189190} 
    190191 
    191  
    192  
    193  
    194  
    195  
    196  
    197  
    198  
     192} 
  • GTP/trunk/Lib/Vis/Preprocessing/src/UnigraphicsParser.h

    r658 r860  
    66#include "Parser.h" 
    77 
     8namespace GtpVisibilityPreprocessor { 
     9 
    810class SceneGraphNode; 
    9  
    1011 
    1112class UnigraphicsParser : public Parser 
     
    1920}; 
    2021 
     22} 
    2123 
    2224 
  • GTP/trunk/Lib/Vis/Preprocessing/src/Vector3.cpp

    r728 r860  
    22#include "Vector3.h" 
    33#include "Halton.h" 
     4 
     5using namespace GtpVisibilityPreprocessor { 
    46 
    57// Given min a vector to minimize and a candidate vector, replace 
     
    251253} 
    252254 
     255} 
  • GTP/trunk/Lib/Vis/Preprocessing/src/Vector3.h

    r492 r860  
    77#include "common.h" 
    88 
    9  
     9namespace GtpVisibilityPreprocessor { 
    1010 
    1111// Forward-declare some other classes. 
     
    485485 
    486486 
    487  
     487} 
    488488 
    489489#endif 
  • GTP/trunk/Lib/Vis/Preprocessing/src/ViewCell.cpp

    r844 r860  
    1313#include <stack> 
    1414 
     15using namespace GtpVisibilityPreprocessor { 
    1516 
    1617 
     
    22112212        app << "===== END OF BspTree statistics ==========\n"; 
    22122213} 
     2214 
     2215} 
  • GTP/trunk/Lib/Vis/Preprocessing/src/ViewCell.h

    r844 r860  
    88#include "Material.h" 
    99//namespace GtpVisibilityPreprocessor { 
     10 
     11namespace GtpVisibilityPreprocessor { 
    1012 
    1113struct Triangle3; 
     
    682684}; 
    683685 
     686} 
     687 
    684688#endif 
  • GTP/trunk/Lib/Vis/Preprocessing/src/ViewCellBsp.cpp

    r840 r860  
    1515#include <stack> 
    1616 
     17using namespace GtpVisibilityPreprocessor { 
    1718 
    1819 
     
    819820        // compute bounding box 
    820821        if (!forcedBoundingBox) 
    821                 Polygon3::IncludeInBox(*polys, mBox); 
     822                mBox.Include(*polys); 
    822823 
    823824        //-- store rays 
     
    13081309         
    13091310        // create bounding box of region 
    1310         Polygon3::IncludeInBox(polys, box); 
     1311        box.Include(polys); 
    13111312         
    13121313        int objectsBack = 0, objectsFront = 0; 
     
    13511352         
    13521353                // create bounding box of region 
    1353                 Polygon3::IncludeInBox(*data.mPolygons, box); 
     1354                box.Include(*data.mPolygons); 
    13541355 
    13551356                const int axis = box.Size().DrivingAxis(); 
     
    29692970{ 
    29702971        box.Initialize(); 
    2971         Polygon3::IncludeInBox(mPolys, box); 
     2972        box.Include(mPolys); 
    29722973} 
    29732974 
     
    33323333        } 
    33333334} 
     3335 
     3336} 
  • GTP/trunk/Lib/Vis/Preprocessing/src/ViewCellBsp.h

    r840 r860  
    1010#include "ViewCell.h" 
    1111 
    12  
     12namespace GtpVisibilityPreprocessor { 
    1313 
    1414class ViewCell; 
     
    10741074}; 
    10751075 
     1076/** struct storing the view cell intersections. 
     1077*/ 
    10761078struct BspRay  
    10771079{ 
     
    10831085}; 
    10841086 
     1087} 
     1088 
    10851089#endif 
  • GTP/trunk/Lib/Vis/Preprocessing/src/ViewCellsManager.cpp

    r859 r860  
    1515#include "VssPreprocessor.h" 
    1616#include "RssPreprocessor.h" 
     17 
     18using namespace GtpVisibilityPreprocessor { 
     19 
    1720 
    1821// HACK 
     
    35233526        { 
    35243527                VspKdLeaf *l = dynamic_cast<VspKdViewCell *>(*it)->mLeaf; 
    3525                 mVspKdTree->GetBBox(l).AddBoxToMesh(&m); 
     3528                IncludeBoxInMesh(mVspKdTree->GetBBox(l), m); 
    35263529        } 
    35273530 
     
    50185021} 
    50195022 
     5023 
     5024} 
  • GTP/trunk/Lib/Vis/Preprocessing/src/ViewCellsManager.h

    r859 r860  
    77#include "ViewCell.h" 
    88#include "ViewCellBsp.h" 
     9 
     10namespace GtpVisibilityPreprocessor { 
    911 
    1012class ViewCell; 
     
    356358                                                                                const Plane3 *clipPlane = NULL) const = 0; 
    357359 
     360        /** Brings the view cells into their final state, computes meshes and volume. 
     361        */ 
    358362        virtual void FinalizeViewCells(const bool createMesh); 
    359363 
     
    530534        void CreateClipPlane(); 
    531535 
     536        /** Updates pvs of all view cells for statistical evaluation after some more sampling 
     537        */ 
    532538        virtual void UpdatePvsForEvaluation(ViewCell *root, ObjectPvs &pvs) = 0; 
    533  
    534  
    535539 
    536540 
     
    972976}; 
    973977 
     978} 
     979 
    974980#endif 
  • GTP/trunk/Lib/Vis/Preprocessing/src/ViewCellsParser.cpp

    r664 r860  
    3030#include "VspKdTree.h" 
    3131#include "ViewCellsManager.h" 
     32 
     33using namespace GtpVisibilityPreprocessor { 
     34 
    3235 
    3336// --------------------------------------------------------------------------- 
     
    729732    return true; 
    730733} 
     734 
     735} 
  • GTP/trunk/Lib/Vis/Preprocessing/src/ViewCellsParser.h

    r575 r860  
    44#include "Parser.h" 
    55#include "Containers.h" 
     6 
     7namespace GtpVisibilityPreprocessor { 
    68 
    79class ViewCellsManager; 
     
    1921}; 
    2022 
     23} 
    2124 
    2225#endif 
  • GTP/trunk/Lib/Vis/Preprocessing/src/ViewCellsParserXerces.h

    r651 r860  
    77#include <xercesc/sax/HandlerBase.hpp> 
    88#include "Mesh.h" 
     9 
     10namespace GtpVisibilityPreprocessor { 
    911 
    1012XERCES_CPP_NAMESPACE_USE 
     
    171173} 
    172174 
     175} 
     176 
    173177#endif 
  • GTP/trunk/Lib/Vis/Preprocessing/src/VrmlExporter.cpp

    r840 r860  
    1515#include "Beam.h" 
    1616 
     17using namespace GtpVisibilityPreprocessor { 
    1718 
    1819 
     
    728729                        AxisAlignedBox3 box; 
    729730                        box = tree.GetBBox(leaf); 
    730                         box.AddBoxToMesh(mesh); 
     731                        IncludeBoxInMesh(box, *mesh); 
    731732 
    732733                        if (tree.ValidLeaf(leaf))  
     
    858859                                box = tree.GetBBox(leaf); 
    859860                                Mesh *mesh = new Mesh; 
    860                                 box.AddBoxToMesh(mesh); 
     861                                IncludeBoxInMesh(box, *mesh); 
    861862 
    862863                                // get 4 corners of the ray directions 
     
    13141315                box = tree.GetShrankedBBox(leaf); 
    13151316                Mesh *mesh = new Mesh; 
    1316                 box.AddBoxToMesh(mesh); 
     1317                IncludeBoxInMesh(box, *mesh); 
    13171318                 
    13181319                // get 4 corners of the ray directions 
     
    14041405        CLEAR_CONTAINER(polys); 
    14051406} 
     1407 
     1408} 
  • GTP/trunk/Lib/Vis/Preprocessing/src/VrmlExporter.h

    r712 r860  
    1212#include "VssRay.h" 
    1313#include "ViewCell.h" 
     14 
     15namespace GtpVisibilityPreprocessor { 
    1416 
    1517class SceneGraphNode; 
     
    145147}; 
    146148 
    147  
     149} 
    148150 
    149151#endif 
  • GTP/trunk/Lib/Vis/Preprocessing/src/VspBspTree.cpp

    r837 r860  
    1717#include "ViewCellsManager.h" 
    1818#include "Beam.h" 
     19 
     20using namespace GtpVisibilityPreprocessor { 
    1921 
    2022#define USE_FIXEDPOINT_T 0 
     
    38603862        } 
    38613863} 
     3864 
     3865} 
  • GTP/trunk/Lib/Vis/Preprocessing/src/VspBspTree.h

    r822 r860  
    2525class ViewCellsTree; 
    2626 
    27  
    28 struct BspRay; 
    29  
     27namespace GtpVisibilityPreprocessor { 
    3028 
    3129/** 
     
    325323        int CastBeam(Beam &beam); 
    326324 
    327         void CollectViewCells(BspNode *root,  
    328                                                   bool onlyValid,  
    329                                                   ViewCellContainer &viewCells, 
    330                                                   bool onlyUnmailed = false) const; 
    331  
    332          
     325        /** Finds approximate neighbours, i.e., finds correct neighbors 
     326                in most cases but sometimes more. 
     327        */ 
    333328        int FindApproximateNeighbors(BspNode *n,  
    334329                                                             vector<BspLeaf *> &neighbors, 
     
    404399        void EvalPriority(VspBspTraversalData &tData) const; 
    405400 
     401        /** Evaluates render cost decrease of next split. 
     402        */ 
    406403        float EvalRenderCostDecrease(const Plane3 &candidatePlane, 
    407404                                                                 const VspBspTraversalData &data) const; 
    408405 
     406        /** Constructs tree using the split priority queue. 
     407        */ 
    409408        void ConstructWithSplitQueue(const PolygonContainer &polys, RayInfoContainer *rays); 
    410409 
     410        /** Collects view cells in the subtree under root. 
     411        */ 
     412        void CollectViewCells(BspNode *root,  
     413                                                  bool onlyValid,  
     414                                                  ViewCellContainer &viewCells, 
     415                                                  bool onlyUnmailed = false) const; 
    411416 
    412417        /** Returns view cell corresponding to  
     
    831836}; 
    832837 
    833  
     838} 
    834839 
    835840 
  • GTP/trunk/Lib/Vis/Preprocessing/src/VspKdTree.cpp

    r744 r860  
    2727#include "ViewCellsManager.h" 
    2828#include "ViewCellBsp.h" 
     29 
     30using namespace GtpVisibilityPreprocessor { 
    2931 
    3032// Static variables 
     
    26442646        EvalMergeCost(); 
    26452647} 
     2648 
     2649} 
  • GTP/trunk/Lib/Vis/Preprocessing/src/VspKdTree.h

    r587 r860  
    3939class ViewCellsStatistics; 
    4040 
     41namespace GtpVisibilityPreprocessor { 
    4142 
    4243/** 
     
    891892}; 
    892893 
     894} 
    893895 
    894896#endif // __VSP_KDTREE_H__ 
  • GTP/trunk/Lib/Vis/Preprocessing/src/VssPreprocessor.cpp

    r767 r860  
    1414#include "GlRenderer.h" 
    1515#include "ViewCellBsp.h" 
     16 
     17using namespace GtpVisibilityPreprocessor { 
    1618 
    1719bool use2dSampling = false; 
     
    859861} 
    860862 
    861  
     863} 
  • GTP/trunk/Lib/Vis/Preprocessing/src/VssPreprocessor.h

    r674 r860  
    77#include "Preprocessor.h" 
    88#include "VssRay.h" 
     9 
     10namespace GtpVisibilityPreprocessor { 
     11 
    912class VssTree; 
    1013class VssTreeLeaf; 
     14 
    1115 
    1216 
     
    110114}; 
    111115 
    112  
     116} 
    113117 
    114118#endif 
  • GTP/trunk/Lib/Vis/Preprocessing/src/VssRay.cpp

    r492 r860  
    11#include "VssRay.h" 
    22#include "AxisAlignedBox3.h" 
     3 
     4using namespace GtpVisibilityPreprocessor { 
    35 
    46// Static variables 
     
    256258} 
    257259 
    258  
     260} 
  • GTP/trunk/Lib/Vis/Preprocessing/src/VssRay.h

    r556 r860  
    77#include "Ray.h" 
    88#include "Containers.h" 
     9 
     10namespace GtpVisibilityPreprocessor { 
    911 
    1012class AxisAlignedBox3; 
     
    318320}; 
    319321 
    320  
     322} 
    321323 
    322324#endif 
  • GTP/trunk/Lib/Vis/Preprocessing/src/VssTree.cpp

    r667 r860  
    2424#include "Intersectable.h" 
    2525#include "Ray.h" 
     26 
     27using namespace GtpVisibilityPreprocessor { 
    2628 
    2729#define DEBUG_SPLIT_COST 0 
     
    20082010  return rays.size(); 
    20092011} 
     2012 
     2013} 
  • GTP/trunk/Lib/Vis/Preprocessing/src/VssTree.h

    r466 r860  
    2121#include "VssRay.h" 
    2222#include "AxisAlignedBox3.h" 
    23  
     23#include "Statistics.h" 
     24#include "Ray.h" 
     25 
     26namespace GtpVisibilityPreprocessor { 
    2427 
    2528#define USE_KDNODE_VECTORS 1 
     
    2831 
    2932 
    30 #include "Statistics.h" 
    31 #include "Ray.h" 
    3233 
    3334// -------------------------------------------------------------- 
     
    928929}; 
    929930 
     931} 
    930932 
    931933#endif // __LSDS_KDTREE_H__ 
  • GTP/trunk/Lib/Vis/Preprocessing/src/X3dExporter.cpp

    r840 r860  
    1515#include "Beam.h" 
    1616 
     17using namespace GtpVisibilityPreprocessor { 
    1718 
    1819 
     
    710711                        AxisAlignedBox3 box; 
    711712                        box = tree.GetBBox(leaf); 
    712                         box.AddBoxToMesh(mesh); 
     713                        IncludeBoxInMesh(box, *mesh); 
    713714 
    714715                        if (tree.ValidLeaf(leaf)) { 
     
    813814                box = tree.GetBBox(leaf); 
    814815                Mesh *mesh = new Mesh; 
    815                 box.AddBoxToMesh(mesh); 
     816                IncludeBoxInMesh(box, *mesh); 
    816817                 
    817818                // get 4 corners of the ray directions 
     
    12441245                box = tree.GetShrankedBBox(leaf); 
    12451246                Mesh *mesh = new Mesh; 
    1246                 box.AddBoxToMesh(mesh); 
     1247                IncludeBoxInMesh(box, *mesh); 
    12471248                 
    12481249                // get 4 corners of the ray directions 
     
    13351336        CLEAR_CONTAINER(polys); 
    13361337} 
     1338 
     1339} 
  • GTP/trunk/Lib/Vis/Preprocessing/src/X3dExporter.h

    r535 r860  
    1212#include "VssRay.h" 
    1313#include "ViewCell.h" 
     14 
     15namespace GtpVisibilityPreprocessor { 
    1416 
    1517class SceneGraphNode; 
     
    145147}; 
    146148 
    147  
     149} 
    148150 
    149151#endif 
  • GTP/trunk/Lib/Vis/Preprocessing/src/X3dParser.cpp

    r752 r860  
    2929#include "Triangle3.h" 
    3030#include "ViewCellsManager.h" 
     31 
     32using namespace GtpVisibilityPreprocessor { 
     33 
    3134 
    3235// --------------------------------------------------------------------------- 
     
    986989    return true; 
    987990} 
     991 
     992} 
  • GTP/trunk/Lib/Vis/Preprocessing/src/X3dParser.h

    r694 r860  
    44#include "Parser.h" 
    55#include "Containers.h" 
     6 
     7namespace GtpVisibilityPreprocessor { 
    68 
    79class ViewCellsManager; 
     
    2123}; 
    2224 
     25} 
    2326 
    2427#endif 
  • GTP/trunk/Lib/Vis/Preprocessing/src/X3dParserXerces.h

    r801 r860  
    1313class AttributeList; 
    1414XERCES_CPP_NAMESPACE_END 
     15 
     16namespace GtpVisibilityPreprocessor { 
    1517 
    1618class SceneGraphNode; 
     
    287289} 
    288290 
     291} 
     292 
    289293#endif 
  • GTP/trunk/Lib/Vis/Preprocessing/src/common.h

    r582 r860  
    1919#include <iostream> 
    2020#include <fstream> 
     21 
    2122using namespace std; 
    2223 
Note: See TracChangeset for help on using the changeset viewer.