Randy: Odd.. never seen it like that cut off... It seems to run fine here, and on the dashboards. What about the other paintbrush tests (1/2/3 etc). We do not have mac VTKEdge dashboards, but there is nothing that should have caused that kind of an output on the mac.
When I meant run it with the second last argument as 1 instead of 0, I meant, please run it as the following from your prompt : /home/karthik/Kitware/VTKEdge/bin/bin/VTKEdgeWidgetsCxxTests PaintbrushTest4 /home/karthik/Kitware/VTKEdge/src/VTKEdge/Data/Data/IBSRDataCropped.mha /home/karthik/Kitware/VTKEdge/src/VTKEdge/Data/Data/IBSRLabelMap-4Labels-USHORT-Cropped.mha /home/karthik/Kitware/VTKEdge/src/VTKEdge/Data/Data/PaintbrushTest4InputEventLog.txt 1 /home/karthik/Kitware/VTKEdge/bin/Widgets/Testing/Cxx/Temporary/EditedLabelMap.mha ctest is just the test driver. The test itself is a simple C++ executable with a bunch of arguments. When you type "ctest -R PaintbrushTest4 -V" on your prompt, you should see the actual command invoked by ctest. Please run that command with the second last argument on that command set to 1. This will instruct the test to accept user events rather than take events from PaintbrushTest4InputEventLog.txt. Thanks -- karthik On Thu, Sep 3, 2009 at 2:59 PM, Randy Heiland <[email protected]> wrote: > I obviously need to better understand ctest. For starters, do you know why > the app seems to be cut-off (or is this normal) - see attached image.Second, > there seems to be no difference in the following commands: > > ctest -R PaintbrushTest4 -V --interactive-debug-mode 0 > ctest -R PaintbrushTest4 -V --interactive-debug-mode 1 > > i.e. I have no interaction capability with the latter. > > thanks, Randy > > > On Sep 3, 2009, at 12:07 PM, Karthik Krishnan wrote: > > Randy: > > Just run using ctest. For instance to run PaintbrushTest4, > > ctest -R PaintbrushTest4 -V > > should do the trick. > > If you want to run the test in interactive mode, please change the second > last argument from 0 to 1. > > Thanks > -- > karthik > > On Thu, Sep 3, 2009 at 11:05 AM, Randy Heiland <[email protected]>wrote: > >> Thanks for your reply and pointer to VTKEdge! Can you tell me the proper >> way to invoke testing? I'm getting: >> heil...@129-79-58-76:~/dev/VTKEdge-9-3-09/bin$ VTKEdgeWidgetsCxxTests >> Available tests: >> 0. PaintbrushTest1 >> 1. PaintbrushTest2 >> 2. PaintbrushTest3 >> 3. PaintbrushTest4 >> 4. PaintbrushTest5 >> 5. PaintbrushTest6 >> 6. PaintbrushTest7 >> 7. PaintbrushTest8 >> 8. PaintbrushInstantiatonMemLeaksTest >> To run a test, enter the test number: 0 >> Usage error: (nothing else printed here) >> >> The only thing I changed in the cmake was to turn >> on VTKEdge_BUILD_EXAMPLES. >> >> thanks, Randy >> >> >> On Sep 3, 2009, at 6:47 AM, Karthik Krishnan wrote: >> >> Please take a look at VTKEdge. There is a suite of paintbrush widgets and >> associated tests there (essentially VTK widgets). >> >> On Thu, Sep 3, 2009 at 6:23 AM, Randy Heiland <[email protected]>wrote: >> >>> This may seem silly, but has anyone used VTK as a paint program? My >>> actual situation is that I have an (medical) image and I'd like to do a >>> rough segmentation of the image by hand (and then incorporate that into a >>> larger project). >>> >>> thanks, Randy >>> _______________________________________________ >>> Powered by www.kitware.com >>> >>> Visit other Kitware open-source projects at >>> http://www.kitware.com/opensource/opensource.html >>> >>> Please keep messages on-topic and check the VTK FAQ at: >>> http://www.vtk.org/Wiki/VTK_FAQ >>> >>> Follow this link to subscribe/unsubscribe: >>> http://www.vtk.org/mailman/listinfo/vtkusers >>> >> >> >> >> -- >> Karthik Krishnan >> R&D Engineer, >> Kitware Inc. >> Ph: 518 881 4919 >> Fax: 518 371 4573 >> >> >> > > > -- > Karthik Krishnan > R&D Engineer, > Kitware Inc. > Ph: 518 881 4919 > Fax: 518 371 4573 > > >
_______________________________________________ VtkEdge mailing list [email protected] http://public.kitware.com/cgi-bin/mailman/listinfo/vtkedge
