Commit Graph

970 Commits (be63c6eeacf7ed4604106dc0859602ba98847a4f)

Author SHA1 Message Date
Marius Kintel 41b15c04c0 intersection_for now dumps correctly 2010-10-31 02:42:38 +02:00
Marius Kintel 8a0ddf4e5b CSGTermRenderer refactor: minor update 2010-10-31 02:42:38 +02:00
Marius Kintel d0390c41a2 Added AbstractNode::name(), changed CSGTextRenderer to use this instead of the rtti name 2010-10-31 02:42:38 +02:00
Marius Kintel 93f3d4a1b6 CSGTermRenderer refactoring: Added matrix to traversal state 2010-10-31 02:42:38 +02:00
Marius Kintel c868525c67 cosmetics 2010-10-31 02:42:38 +02:00
Marius Kintel d172c353a2 Test should fail if cmd is not found 2010-10-31 02:42:38 +02:00
Marius Kintel f0b49ee9e9 Started refactoring of render_csg_term() into a visitor 2010-10-31 02:42:38 +02:00
Marius Kintel f2323c78b3 Better error output when cmd is not found 2010-10-31 02:42:38 +02:00
Marius Kintel 22b74585d8 Moved regression tests to tests directory 2010-10-31 02:42:38 +02:00
Marius Kintel 2b8bd3b4f3 Added support for specifying parameters to programs being tested 2010-10-31 02:42:38 +02:00
Marius Kintel 8cda80e8f3 assert fix (forgot to set root node on the tree) + mix. coding style fixes + a note to remember that this is the visitor refactor version 2010-10-31 02:42:38 +02:00
Marius Kintel 75d18642cc Compile fixes after working in test-code/ 2010-10-31 02:42:38 +02:00
Marius Kintel 5de0ad5f49 Mac OS X 32-bit build has been fixed 2010-10-31 02:42:37 +02:00
Marius Kintel 7f08361422 Added DXF export test 2010-10-31 02:42:37 +02:00
Marius Kintel 57153a38d2 Ignore tests without -expected files, refactored into function 2010-10-31 02:42:37 +02:00
Marius Kintel 69b1b6711d Support specifying output suffix 2010-10-31 02:42:37 +02:00
Marius Kintel 723db774f3 Export DXF to stream 2010-10-31 02:42:37 +02:00
Marius Kintel cdc87f3567 Regression test howto 2010-10-31 02:42:37 +02:00
Marius Kintel 14da5b7e67 output to stdout 2010-10-31 02:42:37 +02:00
Marius Kintel e46f9dab2f export to stream for stdout/stderr output support 2010-10-31 02:42:37 +02:00
Marius Kintel b4d03c4d8f doc 2010-10-31 02:42:37 +02:00
Marius Kintel d887b4f633 removed unused headers 2010-10-31 02:42:37 +02:00
Marius Kintel 8fafb720ca Don't assert dimension - groups without geometry will have dimension 0 2010-10-31 02:42:37 +02:00
Marius Kintel a38cd8d0f1 bugfix: render_polyset() returned NULL when DAT file wasn't found -> crash 2010-10-31 02:42:37 +02:00
Marius Kintel dee4f85572 Added cgal tests to CTest 2010-10-31 02:42:37 +02:00
Marius Kintel 7d9baec9ce Added note about absolute filenames 2010-10-31 02:42:36 +02:00
Marius Kintel 30d6f20048 Updated expected files with correct timestamps 2010-10-31 02:42:36 +02:00
Marius Kintel a8064004b4 Output errors to stderr instead of a log file 2010-10-31 02:42:36 +02:00
Marius Kintel e38a3d0379 printing the dump is redundant for this test. removed it 2010-10-31 02:42:36 +02:00
Marius Kintel 22466ac2db Expected files for csgtext test 2010-10-31 02:42:36 +02:00
Marius Kintel 8c028d95d0 Added csgtext tests 2010-10-31 02:42:36 +02:00
Marius Kintel 3000e9d5e8 Create expecteddir if necessary 2010-10-31 02:42:36 +02:00
Marius Kintel 9642787a27 Regression test system 2010-10-31 02:42:36 +02:00
Marius Kintel f61ae3f515 Added expected test results for dumptest 2010-10-31 02:42:36 +02:00
Marius Kintel 9a8d81a626 Added comment about absolute paths 2010-10-31 02:42:36 +02:00
Marius Kintel 5327dfad30 prefix instance variables with this-> 2010-10-31 02:42:36 +02:00
Marius Kintel 021edd8aa7 Ignore empty filenames when calculating absolute path 2010-10-31 02:42:36 +02:00
Marius Kintel ee14c3f944 Adapted to use MACOSX_DEPLOY_DIR 2010-10-31 02:42:36 +02:00
Marius Kintel f36e618a6f bugfix: use case sensitive includes 2010-10-31 02:42:35 +02:00
Marius Kintel 1caf80e561 Added CSGTextCache for experimenting with cache-tree organization 2010-10-31 02:42:35 +02:00
Marius Kintel e8e213b3c9 Another refactoring session:
o mk_cache_id() obsoleted by removing the node index from the dump
o node index output removed from each node and make optional in NodeDumper
o The visitors are no longer global, but associated with a tree
o Added Tree class to manage node trees and the (now implicit) dump cache
o Moved PolySet cache into PolySetRenderer
2010-10-31 02:42:35 +02:00
Marius Kintel 53a9953b7d build fixed after rebase conflict 2010-10-31 02:42:35 +02:00
Marius Kintel 99f406d994 Removed temporary REMOVE_DUMP define 2010-10-31 02:42:35 +02:00
Marius Kintel eb81def6eb Compile fixes for test programs 2010-10-31 02:42:35 +02:00
Marius Kintel 398571275e Compile fixes for test programs 2010-10-31 02:42:35 +02:00
Marius Kintel 8e9fc2cabc Reenabled polygon winding exception catch 2010-10-31 02:42:35 +02:00
Marius Kintel 621756e20d Enabled Csg and Intersection nodes in CGALRenderer, added more tests 2010-10-31 02:42:35 +02:00
Marius Kintel 184d0e041f Initial implementation of CGALRenderer 2010-10-31 02:42:35 +02:00
Marius Kintel 34a8206410 Saved text-based renderer as own file for future testing 2010-10-31 02:42:35 +02:00
Marius Kintel d3ae994eb8 Saved text-based renderer as own file for future testing 2010-10-31 02:42:35 +02:00