[vtkusers] help!

韩旺 sjtu9 at yahoo.com
Wed Oct 19 15:17:35 EDT 2005


vtkusers-request,ÄúºÃ£¡

	help!

======= 2005-10-20 00:00:54 ÄúÔÚÀ´ÐÅÖÐдµÀ£º=======

>Send vtkusers mailing list submissions to
>	vtkusers at vtk.org
>
>To subscribe or unsubscribe via the World Wide Web, visit
>	http://www.vtk.org/mailman/listinfo/vtkusers
>or, via email, send a message with subject or body 'help' to
>	vtkusers-request at vtk.org
>
>You can reach the person managing the list at
>	vtkusers-owner at vtk.org
>
>When replying, please edit your Subject line so it is more specific
>than "Re: Contents of vtkusers digest..."
>
>
>Today's Topics:
>
>   1. Re: Problem with using vtkJPEGWriter (Ravi Samala)
>   2. Re: Rendering multiple volumes (Lisa Avila)
>   3. Re: vtkPlaneWidget overlapping RayCast Volume (Lisa Avila)
>   4. Re: AIX and vtkFixedPointVolumeRayCastMapper (Lisa Avila)
>   5. Re: volume rendering speed (Lisa Avila)
>   6. Re: vtkVolumeTextureMapper3D and offscreen rendering (Lisa Avila)
>   7. Re: AIX and vtkFixedPointVolumeRayCastMapper (Chris Want)
>   8. Re: vtkVolumeTextureMapper3D and offscreen rendering
>      (Mark Wyszomierski)
>   9. Re: how to access 3D volume (Ravi Samala)
>  10. How to made a 3D surface ( Tony )
>  11. get data values at line (Fabian Braennstroem)
>  12. how to read dicom files? (liuyang)
>  13. Initialize interactor (Laurent Paul)
>  14. Re: ValueError: method requires a VTK object (Lise Angell)
>  15. Moving points in an existing polydata object? (Wesley Brooks)
>  16. Assigning color to points in a polydata surface (Syed Hassan Amin)
>  17. vtkUnstructuredGrid::InsertNextCell (Lise Angell)
>  18. How to use vtk4.2 in tcl (ÍõÎÄ»Ô)
>  19. Polymesh to triangle mesh filter (Hendrik Belitz)
>  20. Re: Polymesh to triangle mesh filter (Hendrik Belitz)
>  21. SV: [vtkusers] Polymesh to triangle mesh filter (Tron Darvann)
>  22. intersection of line with bounding-box (Oliver Weinheimer)
>  23. installation errors on mandrake (Alark Joshi)
>  24. Re: installation errors on mandrake (Utkarsh Ayachit)
>  25. Re: how to access 3D volume (Michnay Bal?zs)
>  26. Constructing a volume.... (Michnay Bal?zs)
>  27. set window\level in vtkImagePlaneWidget (Oliver Weinheimer)
>  28. Re: set window\level in vtkImagePlaneWidget (Amy Squillacote)
>  29. How to set to data to LittleEndian (Ravi Samala)
>  30. Re: installation errors on mandrake (Alark Joshi)
>
>
>----------------------------------------------------------------------
>
>Message: 1
>Date: Tue, 18 Oct 2005 09:42:53 -0700 (PDT)
>From: Ravi Samala <raviksamala at yahoo.com>
>Subject: Re: [vtkusers] Problem with using vtkJPEGWriter
>To: vtkusers at vtk.org
>Message-ID: <20051018164253.18223.qmail at web35711.mail.mud.yahoo.com>
>Content-Type: text/plain; charset="iso-8859-1"
>
>hi Bruno,
> 
>I used vtkPNGWriter instead of vtkJPEGWriter, but still the final image complete black !
> 
>what could be wrong ?
> 
>Thank you,
>Ravi
>
>Bruno da Silva de Oliveira <bruno at esss.com.br> wrote:
>Hi,
>
>Didn't actually read your code, but what happens if you use a 
>vtkPNGWriter instead? Does the resulting image look correct?
>
>Regards,
>
>Ravi Samala wrote:
>
>> Dear /VTKUser's/,
>>
>> 
>>
>> *Objective*: To write some data to a JPEG file.
>>
>> *Problem*: The final image is black color !
>>
>> 
>>
>> 
>>
>> The code is as follows:
>>
>> 
>>
>> //****************************************************
>>
>> // ***** Used to read 16 bit Image *****
>>
>> //****************************************************
>>
>> *vtkVolume16Reader *v16Img = vtkVolume16Reader::New(); *
>>
>> v16Img->SetDataDimensions (sizex,sizey);
>>
>> v16Img->SetImageRange (atoi(argv[3]),atoi(argv[4]));//Specify 
>> the number of slices to read
>>
>> v16Img->SetHeaderSize(HeadS); // Specify the number of bytes to 
>> seek over at start of image
>>
>> v16Img->SetFilePrefix (argv[2]); //Specify the File prefix of 
>> all the slices (files)
>>
>> v16Img->SetDataSpacing (0.1, 0.1, 0.5); 
>> //Resolution along X, Y and Z axis
>>
>> v16Img->SetDataOrigin(0, 0, 0);
>>
>> 
>>
>> //****************************************************
>>
>> // ***** Extracting a slice from the 3D volume *****
>>
>> //****************************************************
>>
>> *vtkImageReslice *imgResliceIn = vtkImageReslice::New(); *
>>
>> imgResliceIn->SetInput(v16Img -> GetOutput());
>>
>> imgResliceIn->SetOutputSpacing(1,1,1);
>>
>> imgResliceIn->SetInterpolationModeToLinear();
>>
>> imgResliceIn->SetOutputOrigin(0, 0, 10);
>>
>> imgResliceIn->SetOutputExtent(0,312,0,499,0,0);
>>
>> 
>>
>> //****************************************************
>>
>> // ***** Scaling the pixel range ******
>>
>> //****************************************************
>>
>> *vtkImageShiftScale *imgShSc =vtkImageShiftScale::New();*
>>
>> imgShSc->SetInput(imgResliceIn -> GetOutput());
>>
>> imgShSc->SetScale(256/13000);
>>
>> /// $$ The input image pixel range is from 0 to 13000./
>>
>> /// $$ I wanted to convert the range from (0-13000)/
>>
>> /// $$ to (0-255)./
>>
>> 
>>
>> //****************************************************
>>
>> // ***** Converting to Unsigned Char for JPEG writer *
>>
>> //****************************************************
>>
>> *vtkImageCast *imgCastIn = vtkImageCast::New();*
>>
>> imgCastIn->SetInput(imgShSc -> GetOutput());
>>
>> imgCastIn->SetOutputScalarTypeToUnsignedChar(); 
>>
>> 
>>
>> //****************************************************
>>
>> *vtkJPEGWriter *jpegWrIn = vtkJPEGWriter::New();*
>>
>> jpegWrIn->SetInput(imgCastIn -> GetOutput());
>>
>> jpegWrIn->SetFileName("Input10.jpg");
>>
>> jpegWrIn->Write();
>>
>> //****************************************************
>>
>> 
>>
>> 
>>
>> Thank you,
>>
>> 
>>
>> Ravi.
>>
>> ------------------------------------------------------------------------
>> Yahoo! Music Unlimited - Access over 1 million songs. Try it free. 
>> 
>>
>>
>>------------------------------------------------------------------------
>>
>>_______________________________________________
>>This is the private VTK discussion list. 
>>Please keep messages on-topic. Check the FAQ at: http://www.vtk.org/Wiki/VTK_FAQ
>>Follow this link to subscribe/unsubscribe:
>>http://www.vtk.org/mailman/listinfo/vtkusers
>> 
>>
>
>-- 
>Bruno da Silva de Oliveira
>bruno at esss.com.br
>ESSS - Engineering Simulation and Scientific Software
>http://www.esss.com.br
>
>_______________________________________________
>This is the private VTK discussion list. 
>Please keep messages on-topic. Check the FAQ at: http://www.vtk.org/Wiki/VTK_FAQ
>Follow this link to subscribe/unsubscribe:
>http://www.vtk.org/mailman/listinfo/vtkusers
>
>		
>---------------------------------
> Yahoo! Music Unlimited - Access over 1 million songs. Try it free.
>-------------- next part --------------
>An HTML attachment was scrubbed...
>URL: http://public.kitware.com/pipermail/vtkusers/attachments/20051018/1ce29d52/attachment.htm
>
>------------------------------
>
>Message: 2
>Date: Tue, 18 Oct 2005 13:35:58 -0400
>From: Lisa Avila <lisa.avila at kitware.com>
>Subject: Re: [vtkusers] Rendering multiple volumes
>To: "Lalit C. Karlapalem" <ckl at mail.utexas.edu>, <vtkusers at vtk.org>
>Message-ID: <6.2.0.14.2.20051018133400.0609ca48 at pop.biz.rr.com>
>Content-Type: text/plain; charset="us-ascii"
>
>
>Hello,
>
>In VTK you cannot volume render separate volumes that overlap in space. You 
>can render multiple volumes that can be sorted in a back-to-front ordering, 
>and you can render a volume with multiple component. You might try 
>resampling your volumes into one volume or a set of axis-aligned volumes 
>that can be easily sorted.
>
>Lisa
>
>
>At 12:20 PM 10/3/2005, Lalit C. Karlapalem wrote:
>>I have multiple volumes that I want to volume render. They are overlapping 
>>in the object space, so, certain screen pixels might have info from both 
>>the datasets.
>>I am at a loss on how to do this in VTK?
>>Has anyone come across this situation before? What are my different options?
>>Please help!!!!
>>
>>Many thanks in advance
>>_______________________________________________
>>This is the private VTK discussion list.
>>Please keep messages on-topic. Check the FAQ at: 
>>http://www.vtk.org/Wiki/VTK_FAQ
>>Follow this link to subscribe/unsubscribe:
>>http://www.vtk.org/mailman/listinfo/vtkusers
>-------------- next part --------------
>An HTML attachment was scrubbed...
>URL: http://public.kitware.com/pipermail/vtkusers/attachments/20051018/724312ce/attachment.html
>
>------------------------------
>
>Message: 3
>Date: Tue, 18 Oct 2005 13:42:26 -0400
>From: Lisa Avila <lisa.avila at kitware.com>
>Subject: Re: [vtkusers] vtkPlaneWidget overlapping RayCast Volume
>To: "Tiago" <tiago.faria at cenpra.gov.br>, <vtkusers at vtk.org>
>Message-ID: <6.2.0.14.2.20051018133800.0624ccf0 at pop.biz.rr.com>
>Content-Type: text/plain; charset="us-ascii"; format=flowed
>
>
>
>Do you have an opacity that is not 1.0 on some property in your plane 
>widget? This will cause a problem since two translucent overlapping objects 
>will not be drawn correctly.
>
>Lisa
>
>
>At 08:06 AM 10/5/2005, Tiago wrote:
>>Hi Guys!
>>
>>Having a raycast volume, when I rotate the plane (a vtkPlaneWidget) it
>>overlaps the volume when it is on top of it. I mean, it is just as if the
>>volume were backwards. However, they're in the same depth. Then, if I rotate
>>the plane again, it still stays in a forward plane.
>>
>>Is it some plane property I'm not setting correctly? Has anyone ever had a
>>problem similar to this? Does someone knows the solution?
>>
>>Thanks!
>>
>>Tiago
>>
>>ps: here is the part of the code, when I create the plane:
>>
>>         property = vtk.vtkProperty()
>>         property.SetFrontfaceCulling(1)
>>         property.FrontfaceCullingOn()
>>
>>         self.planeWidgetx = vtk.vtkImagePlaneWidget()
>>         self.planeWidgetx.SetInput(cast.GetOutput())
>>         self.planeWidgetx.SetPlaneOrientationToXAxes()
>>         self.planeWidgetx.SetSliceIndex(0)
>>         self.planeWidgetx.SetResliceInterpolateToLinear()
>>         self.planeWidgetx.GetPlaneProperty().SetColor(1,0,0)
>>         self.planeWidgetx.SetTexturePlaneProperty(property)
>>
>>         (...)
>>
>>         iact = iren._Iren
>>         self.iact = iact
>>         self.planeWidgetx.SetInteractor(iact)
>>         self.planeWidgetx.On()
>>
>>_______________________________________________
>>This is the private VTK discussion list.
>>Please keep messages on-topic. Check the FAQ at: 
>>http://www.vtk.org/Wiki/VTK_FAQ
>>Follow this link to subscribe/unsubscribe:
>>http://www.vtk.org/mailman/listinfo/vtkusers
>
>
>
>
>------------------------------
>
>Message: 4
>Date: Tue, 18 Oct 2005 13:45:12 -0400
>From: Lisa Avila <lisa.avila at kitware.com>
>Subject: Re: [vtkusers] AIX and vtkFixedPointVolumeRayCastMapper
>To: Chris Want <cwant at ualberta.ca>, vtkusers at public.kitware.com
>Message-ID: <6.2.0.14.2.20051018134416.05f5abd0 at pop.biz.rr.com>
>Content-Type: text/plain; charset="us-ascii"; format=flowed
>
>Hi Chris,
>
>Are you sure your data loaded into your program correctly? It sound like a 
>missing input for the mapper (which means that wherever you are setting 
>this input there is a problem - or before)
>
>Lisa
>
>At 04:43 PM 10/6/2005, Chris Want wrote:
>
>>Hey all,
>>
>>I have a little volume rendering program that
>>works great on linux, but I would like to get it
>>running under AIX. When I run it under AIX I
>>get the following error
>>
>>ERROR: In 
>>/synapse_scratch_local_many/cwant/vtk/VTK-HEAD/Filtering/vtkDemandDrivenPipeline.cxx, 
>>line 724
>>vtkStreamingDemandDrivenPipeline (125b5cb30): Input for connection index 0 
>>on input port index 0 for algorithm 
>>vtkFixedPointVolumeRayCastMapper(125757130) is NULL, but a vtkImageData is 
>>required.
>>
>>I get this error in both HEAD and VTK-5-0, and
>>it does not matter if I compile for 32 bit or
>>64 bits. I don't ever explicitely set up a
>>vtkStreamingDemandDrivenPipeline.
>>
>>The code connecting the various modules looks
>>something like this (some details, such as
>>transfer function setup excluded):
>>
>>#define VTKNEW(A,B) A *B = A::New();
>>
>>VTKNEW(vtkStructuredPoints, sp);
>>VTKNEW(vtkFloatArray, scalars);
>>// using my own array of floats
>>sp->SetDimensions(x, y, z);
>>scalars->SetArray(float_array, x * y * z, 1);
>>sp->GetPointData()->SetScalars(scalars);
>>sp->Update();
>>
>>VTKNEW(vtkPiecewiseFunction, opacityTransferFunction);
>>VTKNEW(vtkColorTransferFunction, colorTransferFunction);
>>VTKNEW(vtkVolumeProperty, volumeProperty);
>>volumeProperty->SetColor(colorTransferFunction);
>>volumeProperty->SetScalarOpacity(opacityTransferFunction);
>>VTKNEW(vtkFixedPointVolumeRayCastMapper, volumeMapper);
>>volumeMapper->SetInput(sp);
>>VTKNEW(vtkVolume, volume);
>>volume->SetMapper(volumeMapper);
>>volume->SetProperty(volumeProperty);
>>
>>Does anybody know why this might run fine on
>>linux (both 32-bit and 64-bit) but fail on
>>AIX?
>>
>>Cheers,
>>Chris
>>
>>--
>>  ____________________________________________________________________
>>( Chris Want                                                         )
>>( Research Computing Support                                         )
>>( Academic Information and Communication Technologies (AICT)         )
>>( University of Alberta                                              )
>>( Tel: 1-780-492-9418                                                )
>>  --------------------------------------------------------------------
>>_______________________________________________
>>This is the private VTK discussion list. Please keep messages on-topic. 
>>Check the FAQ at: http://www.vtk.org/Wiki/VTK_FAQ
>>Follow this link to subscribe/unsubscribe:
>>http://www.vtk.org/mailman/listinfo/vtkusers
>
>
>
>
>------------------------------
>
>Message: 5
>Date: Tue, 18 Oct 2005 13:49:49 -0400
>From: Lisa Avila <lisa.avila at kitware.com>
>Subject: Re: [vtkusers] volume rendering speed
>To: "Jesse Corrington" <corrington_j at hotmail.com>, vtkusers at vtk.org
>Message-ID: <6.2.0.14.2.20051018134805.05fb6130 at pop.biz.rr.com>
>Content-Type: text/plain; charset="us-ascii"; format=flowed
>
>
>Hello Jesse,
>
>Did you try vtkFixedPointVolumeRayCastMapper? What about 
>vtkVolumeTextureMapper3D? The first is definitely faster than 
>vtkVolumeRayCastMapper, and the second may or may not be faster depending 
>on how much 3D texture mapping support your card has.
>
>Lisa
>
>
>At 02:19 PM 10/11/2005, Jesse Corrington wrote:
>>I am trying to render volumes that are around 350 X 350 X 500 with 
>>VTK.  The hardware i am using is 1 gb ram, p4 3.2 ghz, and a geforce fx 
>>5900 128 mb.
>>to improve speed i have set interpolation to nearest, increased the sample 
>>distance, and used vtkImageShrink3D to downsize the data.  I am using a 
>>ray cast mapper, because the 2d texture mapper was even slower.  I am 
>>still not seeing the results i was hoping for.  Is there anyway i can 
>>increase speed and not kill the quality.  It seems that when i do these 
>>renderings using the volview trial, they look nicer and are faster.  Does 
>>volview use a proprietary volume rendering technique?  should i maybe look 
>>into getting a volumepro board?
>>
>>Thanks
>>Jesse Corrington
>>
>>_________________________________________________________________
>>Express yourself instantly with MSN Messenger! Download today - it's FREE! 
>>http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/
>>
>>_______________________________________________
>>This is the private VTK discussion list. Please keep messages on-topic. 
>>Check the FAQ at: http://www.vtk.org/Wiki/VTK_FAQ
>>Follow this link to subscribe/unsubscribe:
>>http://www.vtk.org/mailman/listinfo/vtkusers
>
>
>
>
>------------------------------
>
>Message: 6
>Date: Tue, 18 Oct 2005 13:53:09 -0400
>From: Lisa Avila <lisa.avila at kitware.com>
>Subject: Re: [vtkusers] vtkVolumeTextureMapper3D and offscreen
>	rendering
>To: "Jesse Corrington" <corrington_j at hotmail.com>, vtkusers at vtk.org
>Message-ID: <6.2.0.14.2.20051018135014.060673f8 at pop.biz.rr.com>
>Content-Type: text/plain; charset="iso-8859-1"; format=flowed
>
>
>Hi Jesse,
>
>The offscreen context probably does not support the extension necessary to 
>do the 3D texture mapping (this is typical). I am not sure if there is a 
>way around it - hopefully drivers will support it in the future.
>
>Lisa
>
>
>
>At 04:29 PM 10/11/2005, Jesse Corrington wrote:
>>I just switched to using 3d texture mapping for volumes, and now i am 
>>unable to do offscreen rendering, but the onscreen works very well.  Is it 
>>possible to have offscreen rendering using 3d texture mapping.
>>
>>_________________________________________________________________
>>Is your PC infected? Get a FREE online computer virus scan from McAfee?
>>Security. http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963
>>
>>_______________________________________________
>>This is the private VTK discussion list. Please keep messages on-topic. 
>>Check the FAQ at: http://www.vtk.org/Wiki/VTK_FAQ
>>Follow this link to subscribe/unsubscribe:
>>http://www.vtk.org/mailman/listinfo/vtkusers
>
>
>
>
>------------------------------
>
>Message: 7
>Date: Tue, 18 Oct 2005 12:08:11 -0600
>From: Chris Want <cwant at ualberta.ca>
>Subject: Re: [vtkusers] AIX and vtkFixedPointVolumeRayCastMapper
>To: Lisa Avila <lisa.avila at kitware.com>
>Cc: vtkusers at public.kitware.com
>Message-ID: <43553A0B.4070200 at ualberta.ca>
>Content-Type: text/plain; charset=us-ascii; format=flowed
>
>Lisa Avila wrote:
>> Hi Chris,
>> 
>> Are you sure your data loaded into your program correctly? It sound like 
>> a missing input for the mapper (which means that wherever you are 
>> setting this input there is a problem - or before)
>> 
>> Lisa
>
>Hi Lisa,
>
>Thank you for responding.
>
>As far as I know, the data loads alright into my float array.
>This problem does not seem to be isolated to the
>vtkFixedPointVolumeRayCastMapper however, since
>vtkMarchingCubes also has a similar problem. I can get
>the supplied vtk demos to work on AIX, but none of them
>use the vtkFloatArray::SetArray() method -- could there be
>a problem with the way the input is set up when using this
>method on AIX? (the same program works fine on both 32 and
>64 bit linux).
>
>Cheers,
>Chris
>
>>> ERROR: In 
>>> /synapse_scratch_local_many/cwant/vtk/VTK-HEAD/Filtering/vtkDemandDrivenPipeline.cxx, 
>>> line 724
>>> vtkStreamingDemandDrivenPipeline (125b5cb30): Input for connection 
>>> index 0 on input port index 0 for algorithm 
>>> vtkFixedPointVolumeRayCastMapper(125757130) is NULL, but a 
>>> vtkImageData is required.
>>>
>>> I get this error in both HEAD and VTK-5-0, and
>>> it does not matter if I compile for 32 bit or
>>> 64 bits. I don't ever explicitely set up a
>>> vtkStreamingDemandDrivenPipeline.
>>>
>>> The code connecting the various modules looks
>>> something like this (some details, such as
>>> transfer function setup excluded):
>>>
>>> #define VTKNEW(A,B) A *B = A::New();
>>>
>>> VTKNEW(vtkStructuredPoints, sp);
>>> VTKNEW(vtkFloatArray, scalars);
>>> // using my own array of floats
>>> sp->SetDimensions(x, y, z);
>>> scalars->SetArray(float_array, x * y * z, 1);
>>> sp->GetPointData()->SetScalars(scalars);
>>> sp->Update();
>>>
>>> VTKNEW(vtkPiecewiseFunction, opacityTransferFunction);
>>> VTKNEW(vtkColorTransferFunction, colorTransferFunction);
>>> VTKNEW(vtkVolumeProperty, volumeProperty);
>>> volumeProperty->SetColor(colorTransferFunction);
>>> volumeProperty->SetScalarOpacity(opacityTransferFunction);
>>> VTKNEW(vtkFixedPointVolumeRayCastMapper, volumeMapper);
>>> volumeMapper->SetInput(sp);
>>> VTKNEW(vtkVolume, volume);
>>> volume->SetMapper(volumeMapper);
>>> volume->SetProperty(volumeProperty);
>>>
>>> Does anybody know why this might run fine on
>>> linux (both 32-bit and 64-bit) but fail on
>>> AIX?
>>>
>>> Cheers,
>>> Chris
>
>-- 
>  ____________________________________________________________________
>( Chris Want                                                         )
>( Research Computing Support                                         )
>( Academic Information and Communication Technologies (AICT)         )
>( University of Alberta                                              )
>( Tel: 1-780-492-9418                                                )
>  --------------------------------------------------------------------
>
>
>------------------------------
>
>Message: 8
>Date: Tue, 18 Oct 2005 14:15:05 -0400
>From: Mark Wyszomierski <markww at gmail.com>
>Subject: Re: [vtkusers] vtkVolumeTextureMapper3D and offscreen
>	rendering
>To: Lisa Avila <lisa.avila at kitware.com>
>Cc: vtkusers at vtk.org
>Message-ID:
>	<dfdfe01e0510181115k607a7bfcmf516f36aba8bd7f8 at mail.gmail.com>
>Content-Type: text/plain; charset="iso-8859-1"
>
>I believe I ran into the a similar problem before, I wanted to
>save what was currently being rendered to screen to an
>image file using vtkWindowToimageFilter. This did not work
>with the 3d texture volume mapper, but it did for the rest of the
>volume renderers. I had to write some code to extract the pixel data
>left in the screen buffer, and this worked ok. Sorry I can't be
>more specific, this was about 2 months ago, but I posted a
>better explanation of what I did to the mailing list at that point,
>it should still be in the archives. Hopefully this can give you
>some ideas if the general problems are the same,
> Mark
>
> On 10/18/05, Lisa Avila <lisa.avila at kitware.com> wrote:
>>
>>
>> Hi Jesse,
>>
>> The offscreen context probably does not support the extension necessary to
>> do the 3D texture mapping (this is typical). I am not sure if there is a
>> way around it - hopefully drivers will support it in the future.
>>
>> Lisa
>>
>>
>>
>> At 04:29 PM 10/11/2005, Jesse Corrington wrote:
>> >I just switched to using 3d texture mapping for volumes, and now i am
>> >unable to do offscreen rendering, but the onscreen works very well. Is it
>> >possible to have offscreen rendering using 3d texture mapping.
>> >
>> >_________________________________________________________________
>> >Is your PC infected? Get a FREE online computer virus scan from McAfee(r)
>> >Security. http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963
>> >
>> >_______________________________________________
>> >This is the private VTK discussion list. Please keep messages on-topic.
>> >Check the FAQ at: http://www.vtk.org/Wiki/VTK_FAQ
>> >Follow this link to subscribe/unsubscribe:
>> >http://www.vtk.org/mailman/listinfo/vtkusers
>>
>>
>> _______________________________________________
>> This is the private VTK discussion list.
>> Please keep messages on-topic. Check the FAQ at:
>> http://www.vtk.org/Wiki/VTK_FAQ
>> Follow this link to subscribe/unsubscribe:
>> http://www.vtk.org/mailman/listinfo/vtkusers
>>
>-------------- next part --------------
>An HTML attachment was scrubbed...
>URL: http://public.kitware.com/pipermail/vtkusers/attachments/20051018/ff224937/attachment.htm
>
>------------------------------
>
>Message: 9
>Date: Tue, 18 Oct 2005 19:45:19 -0700 (PDT)
>From: Ravi Samala <raviksamala at yahoo.com>
>Subject: Re: [vtkusers] how to access 3D volume
>To: vtkusers at vtk.org
>Message-ID: <20051019024519.12698.qmail at web35704.mail.mud.yahoo.com>
>Content-Type: text/plain; charset=iso-8859-1
>
>Great ! it works......thankx a lot Michnay.
>
>Ravi
>
>--- Ravi Samala <raviksamala at yahoo.com> wrote:
>
>> hi Michnay,
>> 
>> thankx a lot. I wil give it a try.....
>> 
>> Ravi
>> 
>> --- Michnay Balázs <michnay at freemail.hu> wrote:
>> 
>> > Dear Ravi,
>> > 
>> > Here's how you can access a slice of a volume:
>> > 
>> > vtkExtractVOI *sliceExtractor =
>> > vtkExtractVOI::New();
>> > sliceExtractor->SetInput(volume);
>> > sliceExtractor->SetVOI
>> > (xmin,xmax,ymin,ymax,frameNumber,frameNumber);
>> > 
>> > where both xmin and ymin should be 0, xmax and
>> ymax
>> > should be the 
>> > size of the frame.
>> > frameNumber is the number of frame you'd like to
>> > extract.
>> > 
>> > The extracted image data can then be accessed by
>> > calling:
>> > 
>> > sliceExtractor->GetOutput();
>> > 
>> > Best of all,
>> > 
>> >  Michnay
>> > 
>> >
>>
>_____________________________________________________________________________________
>> > Ingyen mozi szupersztárokkal - csak három napig!
>> > Kódolatlan napok a T-Online Tékában!
>> > www.t-online.hu
>> > 
>> > 
>> > _______________________________________________
>> > This is the private VTK discussion list.
>> > Please keep messages on-topic. Check the FAQ at:
>> > http://www.vtk.org/Wiki/VTK_FAQ
>> > Follow this link to subscribe/unsubscribe:
>> > http://www.vtk.org/mailman/listinfo/vtkusers
>> > 
>> 
>> 
>> __________________________________________________
>> Do You Yahoo!?
>> Tired of spam?  Yahoo! Mail has the best spam
>> protection around 
>> http://mail.yahoo.com 
>> _______________________________________________
>> This is the private VTK discussion list. 
>> Please keep messages on-topic. Check the FAQ at:
>> http://www.vtk.org/Wiki/VTK_FAQ
>> Follow this link to subscribe/unsubscribe:
>> http://www.vtk.org/mailman/listinfo/vtkusers
>> 
>
>
>
>	
>		
>__________________________________ 
>Yahoo! Mail - PC Magazine Editors' Choice 2005 
>http://mail.yahoo.com
>
>
>------------------------------
>
>Message: 10
>Date: Wed, 19 Oct 2005 12:16:35 +0800 (CST)
>From: " Tony " <tonylu1981 at 163.com>
>Subject: [vtkusers] How to made a 3D surface
>To: "vtkusers" <vtkusers at vtk.org>
>Message-ID: <4355C8A3.000008.19746 at bj163app33.163.com>
>Content-Type: text/plain; charset="gb2312"
>
>Hi friends, I have some questions: 
> 
>1, I want to generate a surface based on several points
> 
>2, I want to generate a surface based on several independent lines
> 
>What class of vtk can do these? The language I use is Python. The vtk edition is 4.2.4
> 
>While telling me the answer, would you please give me some simple examples? Thanks!
>
>
>
>-------------- next part --------------
>An HTML attachment was scrubbed...
>URL: http://public.kitware.com/pipermail/vtkusers/attachments/20051019/5eba145d/attachment.html
>
>------------------------------
>
>Message: 11
>Date: Wed, 19 Oct 2005 09:10:26 +0200
>From: Fabian Braennstroem <f.braennstroem at gmx.de>
>Subject: [vtkusers] get data values at line
>To: VTK List <vtkusers at vtk.org>
>Message-ID: <20051019071026.GA4315 at ddorf.de>
>Content-Type: text/plain; charset=us-ascii
>
>Hi,
>
>I read my EnSight Case with the 'vtkGenericEnSightReader'
>and I am able to find the max velocity with:
>
>  maxVelocity=reader.GetOutput().GetPointData().GetVectors().GetMaxNorm();
>
>Now, I would like to read the actual velocity at certain
>points and/or lines and write them to an external file. Can
>I do this using the probe filter or is there anything
>similar to 'GetActualValue(x1,y1,z1,x2,y2,z2)', where I
>define the point/line and get the values!? Afterwards I would
>use a simple 'print' in Cxx/Python/Tcl.
>
>Best Greetings!
>Fabian
>
>-- 
>
>
>------------------------------
>
>Message: 12
>Date: Wed, 19 Oct 2005 16:19:08 +0800
>From: "liuyang" <liuyang at fimmu.com>
>Subject: [vtkusers] how to read dicom files?
>To: vtkusers at vtk.org
>Message-ID: <20051019081908.24837.qmail at nf5500.fimmu.com>
>Content-Type: text/plain; format=flowed; charset="gb2312"
>
>Hi,
> I use vtk 4.2 ,and I don't know how to read dicom files.Anyone could help 
>me?
> Thanks.
>
>
>------------------------------
>
>Message: 13
>Date: Wed, 19 Oct 2005 10:56:26 +0200 (CEST)
>From: "Laurent Paul" <Laurent.Paul at orto.ucl.ac.be>
>Subject: [vtkusers] Initialize interactor
>To: vtkusers at vtk.org
>Message-ID: <46701.130.104.69.53.1129712186.squirrel at www.md.ucl.ac.be>
>Content-Type: text/plain;charset=iso-8859-1
>
>Hi users,
>
>I'm building a silly 3D viewer.
>I use FLTK and VTK. So I use vtkFlRenderWindowInteractor.
>
>I call a first function which builds the pipeline for the viewer.
>Then, I call another function which loads a volume from dicom files.
>It works but, there is something I don't understand:
>I NEVER call the Initialize function for the interactor.
>I just call renWindow->Render() in a try/catch bloc and the volume is
>displayed.
>I can even interact with it!
>
>I guessed I HAD to call Initialize() before any interaction.
>
>Why does it work?!
>Is vtkFlRenderWindowInteractor works in a different way?
>Is Render() call the Initialize function?
>
>Thanks for any explanation!
>
>Laurent.
>
>
>
>
>------------------------------
>
>Message: 14
>Date: Wed, 19 Oct 2005 11:01:13 +0200
>From: Lise Angell <lise.angell at gmail.com>
>Subject: [vtkusers] Re: ValueError: method requires a VTK object
>To: vtkusers at vtk.org
>Message-ID:
>	<98a4c83b0510190201u3b6d5d2le54e7f057edd7aac at mail.gmail.com>
>Content-Type: text/plain; charset=ISO-8859-1
>
>Seems like the error was correct after all (surprise...), I didn't
>send a VTK object to the InsertNextCell-method.
>
>Now I would like to use
>vtkUnstructuredGrid::InsertNextCell( int type,vtkIdType npts,vtkIdType
>*pts), not vtkUnstructuredGrid::InsertNextCell( int type,vtkIdList *
>ptIds).
>
>
>But then I get the error:
>  File "readxdr.py", line 456, in mount_vtk_structures
>    vtk_u_grid.InsertNextCell(vtk_cell_type, npt,  pt_list)
>TypeError: function takes exactly 2 arguments (3 given)
>
>vtk_cell_type: int, npt: int, pt_list: list of ints
>Any ideas how I can reach this method (assuming it's not deprecated)?
>
>Lise
>
>---------- Forwarded message ----------
>From: Lise Angell <lise.angell at gmail.com>
>Date: Oct 18, 2005 2:29 PM
>Subject: ValueError: method requires a VTK object
>To: vtkusers at vtk.org
>
>
>I'm building a vtkUnstructuredGrid from values read from a binary file.
>When I want to insert info about the element topology in the grid, I
>get the following error:
>
>Traceback (most recent call last):
>  File "readxdr.py", line 606, in ?
>    u_grid = mount_vtk_structures(grid, fields)
>  File "readxdr.py", line 462, in mount_vtk_structures
>    vtk_u_grid.InsertNextCell(vtk_cell_type, pt_list)
>ValueError: method requires a VTK object
>
>
>I have read the vtk-list postings concerning this (and the FAQ), but I
>don't have two conflicting vtk versions, so I don't see why I should
>get this error...
>
>I'm running python2.3 (got some problems compiling VTK with python2.4
>because of gcc4.0 on Tiger) and VTK from CVS (from Oct.11 2005) on OSX
>Tiger (iBookG4).
>
>Hope someone can help me...
>
>Regards,
>Lise
>
>
>
>Code snippet:
>#------------------------------------------------------------------------------------------------------
>       nsd = grid.nsd; nno = grid.nno; nel = grid.nel   # grid: GridFE class
>
>       # allocate VTK structures
>        vtk_u_grid = vtk.vtkUnstructuredGrid()
>        pts = vtk.vtkPoints()
>        pts.SetNumberOfPoints(nno)
>        data = vtk.vtkDoubleArray()
>        data.SetNumberOfValues(nno)
>
>       for i in range (0,nno):
>              x = grid.coords[i]
>                s = [... get value from file...]
>                data.SetValue(i,s)                              # put
>field value in VTK object
>                pts.SetPoint(i,x)                               # put
>points in VTK object
>
>        vtk_u_grid.Allocate(nel, 0)
>        vtk_u_grid.SetPoints(pts)
>        vtk_u_grid.GetPointData().SetScalars(data)
>
>        # tell the VTK grid structure about the element topology
>
>        for e in range (1, nel):
>                < getting cell type (int) and point list (array of ints)>
>                vtk_u_grid.InsertNextCell(vtk_cell_type, pt_list)
>
>#------------------------------------------------------------------------------------------------------
>
>
>
>
>--
>"Je forme une entreprise qui n'eut jamais d'exemple,
>et dont l'exécution n'aura point d'imitateur."  J-J Rousseau
>
>
>------------------------------
>
>Message: 15
>Date: Wed, 19 Oct 2005 12:32:51 +0100
>From: Wesley Brooks <wesbrooks at gmail.com>
>Subject: [vtkusers] Moving points in an existing polydata object?
>To: vtkusers at vtk.org
>Message-ID: <eec9f8ee0510190432u3beffa05o at mail.gmail.com>
>Content-Type: text/plain; charset=ISO-8859-1
>
>Dear Users,
>
>Do I have to resort to using (and learning how to use!) a
>vtkProgrammableFilter to move points without affecting their
>connectivity? I'm looking for a way to do this while the object is
>rendered, so changes once made will be visable in the render window.
>
>At present I think I'm doing it in a very inefficient manner by
>getting a list of points and cells from the polydata and creating a
>new polydata.
>
>I'm using python 2.3 with VTK 4.2.2.
>
>Thanks again in advance.
>
>Yours Faithfully,
>
>Wesley Brooks
>
>
>------------------------------
>
>Message: 16
>Date: Wed, 19 Oct 2005 12:39:57 +0100
>From: Syed Hassan Amin <sha1 at doc.ic.ac.uk>
>Subject: [vtkusers] Assigning color to points in a polydata surface
>To: vtkusers at vtk.org
>Message-ID: <4356308D.5000407 at doc.ic.ac.uk>
>Content-Type: text/plain; charset=ISO-8859-1; format=flowed
>
>Hi,
>   I am trying to assign a color to each of the points on the polydata 
>surface , but it seems not to be working. Can any body have a look at it 
>, and suggest anything about why it is not working and how to make it work .
>
>    char *path="c://orl//s2//2.pgm";
>    Cpq1->Render_PolyData(polyF);
>    CImagePQ *Cpq=new CImagePQ;
>    vtkPolyDataReader *ply_reader = vtkPolyDataReader::New();
>    ply_reader->SetFileName(polyF);
>    ply_reader->Update();
>      //Read the image
>    vil_image_view<vxl_byte>  image1;
>    int height,width;
>    image1=Cpq->read_gray(path);
>    height=image1.nj();// Assume no. of columns
>    width=image1.ni();// Assume no. of rows
>    
>cout<<height*width<<"="<<ply_reader->GetOutput()->GetNumberOfPoints()<<endl;
>    vtkFloatArray *fa=vtkFloatArray::New();
>    fa->SetNumberOfValues(ply_reader->GetOutput()->GetNumberOfPoints());
>    double  count=1;
>    for (int i=0;i<width;i++)
>        for (int j=0;j<height;j++)
>        {
>            float x=image1(i,j);
>            fa->SetValue(count++,float(x));
>        }
>    ply_reader->GetOutput()->GetPointData()->SetScalars(fa);
>    ply_reader->GetOutput()->GetCellData()->SetScalars(fa);
>    ply_reader->Modified();
>    ply_reader->Update();
>    vtkPolyDataMapper *coneMapper = vtkPolyDataMapper::New();
>    coneMapper->SetInput( ply_reader->GetOutput() );
>    
>coneMapper->SetScalarRange(0,ply_reader->GetOutput()->GetNumberOfPoints());
>    coneMapper ->ScalarVisibilityOn();
>   // coneMapper->SetScalarModeToUsePointData();
>   // coneMapper->SetColorModeToMapScalars();
>
>  vtkActor *coneActor = vtkActor::New();
>  coneActor->SetMapper( coneMapper );
> 
>  vtkRenderer *ren1= vtkRenderer::New();
>  ren1->AddActor( coneActor );
>  ren1->SetBackground( 0.1, 0.2, 0.4 );
> 
>  vtkRenderWindow *renWin= vtkRenderWindow::New();
>  renWin->AddRenderer( ren1 );
>  renWin->SetSize( 300, 300 );
>  //Setting Camera
>
>  //Setting Light
>
>  //For Event Processing
>  vtkRenderWindowInteractor *iren = vtkRenderWindowInteractor::New();
>  iren->SetRenderWindow(renWin);
>  renWin->Render();
>  //Setting up event processing loop
>  iren->Initialize();
>  iren->Start();
>
>Thanks ,
>
>S. Hassan Amin
>
>
>------------------------------
>
>Message: 17
>Date: Wed, 19 Oct 2005 14:07:35 +0200
>From: Lise Angell <lise.angell at gmail.com>
>Subject: [vtkusers] vtkUnstructuredGrid::InsertNextCell
>To: vtkusers at vtk.org
>Message-ID:
>	<98a4c83b0510190507x3784da7fief0f9573772f14a7 at mail.gmail.com>
>Content-Type: text/plain; charset=ISO-8859-1
>
>I would like to use
>vtkUnstructuredGrid::InsertNextCell( int type,vtkIdType npts,vtkIdType *pts),
>not vtkUnstructuredGrid::InsertNextCell( int type,vtkIdList * ptIds)
>
>
>But then I get the error:
> File "readxdr.py", line 456, in mount_vtk_structures
>   vtk_u_grid.InsertNextCell(vtk_cell_type, npt,  pt_list)
>TypeError: function takes exactly 2 arguments (3 given)
>
>vtk_cell_type: int, npt: int, pt_list: list of ints
>Any ideas how I can reach this method (assuming it's not deprecated)?
>
>
>Lise
>
>System:
>Python2.3
>VTK from cvs (Oct.11 2005)
>Mac OSX Tiger (iBookG4)
>
>snip:
>#------------------------------------------------------------------------------------------------------
>      nsd = grid.nsd; nno = grid.nno; nel = grid.nel   # grid: GridFE class
>
>      # allocate VTK structures
>       vtk_u_grid = vtk.vtkUnstructuredGrid()
>       pts = vtk.vtkPoints()
>       pts.SetNumberOfPoints(nno)
>       data = vtk.vtkDoubleArray()
>       data.SetNumberOfValues(nno)
>
>      for i in range (0,nno):
>             x = grid.coords[i]
>               s = [... get value from file...]
>               data.SetValue(i,s)                              # put
>field value in VTK object
>               pts.SetPoint(i,x)                               # put
>points in VTK object
>
>       vtk_u_grid.Allocate(nel, 0)
>       vtk_u_grid.SetPoints(pts)
>       vtk_u_grid.GetPointData().SetScalars(data)
>
>       # tell the VTK grid structure about the element topology
>
>       for e in range (1, nel):
>               < getting cell type (int), npt (int) and point list
>(array of ints)>
>               vtk_u_grid.InsertNextCell(vtk_cell_type, npt, pt_list)
>
>#------------------------------------------------------------------------------------------------------
>
>--
>"Je forme une entreprise qui n'eut jamais d'exemple,
>et dont l'exécution n'aura point d'imitateur."  J-J Rousseau
>
>
>------------------------------
>
>Message: 18
>Date: Wed, 19 Oct 2005 19:50:01 +0800 (CST)
>From: "ÍõÎÄ»Ô" <sunthine at 21cn.com>
>Subject: [vtkusers] How to use vtk4.2 in tcl
>To: vtkusers at vtk.org
>Message-ID: <DZ948980804998.11471 at db1.inner-21cn.com>
>Content-Type: text/plain; charset="us-ascii"
>
>An HTML attachment was scrubbed...
>URL: http://public.kitware.com/pipermail/vtkusers/attachments/20051019/16cc19db/attachment-0001.htm
>
>------------------------------
>
>Message: 19
>Date: Wed, 19 Oct 2005 14:11:28 +0200
>From: Hendrik Belitz <h.belitz at fz-juelich.de>
>Subject: [vtkusers] Polymesh to triangle mesh filter
>To: vtkusers at vtk.org
>Message-ID: <200510191411.35203.h.belitz at fz-juelich.de>
>Content-Type: text/plain; charset="iso-8859-1"
>
>Dear VTK community,
>
>I'm looking for a way to generate a triangle mesh from a given surface mesh 
>consisting of arbitrary polygons (different sizes, different number of 
>vertices). Is there any VTK filter available for this task?
>
>Regards
> Hendrik
> 
>-------------------------------------------------------------------------------------
>Dipl.-Inform. Hendrik Belitz
>Central Institute of Electronics / Zentralinstitut für Elektronik 
> Multimodal image processing workgroup / AG Multimodale Bildverarbeitung
>Research Center Juelich / Forschungszentrum Jülich GmbH
>D-52428 Jülich, Germany
>Tel.: (++49)2461 61 8701 Fax: (++49)2461 61 3990
>email: h.belitz at fz-juelich.de
>ggp-key available via http://pgpkeys.pca.dfn.de
>-------------- next part --------------
>A non-text attachment was scrubbed...
>Name: not available
>Type: application/pgp-signature
>Size: 189 bytes
>Desc: not available
>Url : http://public.kitware.com/pipermail/vtkusers/attachments/20051019/cfc146e7/attachment-0001.pgp
>
>------------------------------
>
>Message: 20
>Date: Wed, 19 Oct 2005 14:44:08 +0200
>From: Hendrik Belitz <h.belitz at fz-juelich.de>
>Subject: Re: [vtkusers] Polymesh to triangle mesh filter
>To: vtkusers at vtk.org
>Message-ID: <200510191444.14702.h.belitz at fz-juelich.de>
>Content-Type: text/plain; charset="iso-8859-2"
>
>Okay, I found out that vtkTriangleFilter is exactly what I'm looking for...
>
>-------------------------------------------------------------------------------------
>Dipl.-Inform. Hendrik Belitz
>Central Institute of Electronics / Zentralinstitut für Elektronik 
> Multimodal image processing workgroup / AG Multimodale Bildverarbeitung
>Research Center Juelich / Forschungszentrum Jülich GmbH
>D-52428 Jülich, Germany
>Tel.: (++49)2461 61 8701 Fax: (++49)2461 61 3990
>email: h.belitz at fz-juelich.de
>ggp-key available via http://pgpkeys.pca.dfn.de
>-------------- next part --------------
>A non-text attachment was scrubbed...
>Name: not available
>Type: application/pgp-signature
>Size: 189 bytes
>Desc: not available
>Url : http://public.kitware.com/pipermail/vtkusers/attachments/20051019/bf15422f/attachment-0001.pgp
>
>------------------------------
>
>Message: 21
>Date: Wed, 19 Oct 2005 14:46:04 +0200
>From: "Tron Darvann" <trd at odont.ku.dk>
>Subject: SV: [vtkusers] Polymesh to triangle mesh filter
>To: "Hendrik Belitz" <h.belitz at fz-juelich.de>, <vtkusers at vtk.org>
>Message-ID: <099F621DF3A17C4B9404FC62F9EC2D3220F31A at odont.ku.dk>
>Content-Type: text/plain; charset="iso-8859-1"
>
>I think vtkTriangleFilter will do this for you.  See also vtkCleanPolyData.
> 
>Any other suggestions?
> 
> 
>Tron Darvann
>Research Engineer, 3D-Laboratory
> 
>Tel: (+45) 35 32 67 58 (lab) / (+45) 28 20 03 12 (mobile)
>E-mail: tdarvann at lab3d.odont.ku.dk
>Mailing and Visiting Address:
>3D-Lab, School of Dentistry
>University of Copenhagen
>Nørre Alle 20
>DK-2200 Copenhagen N
>Denmark
>
>________________________________
>
>Fra: vtkusers-bounces+tdarvann=lab3d.odont.ku.dk at vtk.org p?vegne af Hendrik Belitz
>Sendt: on 19-10-2005 14:11
>Til: vtkusers at vtk.org
>Emne: [vtkusers] Polymesh to triangle mesh filter
>
>
>
>Dear VTK community,
>
>I'm looking for a way to generate a triangle mesh from a given surface mesh
>consisting of arbitrary polygons (different sizes, different number of
>vertices). Is there any VTK filter available for this task?
>
>Regards
> Hendrik
>
>-------------------------------------------------------------------------------------
>Dipl.-Inform. Hendrik Belitz
>Central Institute of Electronics / Zentralinstitut fr Elektronik
>Multimodal image processing workgroup / AG Multimodale Bildverarbeitung
>Research Center Juelich / Forschungszentrum Jlich GmbH
>D-52428 Jlich, Germany
>Tel.: (++49)2461 61 8701 Fax: (++49)2461 61 3990
>email: h.belitz at fz-juelich.de
>ggp-key available via http://pgpkeys.pca.dfn.de
>
>
>-------------- next part --------------
>An HTML attachment was scrubbed...
>URL: http://public.kitware.com/pipermail/vtkusers/attachments/20051019/04eaa480/attachment-0001.html
>
>------------------------------
>
>Message: 22
>Date: Wed, 19 Oct 2005 15:02:33 +0200
>From: Oliver Weinheimer <mail at oliwe.com>
>Subject: [vtkusers] intersection of line with bounding-box
>To: vtkusers at vtk.org
>Message-ID: <435643E9.3050800 at oliwe.com>
>Content-Type: text/plain; charset="iso-8859-1"
>
>Hi all,
>
>i have imported data from an C++-array.
>What is the best way for calculating the intersection points of a line
>with the bounding-box of the imported volume. At the moment i'm using
>the class vtkCellLocator, see the code below  - i think, there must be a
>better way ....
>    
>regards
>Oliver
>
>---
>
>unsigned long int size = rows*cols*slices;
>volumeValues = new float[size];
>..
>importer = vtkImageImport::New();
>importer->SetWholeExtent(0,cols-1,0,rows-1,0,slices-1);
>importer->SetDataSpacing (volume_res,volume_res,volume_res);
>importer->SetDataExtentToWholeExtent();
>importer->SetDataOrigin(volume_origin[0],
>                          volume_origin[1],
>                          volume_origin[2]);
>importer->SetDataScalarTypeToFloat();
>importer->SetImportVoidPointer(volumeValues);
>..
>cellLocator = vtkCellLocator::New();
>cellLocator->SetDataSet((vtkDataSet*)importer->GetOutput());
>cellLocator->CacheCellBoundsOn();
>cellLocator->SetTolerance(0.0);
>cellLocator->AutomaticOn();
>cellLocator->BuildLocator();
>..
>cellLocator->IntersectWithLine(...)
>
>---
>-------------- next part --------------
>A non-text attachment was scrubbed...
>Name: mail.vcf
>Type: text/x-vcard
>Size: 261 bytes
>Desc: not available
>Url : http://public.kitware.com/pipermail/vtkusers/attachments/20051019/e343905d/mail-0001.vcf
>
>------------------------------
>
>Message: 23
>Date: Wed, 19 Oct 2005 18:40:22 +0530
>From: "Alark Joshi" <alark_j at hotmail.com>
>Subject: [vtkusers] installation errors on mandrake
>To: vtkusers at vtk.org
>Message-ID: <BAY7-F17628CB23928A9A1EE46628F700 at phx.gbl>
>Content-Type: text/plain; format=flowed
>
>Hello,
>
>I downloaded the latest version of the source from CVS. After typing 'make' 
>I get the following message:
>
>
>Building CXX object IO/CMakeFiles/vtkIO.dir/vtkMaterialLibrary.o
>In file included from 
>/home/alark1/cmake/bin/Utilities/MaterialLibrary/vtkMaterialLibraryMacro.h:16,
>                 from /home/alark1/VTK/IO/vtkMaterialLibrary.cxx:18:
>/home/alark1/cmake/bin/Utilities/MaterialLibrary/vtkMaterialXMLLibrary.h:142: 
>error: missing terminating " character
>/home/alark1/cmake/bin/Utilities/MaterialLibrary/vtkMaterialXMLLibrary.h:143: 
>error: stray '\' in program
>/home/alark1/cmake/bin/Utilities/MaterialLibrary/vtkMaterialXMLLibrary.h:143: 
>error: missing terminating " character
>/home/alark1/cmake/bin/Utilities/MaterialLibrary/vtkMaterialXMLLibrary.h:144: 
>error: missing terminating " character
>/home/alark1/cmake/bin/Utilities/MaterialLibrary/vtkMaterialXMLLibrary.h:145: 
>error: stray '\' in program
>/home/alark1/cmake/bin/Utilities/MaterialLibrary/vtkMaterialXMLLibrary.h:145: 
>error: `n' was not declared in this scope
>/home/alark1/cmake/bin/Utilities/MaterialLibrary/vtkMaterialXMLLibrary.h:145: 
>error: expected `,' or `;' before "n"
>/home/alark1/cmake/bin/Utilities/MaterialLibrary/vtkMaterialXMLLibrary.h:145: 
>error: missing terminating " character
>/home/alark1/cmake/bin/Utilities/MaterialLibrary/vtkMaterialXMLLibrary.h:146: 
>error: missing terminating " character
>/home/alark1/cmake/bin/Utilities/MaterialLibrary/vtkMaterialXMLLibrary.h:147: 
>error: stray '\' in program
>/home/alark1/cmake/bin/Utilities/MaterialLibrary/vtkMaterialXMLLibrary.h:147: 
>error: missing terminating " character
>/home/alark1/cmake/bin/Utilities/MaterialLibrary/vtkMaterialXMLLibrary.h:148: 
>error: missing terminating " character
>/home/alark1/cmake/bin/Utilities/MaterialLibrary/vtkMaterialXMLLibrary.h:149: 
>error: stray '\' in program
>/home/alark1/cmake/bin/Utilities/MaterialLibrary/vtkMaterialXMLLibrary.h:149: 
>error: missing terminating " character
>/home/alark1/cmake/bin/Utilities/MaterialLibrary/vtkMaterialXMLLibrary.h:150: 
>error: missing terminating " character
>/home/alark1/cmake/bin/Utilities/MaterialLibrary/vtkMaterialXMLLibrary.h:151: 
>error: stray '\' in program
>/home/alark1/cmake/bin/Utilities/MaterialLibrary/vtkMaterialXMLLibrary.h:151: 
>error: missing terminating " character
>/home/alark1/cmake/bin/Utilities/MaterialLibrary/vtkMaterialXMLLibrary.h:152: 
>error: missing terminating " character
>/home/alark1/cmake/bin/Utilities/MaterialLibrary/vtkMaterialXMLLibrary.h:153: 
>error: stray '\' in program
>/home/alark1/cmake/bin/Utilities/MaterialLibrary/vtkMaterialXMLLibrary.h:153: 
>error: missing terminating " character
>/home/alark1/cmake/bin/Utilities/MaterialLibrary/vtkMaterialXMLLibrary.h:154: 
>error: missing terminating " character
>/home/alark1/cmake/bin/Utilities/MaterialLibrary/vtkMaterialXMLLibrary.h:155: 
>error: stray '\' in program
>/home/alark1/cmake/bin/Utilities/MaterialLibrary/vtkMaterialXMLLibrary.h:155: 
>error: missing terminating " character
>/home/alark1/cmake/bin/Utilities/MaterialLibrary/vtkMaterialXMLLibrary.h:156: 
>error: missing terminating " character
>/home/alark1/cmake/bin/Utilities/MaterialLibrary/vtkMaterialXMLLibrary.h:157: 
>error: stray '\' in program
>/home/alark1/cmake/bin/Utilities/MaterialLibrary/vtkMaterialXMLLibrary.h:157: 
>error: missing terminating " character
>/home/alark1/cmake/bin/Utilities/MaterialLibrary/vtkMaterialXMLLibrary.h:158: 
>error: missing terminating " character
>/home/alark1/cmake/bin/Utilities/MaterialLibrary/vtkMaterialXMLLibrary.h:159: 
>error: stray '\' in program
>/home/alark1/cmake/bin/Utilities/MaterialLibrary/vtkMaterialXMLLibrary.h:159: 
>error: missing terminating " character
>/home/alark1/cmake/bin/Utilities/MaterialLibrary/vtkMaterialXMLLibrary.h:160: 
>error: missing terminating " character
>/home/alark1/cmake/bin/Utilities/MaterialLibrary/vtkMaterialXMLLibrary.h:161: 
>error: stray '\' in program
>/home/alark1/cmake/bin/Utilities/MaterialLibrary/vtkMaterialXMLLibrary.h:161: 
>error: missing terminating " character
>/home/alark1/cmake/bin/Utilities/MaterialLibrary/vtkMaterialXMLLibrary.h:162: 
>error: missing terminating " character
>/home/alark1/cmake/bin/Utilities/MaterialLibrary/vtkMaterialXMLLibrary.h:163: 
>error: stray '\' in program
>/home/alark1/cmake/bin/Utilities/MaterialLibrary/vtkMaterialXMLLibrary.h:163: 
>error: missing terminating " character
>/home/alark1/cmake/bin/Utilities/MaterialLibrary/vtkMaterialXMLLibrary.h:164: 
>error: missing terminating " character
>/home/alark1/cmake/bin/Utilities/MaterialLibrary/vtkMaterialXMLLibrary.h:165: 
>error: stray '\' in program
>/home/alark1/cmake/bin/Utilities/MaterialLibrary/vtkMaterialXMLLibrary.h:165: 
>error: missing terminating " character
>/home/alark1/cmake/bin/Utilities/MaterialLibrary/vtkMaterialXMLLibrary.h:166: 
>error: missing terminating " character
>/home/alark1/cmake/bin/Utilities/MaterialLibrary/vtkMaterialXMLLibrary.h:167: 
>error: stray '\' in program
>/home/alark1/cmake/bin/Utilities/MaterialLibrary/vtkMaterialXMLLibrary.h:167: 
>error: missing terminating " character
>/home/alark1/cmake/bin/Utilities/MaterialLibrary/vtkMaterialXMLLibrary.h:168: 
>error: missing terminating " character
>/home/alark1/cmake/bin/Utilities/MaterialLibrary/vtkMaterialXMLLibrary.h:169: 
>error: stray '\' in program
>/home/alark1/cmake/bin/Utilities/MaterialLibrary/vtkMaterialXMLLibrary.h:169: 
>error: missing terminating " character
>/home/alark1/cmake/bin/Utilities/MaterialLibrary/vtkMaterialXMLLibrary.h:170: 
>error: missing terminating " character
>/home/alark1/cmake/bin/Utilities/MaterialLibrary/vtkMaterialXMLLibrary.h:171: 
>error: stray '\' in program
>/home/alark1/cmake/bin/Utilities/MaterialLibrary/vtkMaterialXMLLibrary.h:171: 
>error: missing terminating " character
>make[2]: *** [IO/CMakeFiles/vtkIO.dir/vtkMaterialLibrary.o] Error 1
>make[1]: *** [IO/CMakeFiles/vtkIO.dir/all] Error 2
>make: *** [all] Error 2
>
>Thanks,
>Alark
>
>
>
>
>------------------------------
>
>Message: 24
>Date: Wed, 19 Oct 2005 09:38:57 -0400
>From: Utkarsh Ayachit <utkarsh.ayachit at kitware.com>
>Subject: Re: [vtkusers] installation errors on mandrake
>To: Alark Joshi <alark_j at hotmail.com>
>Cc: vtkusers at vtk.org
>Message-ID: <43564C71.70306 at kitware.com>
>Content-Type: text/plain; charset=ISO-8859-1
>
>Alark,
>
>That issue should be resolved now. Try updating again to the current
>head of the CVS  repository. Files with "\r\n" had accidentally got
>committed, which is why you are seeing this error.
>
>Utkarsh
>
>Alark Joshi wrote:
>> Hello,
>> 
>> I downloaded the latest version of the source from CVS. After typing
>> 'make' I get the following message:
>> 
>> 
>> Building CXX object IO/CMakeFiles/vtkIO.dir/vtkMaterialLibrary.o
>> In file included from
>> /home/alark1/cmake/bin/Utilities/MaterialLibrary/vtkMaterialLibraryMacro.h:16,
>> 
>>                 from /home/alark1/VTK/IO/vtkMaterialLibrary.cxx:18:
>> /home/alark1/cmake/bin/Utilities/MaterialLibrary/vtkMaterialXMLLibrary.h:142:
>> error: missing terminating " character
>> /home/alark1/cmake/bin/Utilities/MaterialLibrary/vtkMaterialXMLLibrary.h:143:
>> error: stray '\' in program
>> /home/alark1/cmake/bin/Utilities/MaterialLibrary/vtkMaterialXMLLibrary.h:143:
>> error: missing terminating " character
>> /home/alark1/cmake/bin/Utilities/MaterialLibrary/vtkMaterialXMLLibrary.h:144:
>> error: missing terminating " character
>> /home/alark1/cmake/bin/Utilities/MaterialLibrary/vtkMaterialXMLLibrary.h:145:
>> error: stray '\' in program
>> /home/alark1/cmake/bin/Utilities/MaterialLibrary/vtkMaterialXMLLibrary.h:145:
>> error: `n' was not declared in this scope
>> /home/alark1/cmake/bin/Utilities/MaterialLibrary/vtkMaterialXMLLibrary.h:145:
>> error: expected `,' or `;' before "n"
>> /home/alark1/cmake/bin/Utilities/MaterialLibrary/vtkMaterialXMLLibrary.h:145:
>> error: missing terminating " character
>> /home/alark1/cmake/bin/Utilities/MaterialLibrary/vtkMaterialXMLLibrary.h:146:
>> error: missing terminating " character
>> /home/alark1/cmake/bin/Utilities/MaterialLibrary/vtkMaterialXMLLibrary.h:147:
>> error: stray '\' in program
>> /home/alark1/cmake/bin/Utilities/MaterialLibrary/vtkMaterialXMLLibrary.h:147:
>> error: missing terminating " character
>> /home/alark1/cmake/bin/Utilities/MaterialLibrary/vtkMaterialXMLLibrary.h:148:
>> error: missing terminating " character
>> /home/alark1/cmake/bin/Utilities/MaterialLibrary/vtkMaterialXMLLibrary.h:149:
>> error: stray '\' in program
>> /home/alark1/cmake/bin/Utilities/MaterialLibrary/vtkMaterialXMLLibrary.h:149:
>> error: missing terminating " character
>> /home/alark1/cmake/bin/Utilities/MaterialLibrary/vtkMaterialXMLLibrary.h:150:
>> error: missing terminating " character
>> /home/alark1/cmake/bin/Utilities/MaterialLibrary/vtkMaterialXMLLibrary.h:151:
>> error: stray '\' in program
>> /home/alark1/cmake/bin/Utilities/MaterialLibrary/vtkMaterialXMLLibrary.h:151:
>> error: missing terminating " character
>> /home/alark1/cmake/bin/Utilities/MaterialLibrary/vtkMaterialXMLLibrary.h:152:
>> error: missing terminating " character
>> /home/alark1/cmake/bin/Utilities/MaterialLibrary/vtkMaterialXMLLibrary.h:153:
>> error: stray '\' in program
>> /home/alark1/cmake/bin/Utilities/MaterialLibrary/vtkMaterialXMLLibrary.h:153:
>> error: missing terminating " character
>> /home/alark1/cmake/bin/Utilities/MaterialLibrary/vtkMaterialXMLLibrary.h:154:
>> error: missing terminating " character
>> /home/alark1/cmake/bin/Utilities/MaterialLibrary/vtkMaterialXMLLibrary.h:155:
>> error: stray '\' in program
>> /home/alark1/cmake/bin/Utilities/MaterialLibrary/vtkMaterialXMLLibrary.h:155:
>> error: missing terminating " character
>> /home/alark1/cmake/bin/Utilities/MaterialLibrary/vtkMaterialXMLLibrary.h:156:
>> error: missing terminating " character
>> /home/alark1/cmake/bin/Utilities/MaterialLibrary/vtkMaterialXMLLibrary.h:157:
>> error: stray '\' in program
>> /home/alark1/cmake/bin/Utilities/MaterialLibrary/vtkMaterialXMLLibrary.h:157:
>> error: missing terminating " character
>> /home/alark1/cmake/bin/Utilities/MaterialLibrary/vtkMaterialXMLLibrary.h:158:
>> error: missing terminating " character
>> /home/alark1/cmake/bin/Utilities/MaterialLibrary/vtkMaterialXMLLibrary.h:159:
>> error: stray '\' in program
>> /home/alark1/cmake/bin/Utilities/MaterialLibrary/vtkMaterialXMLLibrary.h:159:
>> error: missing terminating " character
>> /home/alark1/cmake/bin/Utilities/MaterialLibrary/vtkMaterialXMLLibrary.h:160:
>> error: missing terminating " character
>> /home/alark1/cmake/bin/Utilities/MaterialLibrary/vtkMaterialXMLLibrary.h:161:
>> error: stray '\' in program
>> /home/alark1/cmake/bin/Utilities/MaterialLibrary/vtkMaterialXMLLibrary.h:161:
>> error: missing terminating " character
>> /home/alark1/cmake/bin/Utilities/MaterialLibrary/vtkMaterialXMLLibrary.h:162:
>> error: missing terminating " character
>> /home/alark1/cmake/bin/Utilities/MaterialLibrary/vtkMaterialXMLLibrary.h:163:
>> error: stray '\' in program
>> /home/alark1/cmake/bin/Utilities/MaterialLibrary/vtkMaterialXMLLibrary.h:163:
>> error: missing terminating " character
>> /home/alark1/cmake/bin/Utilities/MaterialLibrary/vtkMaterialXMLLibrary.h:164:
>> error: missing terminating " character
>> /home/alark1/cmake/bin/Utilities/MaterialLibrary/vtkMaterialXMLLibrary.h:165:
>> error: stray '\' in program
>> /home/alark1/cmake/bin/Utilities/MaterialLibrary/vtkMaterialXMLLibrary.h:165:
>> error: missing terminating " character
>> /home/alark1/cmake/bin/Utilities/MaterialLibrary/vtkMaterialXMLLibrary.h:166:
>> error: missing terminating " character
>> /home/alark1/cmake/bin/Utilities/MaterialLibrary/vtkMaterialXMLLibrary.h:167:
>> error: stray '\' in program
>> /home/alark1/cmake/bin/Utilities/MaterialLibrary/vtkMaterialXMLLibrary.h:167:
>> error: missing terminating " character
>> /home/alark1/cmake/bin/Utilities/MaterialLibrary/vtkMaterialXMLLibrary.h:168:
>> error: missing terminating " character
>> /home/alark1/cmake/bin/Utilities/MaterialLibrary/vtkMaterialXMLLibrary.h:169:
>> error: stray '\' in program
>> /home/alark1/cmake/bin/Utilities/MaterialLibrary/vtkMaterialXMLLibrary.h:169:
>> error: missing terminating " character
>> /home/alark1/cmake/bin/Utilities/MaterialLibrary/vtkMaterialXMLLibrary.h:170:
>> error: missing terminating " character
>> /home/alark1/cmake/bin/Utilities/MaterialLibrary/vtkMaterialXMLLibrary.h:171:
>> error: stray '\' in program
>> /home/alark1/cmake/bin/Utilities/MaterialLibrary/vtkMaterialXMLLibrary.h:171:
>> error: missing terminating " character
>> make[2]: *** [IO/CMakeFiles/vtkIO.dir/vtkMaterialLibrary.o] Error 1
>> make[1]: *** [IO/CMakeFiles/vtkIO.dir/all] Error 2
>> make: *** [all] Error 2
>> 
>> Thanks,
>> Alark
>> 
>> 
>> _______________________________________________
>> This is the private VTK discussion list. Please keep messages on-topic.
>> Check the FAQ at: http://www.vtk.org/Wiki/VTK_FAQ
>> Follow this link to subscribe/unsubscribe:
>> http://www.vtk.org/mailman/listinfo/vtkusers
>> 
>
>
>
>------------------------------
>
>Message: 25
>Date: Wed, 19 Oct 2005 15:37:25 +0200 (CEST)
>From: Michnay Bal?zs <michnay at freemail.hu>
>Subject: Re: [vtkusers] how to access 3D volume
>To: vtkusers at vtk.org
>Message-ID: <freemail.20050919153725.47495 at fm08.freemail.hu>
>Content-Type: TEXT/PLAIN; CHARSET=ISO-8859-2
>
>Hi Ravi,
>Here's another way to extract a slice from a volume using 
>vtkImageReslice class. This one works for sure.
>
>sliceExtractor = vtkImageReslice::New();
>sliceExtractor->SetOutputDimensionality(2);
>sliceExtractor->SetOutputExtentToDefault();
>sliceExtractor->SetResliceAxesDirectionCosines
>(1.0,0.0,0.0,0.0,1.0,0.0,0.0,0.0,1.0);
>sliceExtractor->SetInput(sliceThis); //where sliceThis is the volume
>sliceExtractor->SetResliceAxesOrigin(0,0,frameNumber); // where 
>frameNumber is the slice # you'd like to extract
>sliceExtractor->Update();
>
>Then use sliceExtractor->GetOutput(); to access the image.
>
>Good luck,
>
>Best of all,
>
> Michnay
>
>_________________________________________________________________________
>Töltsd le Caramel els?saját szerzeményét, és nyerj egy
>közös vacsorát vagy VIP-jegyeket a lemezbemutat?koncertre!
>http://zenearuhaz.t-online.hu/index.php?m=info&albumid=14517&sp=74&sty=78
>
>
>
>
>------------------------------
>
>Message: 26
>Date: Wed, 19 Oct 2005 16:01:07 +0200 (CEST)
>From: Michnay Bal?zs <michnay at freemail.hu>
>Subject: [vtkusers] Constructing a volume....
>To: vtkusers at vtk.org
>Message-ID: <freemail.20050919160107.41995 at fm07.freemail.hu>
>Content-Type: TEXT/PLAIN; CHARSET=ISO-8859-2
>
>Dear VTK Users,
>
>I read all the posts about constructing a volume from individual images 
>but I still can't get my program working. I think I don't miss very much, 
>because the volume extent is OK.
>Hopefully some of you succeeded constructing a volume from images 
>and can tell me what's wrong with this code.
>
>Here's my code:
>----------------------------
>vtkImageAppend *outputBCF = vtkImageAppend::New();
>outputBCF->SetAppendAxis(2);
>
>for (int i=0; i<10; i++){
>  median.SetInput(getNthFrame(volume,i)); //This sets the input of a 
>filter (this works well).
>  outputBCF->AddInput(median.execute()); //medin.execute() returns 
>the filtered image (no problem with image).
>}	
>
>outputBCF->UpdateWholeExtent();
>outputBCF->Update();
>
>-----------------------------
>I use outputBCF->GetOutput() to access the volume.
>
>Here, the extent is OK and when I take a look at the slices, all the 
>frames contain the same image (the last one) as if I added the same 
>image at all iterations of the for loop. The AddInput() method gets the 
>right images for sure and still don't know why the slices are identical to 
>the last one.
>
>Here's how I look at the slices:
>-----------------------------
>vtkImageViewer *v = vtkImageViewer::New();
>v->SetInput(outputBCF->GetOutput());
>v->SetColorLevel(127.5);
>v->SetColorWindow(255.0);
>v->SetZSlice(5);
>v->Render();
>-----------------------------
>
>No matter what the ZSlice is, all the frames are the same...
>
>Any ideas what the problem is?
>
>If you have a different solution and don't mind sharing your ideas about 
>this, please let me know how to do this. I don't stick to this, any 
>working version would be very helpful.
>
>Thanks a lot.
>
>Bye,
>
>  Michnay
>
>_________________________________________________________________________
>Töltsd le Caramel els?saját szerzeményét, és nyerj egy
>közös vacsorát vagy VIP-jegyeket a lemezbemutat?koncertre!
>http://zenearuhaz.t-online.hu/index.php?m=info&albumid=14517&sp=74&sty=78
>
>
>
>
>------------------------------
>
>Message: 27
>Date: Wed, 19 Oct 2005 16:01:34 +0200
>From: Oliver Weinheimer <mail at oliwe.com>
>Subject: [vtkusers] set window\level in vtkImagePlaneWidget
>To: vtkusers at vtk.org
>Message-ID: <435651BE.2080805 at oliwe.com>
>Content-Type: text/plain; charset="iso-8859-1"
>
>Hi all,
>
>is it possible to set the values for window\level in vtkImagePlaneWidget
>with a funcion call?
>The only way i found is via mouse interaction.
>
>regards
>Oliver
>-------------- next part --------------
>A non-text attachment was scrubbed...
>Name: mail.vcf
>Type: text/x-vcard
>Size: 261 bytes
>Desc: not available
>Url : http://public.kitware.com/pipermail/vtkusers/attachments/20051019/a5ec427a/mail-0001.vcf
>
>------------------------------
>
>Message: 28
>Date: Wed, 19 Oct 2005 10:43:27 -0400
>From: Amy Squillacote <amy.squillacote at kitware.com>
>Subject: Re: [vtkusers] set window\level in vtkImagePlaneWidget
>To: Oliver Weinheimer <mail at oliwe.com>, vtkusers at vtk.org
>Message-ID: <6.2.5.6.2.20051019104308.02d94b78 at kitware.com>
>Content-Type: text/plain; charset="us-ascii"; format=flowed
>
> From vtkImagePlaneWidget.h:
>
>   // Description:
>   // Set/Get the current window and level values.  Set should
>   // only be called after SetInput.
>   void SetWindowLevel(double window, double level);
>   void GetWindowLevel(double wl[2]);
>
>- Amy
>
>At 10:01 AM 10/19/2005, Oliver Weinheimer wrote:
>>Hi all,
>>
>>is it possible to set the values for window\level in vtkImagePlaneWidget
>>with a funcion call?
>>The only way i found is via mouse interaction.
>>
>>regards
>>Oliver
>>
>>
>>_______________________________________________
>>This is the private VTK discussion list.
>>Please keep messages on-topic. Check the FAQ at: 
>>http://www.vtk.org/Wiki/VTK_FAQ
>>Follow this link to subscribe/unsubscribe:
>>http://www.vtk.org/mailman/listinfo/vtkusers
>
>
>
>------------------------------
>
>Message: 29
>Date: Wed, 19 Oct 2005 07:46:48 -0700 (PDT)
>From: Ravi Samala <raviksamala at yahoo.com>
>Subject: [vtkusers] How to set to data to LittleEndian
>To: vtkusers at vtk.org
>Message-ID: <20051019144648.30749.qmail at web35702.mail.mud.yahoo.com>
>Content-Type: text/plain; charset=iso-8859-1
>
>hello vtkusers,
>
>I am having data in vtkImageData format and I would
>like to write it to a JPEG file using vtkJPEGWriter.
>
>My question: is there any way I can tell the
>JPEGWriter to change the data format to little endian
>format before writing it to JPEG file.
>
>Thank you,
>
>Ravi.
>
>
>	
>		
>__________________________________ 
>Yahoo! Mail - PC Magazine Editors' Choice 2005 
>http://mail.yahoo.com
>
>
>------------------------------
>
>Message: 30
>Date: Wed, 19 Oct 2005 20:31:51 +0530
>From: "Alark Joshi" <alark_j at hotmail.com>
>Subject: Re: [vtkusers] installation errors on mandrake
>To: utkarsh.ayachit at kitware.com
>Cc: vtkusers at vtk.org
>Message-ID: <BAY7-F88900F8AAA29B182F4A978F700 at phx.gbl>
>Content-Type: text/plain; format=flowed
>
>Thanks. It works great now.
>
>Alark
>
>
>Alark Joshi
>1037 Maiden Choice Lane, Apt Terrace
>Baltimore, MD 21229
>Phone: (631) 796-6247
>
>
>
>
>>From: Utkarsh Ayachit <utkarsh.ayachit at kitware.com>
>>To: Alark Joshi <alark_j at hotmail.com>
>>CC: vtkusers at vtk.org
>>Subject: Re: [vtkusers] installation errors on mandrake
>>Date: Wed, 19 Oct 2005 09:38:57 -0400
>>
>>Alark,
>>
>>That issue should be resolved now. Try updating again to the current
>>head of the CVS  repository. Files with "\r\n" had accidentally got
>>committed, which is why you are seeing this error.
>>
>>Utkarsh
>>
>>Alark Joshi wrote:
>> > Hello,
>> >
>> > I downloaded the latest version of the source from CVS. After typing
>> > 'make' I get the following message:
>> >
>> >
>> > Building CXX object IO/CMakeFiles/vtkIO.dir/vtkMaterialLibrary.o
>> > In file included from
>> > 
>>/home/alark1/cmake/bin/Utilities/MaterialLibrary/vtkMaterialLibraryMacro.h:16,
>> >
>> >                 from /home/alark1/VTK/IO/vtkMaterialLibrary.cxx:18:
>> > 
>>/home/alark1/cmake/bin/Utilities/MaterialLibrary/vtkMaterialXMLLibrary.h:142:
>> > error: missing terminating " character
>> > 
>>/home/alark1/cmake/bin/Utilities/MaterialLibrary/vtkMaterialXMLLibrary.h:143:
>> > error: stray '\' in program
>> > 
>>/home/alark1/cmake/bin/Utilities/MaterialLibrary/vtkMaterialXMLLibrary.h:143:
>> > error: missing terminating " character
>> > 
>>/home/alark1/cmake/bin/Utilities/MaterialLibrary/vtkMaterialXMLLibrary.h:144:
>> > error: missing terminating " character
>> > 
>>/home/alark1/cmake/bin/Utilities/MaterialLibrary/vtkMaterialXMLLibrary.h:145:
>> > error: stray '\' in program
>> > 
>>/home/alark1/cmake/bin/Utilities/MaterialLibrary/vtkMaterialXMLLibrary.h:145:
>> > error: `n' was not declared in this scope
>> > 
>>/home/alark1/cmake/bin/Utilities/MaterialLibrary/vtkMaterialXMLLibrary.h:145:
>> > error: expected `,' or `;' before "n"
>> > 
>>/home/alark1/cmake/bin/Utilities/MaterialLibrary/vtkMaterialXMLLibrary.h:145:
>> > error: missing terminating " character
>> > 
>>/home/alark1/cmake/bin/Utilities/MaterialLibrary/vtkMaterialXMLLibrary.h:146:
>> > error: missing terminating " character
>> > 
>>/home/alark1/cmake/bin/Utilities/MaterialLibrary/vtkMaterialXMLLibrary.h:147:
>> > error: stray '\' in program
>> > 
>>/home/alark1/cmake/bin/Utilities/MaterialLibrary/vtkMaterialXMLLibrary.h:147:
>> > error: missing terminating " character
>> > 
>>/home/alark1/cmake/bin/Utilities/MaterialLibrary/vtkMaterialXMLLibrary.h:148:
>> > error: missing terminating " character
>> > 
>>/home/alark1/cmake/bin/Utilities/MaterialLibrary/vtkMaterialXMLLibrary.h:149:
>> > error: stray '\' in program
>> > 
>>/home/alark1/cmake/bin/Utilities/MaterialLibrary/vtkMaterialXMLLibrary.h:149:
>> > error: missing terminating " character
>> > 
>>/home/alark1/cmake/bin/Utilities/MaterialLibrary/vtkMaterialXMLLibrary.h:150:
>> > error: missing terminating " character
>> > 
>>/home/alark1/cmake/bin/Utilities/MaterialLibrary/vtkMaterialXMLLibrary.h:151:
>> > error: stray '\' in program
>> > 
>>/home/alark1/cmake/bin/Utilities/MaterialLibrary/vtkMaterialXMLLibrary.h:151:
>> > error: missing terminating " character
>> > 
>>/home/alark1/cmake/bin/Utilities/MaterialLibrary/vtkMaterialXMLLibrary.h:152:
>> > error: missing terminating " character
>> > 
>>/home/alark1/cmake/bin/Utilities/MaterialLibrary/vtkMaterialXMLLibrary.h:153:
>> > error: stray '\' in program
>> > 
>>/home/alark1/cmake/bin/Utilities/MaterialLibrary/vtkMaterialXMLLibrary.h:153:
>> > error: missing terminating " character
>> > 
>>/home/alark1/cmake/bin/Utilities/MaterialLibrary/vtkMaterialXMLLibrary.h:154:
>> > error: missing terminating " character
>> > 
>>/home/alark1/cmake/bin/Utilities/MaterialLibrary/vtkMaterialXMLLibrary.h:155:
>> > error: stray '\' in program
>> > 
>>/home/alark1/cmake/bin/Utilities/MaterialLibrary/vtkMaterialXMLLibrary.h:155:
>> > error: missing terminating " character
>> > 
>>/home/alark1/cmake/bin/Utilities/MaterialLibrary/vtkMaterialXMLLibrary.h:156:
>> > error: missing terminating " character
>> > 
>>/home/alark1/cmake/bin/Utilities/MaterialLibrary/vtkMaterialXMLLibrary.h:157:
>> > error: stray '\' in program
>> > 
>>/home/alark1/cmake/bin/Utilities/MaterialLibrary/vtkMaterialXMLLibrary.h:157:
>> > error: missing terminating " character
>> > 
>>/home/alark1/cmake/bin/Utilities/MaterialLibrary/vtkMaterialXMLLibrary.h:158:
>> > error: missing terminating " character
>> > 
>>/home/alark1/cmake/bin/Utilities/MaterialLibrary/vtkMaterialXMLLibrary.h:159:
>> > error: stray '\' in program
>> > 
>>/home/alark1/cmake/bin/Utilities/MaterialLibrary/vtkMaterialXMLLibrary.h:159:
>> > error: missing terminating " character
>> > 
>>/home/alark1/cmake/bin/Utilities/MaterialLibrary/vtkMaterialXMLLibrary.h:160:
>> > error: missing terminating " character
>> > 
>>/home/alark1/cmake/bin/Utilities/MaterialLibrary/vtkMaterialXMLLibrary.h:161:
>> > error: stray '\' in program
>> > 
>>/home/alark1/cmake/bin/Utilities/MaterialLibrary/vtkMaterialXMLLibrary.h:161:
>> > error: missing terminating " character
>> > 
>>/home/alark1/cmake/bin/Utilities/MaterialLibrary/vtkMaterialXMLLibrary.h:162:
>> > error: missing terminating " character
>> > 
>>/home/alark1/cmake/bin/Utilities/MaterialLibrary/vtkMaterialXMLLibrary.h:163:
>> > error: stray '\' in program
>> > 
>>/home/alark1/cmake/bin/Utilities/MaterialLibrary/vtkMaterialXMLLibrary.h:163:
>> > error: missing terminating " character
>> > 
>>/home/alark1/cmake/bin/Utilities/MaterialLibrary/vtkMaterialXMLLibrary.h:164:
>> > error: missing terminating " character
>> > 
>>/home/alark1/cmake/bin/Utilities/MaterialLibrary/vtkMaterialXMLLibrary.h:165:
>> > error: stray '\' in program
>> > 
>>/home/alark1/cmake/bin/Utilities/MaterialLibrary/vtkMaterialXMLLibrary.h:165:
>> > error: missing terminating " character
>> > 
>>/home/alark1/cmake/bin/Utilities/MaterialLibrary/vtkMaterialXMLLibrary.h:166:
>> > error: missing terminating " character
>> > 
>>/home/alark1/cmake/bin/Utilities/MaterialLibrary/vtkMaterialXMLLibrary.h:167:
>> > error: stray '\' in program
>> > 
>>/home/alark1/cmake/bin/Utilities/MaterialLibrary/vtkMaterialXMLLibrary.h:167:
>> > error: missing terminating " character
>> > 
>>/home/alark1/cmake/bin/Utilities/MaterialLibrary/vtkMaterialXMLLibrary.h:168:
>> > error: missing terminating " character
>> > 
>>/home/alark1/cmake/bin/Utilities/MaterialLibrary/vtkMaterialXMLLibrary.h:169:
>> > error: stray '\' in program
>> > 
>>/home/alark1/cmake/bin/Utilities/MaterialLibrary/vtkMaterialXMLLibrary.h:169:
>> > error: missing terminating " character
>> > 
>>/home/alark1/cmake/bin/Utilities/MaterialLibrary/vtkMaterialXMLLibrary.h:170:
>> > error: missing terminating " character
>> > 
>>/home/alark1/cmake/bin/Utilities/MaterialLibrary/vtkMaterialXMLLibrary.h:171:
>> > error: stray '\' in program
>> > 
>>/home/alark1/cmake/bin/Utilities/MaterialLibrary/vtkMaterialXMLLibrary.h:171:
>> > error: missing terminating " character
>> > make[2]: *** [IO/CMakeFiles/vtkIO.dir/vtkMaterialLibrary.o] Error 1
>> > make[1]: *** [IO/CMakeFiles/vtkIO.dir/all] Error 2
>> > make: *** [all] Error 2
>> >
>> > Thanks,
>> > Alark
>> >
>> >
>> > _______________________________________________
>> > This is the private VTK discussion list. Please keep messages on-topic.
>> > Check the FAQ at: http://www.vtk.org/Wiki/VTK_FAQ
>> > Follow this link to subscribe/unsubscribe:
>> > http://www.vtk.org/mailman/listinfo/vtkusers
>> >
>>
>
>
>
>
>------------------------------
>
>_______________________________________________
>vtkusers mailing list
>vtkusers at vtk.org
>http://www.vtk.org/mailman/listinfo/vtkusers
>
>
>End of vtkusers Digest, Vol 18, Issue 18
>****************************************

= = = = = = = = = = = = = = = = = = = =
			

¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡ÖÂ
Àñ£¡
 
				 
¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡º«Íú
¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡sjtu9 at yahoo.com
¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡2005-10-20



More information about the vtkusers mailing list