Ignore:
Timestamp:
02/28/07 19:38:47 (17 years ago)
Author:
mattausch
Message:

removed using namespace std from .h

File:
1 edited

Legend:

Unmodified
Added
Removed
  • GTP/trunk/Lib/Vis/Preprocessing/src/Mesh.h

    r1763 r2176  
    33 
    44#include <vector> 
    5 using namespace std; 
     5// 
    66#include "Intersectable.h" 
    77#include "Plane3.h" 
     
    5656 
    5757/// default vertex container for Mesh 
    58 typedef vector<Vector3> VertexContainer; 
     58typedef std::vector<Vector3> VertexContainer; 
    5959 
    6060/// default patch container for Mesh 
     
    164164  CastRayToSelectedFaces( 
    165165                                                 Ray &ray, 
    166                                                  const vector<int> &faces, 
     166                                                 const std::vector<int> &faces, 
    167167                                                 Intersectable *instance 
    168168                                                 ); 
     
    213213  bool CheckMesh() const; 
    214214 
    215   void Print(ostream &app) const; 
    216  
    217   virtual ostream &Describe(ostream &s) const { 
     215  void Print(std::ostream &app) const; 
     216 
     217  virtual std::ostream &Describe(std::ostream &s) const { 
    218218        return s<<"Mesh #vertices="<<(int)mVertices.size()<<" #faces="<<(int)mFaces.size(); 
    219219  } 
     
    224224  friend Mesh *CreateMeshFromBox(const AxisAlignedBox3 &box); 
    225225 
    226   friend ostream& operator<< (ostream &s, const Vector3 &A); 
     226  friend std::ostream& operator<< (std::ostream &s, const Vector3 &A); 
    227227 
    228228protected: 
     
    234234 
    235235// Overload << operator for C++-style output 
    236 inline ostream& 
    237 operator<< (ostream &s, const Mesh &A) 
     236inline std::ostream& 
     237operator<< (std::ostream &s, const Mesh &A) 
    238238{ 
    239239        A.Print(s); 
     
    280280                CastRay( 
    281281                Ray &ray, 
    282                 const vector<int> &faces 
     282                const std::vector<int> &faces 
    283283                ); 
    284284 
    285285 
    286         virtual ostream &Describe(ostream &s) { 
     286        virtual std::ostream &Describe(std::ostream &s) { 
    287287                s<<"MeshInstance Id="<<GetId(); 
    288288                return mMesh->Describe(s); 
     
    323323  virtual int CastRay(Ray &ray); 
    324324 
    325   virtual int CastRay(Ray &ray, const vector<int> &faces); 
     325  virtual int CastRay(Ray &ray, const std::vector<int> &faces); 
    326326 
    327327  virtual int Type() const { return TRANSFORMED_MESH_INSTANCE; } 
Note: See TracChangeset for help on using the changeset viewer.