Changeset 749 for GTP


Ignore:
Timestamp:
04/11/06 23:27:41 (19 years ago)
Author:
bittner
Message:

ply parser support

Location:
GTP/trunk/Lib/Vis/Preprocessing/src
Files:
4 added
4 edited

Legend:

Unmodified
Added
Removed
  • GTP/trunk/Lib/Vis/Preprocessing/src/Makefile

    r746 r749  
    11############################################################################# 
    22# Makefile for building: preprocessor 
    3 # Generated by qmake (2.00a) (Qt 4.1.2) on: út 11. IV 11:35:23 2006 
     3# Generated by qmake (2.00a) (Qt 4.1.2) on: út 11. IV 23:20:14 2006 
    44# Project:  preprocessor.pro 
    55# Template: app 
  • GTP/trunk/Lib/Vis/Preprocessing/src/Preprocessor.cpp

    r746 r749  
    1212#include "RenderSimulator.h" 
    1313#include "GlRenderer.h" 
     14#include "PlyParser.h" 
    1415 
    1516Preprocessor *preprocessor; 
     
    9091                 
    9192                if (strstr(filename.c_str(), ".x3d")) 
    92                         parser = new X3dParser; 
     93                  parser = new X3dParser; 
    9394                else 
     95                  if (strstr(filename.c_str(), ".ply")) 
     96                        parser = new PlyParser; 
     97                  else 
    9498                        parser = new UnigraphicsParser; 
    9599 
  • GTP/trunk/Lib/Vis/Preprocessing/src/default.env

    r746 r749  
    1212#filename ../data/vienna/vienna-buildings.x3d;../data/vienna/vienna-roofs.x3d;../data/vienna/vienna-plane.x3d;../data/vienna/vienna-roads.x3d 
    1313# filename ../data/vienna/viewcells-25-sel.x3d 
    14 filename ../data/atlanta/atlanta2.x3d 
     14#filename ../data/atlanta/atlanta2.x3d 
    1515#filename ../data/soda/soda.dat 
    1616#filename ../data/soda/soda5.dat 
     17filename ../data/PowerPlant/ppsection1/part_a/g0.ply 
    1718} 
    1819 
     
    256257#       filename ../scripts/viewcells_atlanta.xml 
    257258#       filename ../scripts/viewcells_soda5-2.xml 
    258 #       filename ../data/soda/soda5-viewcells.xml 
     259        filename ../data/soda/soda5-viewcells.xml 
    259260#       filename ../scripts/viewcells_atlanta.xml 
    260261#       filename ../data/soda/soda5-viewcells2.xml 
    261         filename ../data/atlanta/viewcells_atlanta3.xml 
     262#       filename ../data/atlanta/viewcells_atlanta3.xml 
    262263#       filename ../data/vienna/viewcells_vienna.xml 
    263264} 
  • GTP/trunk/Lib/Vis/Preprocessing/src/preprocessor.pro

    r718 r749  
    4747ViewCellsManager.cpp VspBspTree.cpp GlRenderer.cpp \ 
    4848PreprocessorThread.cpp Renderer.cpp Beam.cpp ViewCellsParser.cpp Tetrahedron3.cpp \ 
    49 VrmlExporter.cpp 
     49VrmlExporter.cpp PlyParser.cpp plyfile.c 
    5050 
Note: See TracChangeset for help on using the changeset viewer.