Log of /temp_trunk_copy/pyvisi/test
Directory Listing
Revision
1384 -
Directory Listing
Modified
Fri Jan 11 02:29:38 2008 UTC
(13 years ago)
by
phornby
Make a temp copy of the trunk before checking in the windows changes
Revision
1376 -
Directory Listing
Modified
Wed Jan 9 01:38:18 2008 UTC
(13 years ago)
by
gross
Original Path:
trunk/pyvisi/test
inserted sys.exit(1) into the tests so scons can detect the failure of the test.
A similar statement has been removed from an earlier as it produces problems on 64bit Linux. Previously exit(0) was called in case of success but now this is not done in order to avoid a fatal end of the program. in the case of an error in the test there could be a fatal error so but I guess that this not really a problem.
PS: the fact that signal 0 was returned even for the case of an error lead to the illusion that all tests have been completed successfully.
Revision
1213 -
Directory Listing
Modified
Thu Jul 5 04:18:34 2007 UTC
(13 years, 6 months ago)
by
jongui
Original Path:
trunk/pyvisi/test
Added a reference directory for sample images for the unit testing.
Revision
1211 -
Directory Listing
Modified
Wed Jul 4 05:16:46 2007 UTC
(13 years, 6 months ago)
by
jongui
Original Path:
trunk/pyvisi/test
- Fixed some minor bugs.
- Added a new feature called 'MapOnScalarClipWithRotation' that clips a two-dimensional data with a scalar value and subsequently rotating it to create a three-dimensional effect.
- Corresponding examples, test cases and documentation of the new module have also been added.
Revision
1208 -
Directory Listing
Modified
Mon Jul 2 04:46:10 2007 UTC
(13 years, 6 months ago)
by
jongui
Original Path:
trunk/pyvisi/test
Made some changes to the Carpet module. When 3D data is used, a cut will be performed using a plane before deformation occurs on the plane. However, if 2D data is used a cut will NOT be performed and deformation will instead occur immediately.
Pyvisi distinguishes 2D from 3D data by retrieving the length of the z-axis. A 2D data will have a z-axis length of zero while a 3D data will have a z-axis length of non-zero. There are exceptions to these rules where some 2D data may have a non-zero z-axis length. However, such exceptions are not taken into account at this stage.
Revision
1205 -
Directory Listing
Modified
Fri Jun 29 04:44:04 2007 UTC
(13 years, 7 months ago)
by
jongui
Original Path:
trunk/pyvisi/test
- Fixed a minor bug in the Velocity module.
- Added the Rectangle module which enables rectangles to be created.
- Added corresponding examples and test cases for the Rectangle.
- Updated the guide and necessary epydocs.
Revision
1199 -
Directory Listing
Modified
Wed Jun 20 05:01:30 2007 UTC
(13 years, 7 months ago)
by
jongui
Original Path:
trunk/pyvisi/test
- Updated the epydocs and guide.
Deleted redundant files and methods.
Tidied up the codes.
Revision
1197 -
Directory Listing
Modified
Mon Jun 18 02:08:34 2007 UTC
(13 years, 7 months ago)
by
jongui
Original Path:
trunk/pyvisi/test
Update the way movies are generated. Please refer to the examples.
The user can now either specify the image range(first and last images inclusive):
mov.imageRange(input_directory = PYVISI_EXAMPLE_IMAGES_PATH,
first_image = IMAGE_NAME + "000938.jpg",
last_image = IMAGE_NAME + "000948.jpg")
mov.makeMovie(os.path.join(PYVISI_EXAMPLE_IMAGES_PATH, "movie.mpg"))
or the user can specify a list of images:
lst = ['image1.jpg', 'image5.jpg', 'image7.jpg]
mov.imageList(input_directory = PYVISI_EXAMPLE_IMAGES_PATH, image_list = lst)
mov.makeMovie(os.path.join(PYVISI_EXAMPLE_IMAGES_PATH, "movie.mpg"))
Revision
1194 -
Directory Listing
Modified
Thu Jun 14 05:53:49 2007 UTC
(13 years, 7 months ago)
by
jongui
Original Path:
trunk/pyvisi/test
- Fixed a minor bug in the Camera module.
- Added some extra capability to the Movie module.
- The Camera module now has the capability to perform parallel projection by calling the 'parallelProjectionOn' method.
- The Camera at this stage is only capable of zooming towards the rendered object using 'dolly'. However, it appears that 'dolly' cannot be used to perform zooming out.
Revision
1191 -
Directory Listing
Modified
Tue Jun 12 05:54:41 2007 UTC
(13 years, 7 months ago)
by
jongui
Original Path:
trunk/pyvisi/test
A movie can now be generated within the python script itself by creating an instace of 'Movie'. The 'Movie' instance will in turn execute the 'ppmtompeg' command. The corresponding tests and examples have also been added.
Revision
1189 -
Directory Listing
Modified
Thu Jun 7 05:31:25 2007 UTC
(13 years, 7 months ago)
by
jongui
Original Path:
trunk/pyvisi/test
A Scalar Bar can now be displayed by creating an instance of a 'Legend'. The Scalar Bar can either show the scalar data range or vector data range. Corresponding examples and tests have also been added.
Revision
1185 -
Directory Listing
Modified
Thu May 31 04:33:31 2007 UTC
(13 years, 8 months ago)
by
gross
Original Path:
trunk/pyvisi/test
once again: some changes to get the tests passed on windows.
Revision
1169 -
Directory Listing
Modified
Fri May 25 03:44:14 2007 UTC
(13 years, 8 months ago)
by
jongui
Original Path:
trunk/pyvisi/test
Added another example that shows the use of multiple modules in a script together.
Revision
1168 -
Directory Listing
Modified
Thu May 24 05:36:42 2007 UTC
(13 years, 8 months ago)
by
jongui
Original Path:
trunk/pyvisi/test
Pyvisi now has the capability to save the rendered objects as VRML (.wrl) and OpenInventor (.iv) file types. Corresponding tests have also been added.
Revision
1167 -
Directory Listing
Modified
Thu May 24 01:04:17 2007 UTC
(13 years, 8 months ago)
by
jongui
Original Path:
trunk/pyvisi/test
Deleted remaining scenes from the test cases and updated the guide.
Revision
1163 -
Directory Listing
Modified
Wed May 23 23:56:39 2007 UTC
(13 years, 8 months ago)
by
gross
Original Path:
trunk/pyvisi/test
import of DISPLAY environment variable into scons ENV added. This is required to run pyvisi tests under XGL
Revision
1158 -
Directory Listing
Modified
Tue May 22 04:24:01 2007 UTC
(13 years, 8 months ago)
by
jongui
Original Path:
trunk/pyvisi/test
Made some changes to fix the memory leak problem. However, the problem still persists for run_escript_with_lazy_evaluation.py, run_streamline.py and run_streamline_with_lazy_evaluation.py.
Revision
1148 -
Directory Listing
Modified
Wed May 16 22:45:33 2007 UTC
(13 years, 8 months ago)
by
jongui
Original Path:
trunk/pyvisi/test
Added the updated files for pyvisi and removed some incorrect reference images.
Revision
1147 -
Directory Listing
Added
Wed May 16 06:39:11 2007 UTC
(13 years, 8 months ago)
by
ksteube
Original Path:
trunk/pyvisi/test
Added back in some files that were accidentally deleted.