<div id="RTEContent">How to incorporate monte carlo volume rendering in the VTK?<br> <br> Sajjad<br><br><b><i>vtkusers-request@vtk.org</i></b> wrote:<blockquote class="replbq" style="border-left: 2px solid rgb(16, 16, 255); margin-left: 5px; padding-left: 5px;"> Send vtkusers mailing list submissions to<br> vtkusers@vtk.org<br><br>To subscribe or unsubscribe via the World Wide Web, visit<br> http://www.vtk.org/mailman/listinfo/vtkusers<br>or, via email, send a message with subject or body 'help' to<br> vtkusers-request@vtk.org<br><br>You can reach the person managing the list at<br> vtkusers-owner@vtk.org<br><br>When replying, please edit your Subject line so it is more specific<br>than "Re: Contents of vtkusers digest..."<br><br><br>Today's Topics:<br><br> 1. Re: error: invalid static_cast from type 'int' to type 'const<br> itk::Image<unsigned char="" 3u="">*' (Cesar Rabak)<br> 2. VTK, Java and Key PressEvent! (Chris Hughes)<br> 3. TCL script to open several files...
(Renato N. Elias)<br> 4. Problems with texture mapping (Ankur Deshmukh)<br><br><br>----------------------------------------------------------------------<br><br>Message: 1<br>Date: Sat, 14 Jan 2006 18:28:32 -0300 (ART)<br>From: Cesar Rabak <csrabak @yahoo.com.br=""><br>Subject: Re: [vtkusers] error: invalid static_cast from type 'int' to<br> type 'const itk::Image<unsigned char="" 3u="">*'<br>To: Luis Ibanez <luis.ibanez @kitware.com="">, charfeddine amir<br> <charfeddine_amir @yahoo.fr=""><br>Cc: insight insight <insight-users @itk.org="">, vtkusers vtkusers<br> <vtkusers @vtk.org=""><br>Message-ID: <20060114212832.87384.qmail@web30406.mail.mud.yahoo.com><br>Content-Type: text/plain; charset="iso-8859-1"<br><br>OTOH, now we know the best season to ask for the full power of divinatory abilities <br><br>Luis Ibanez <luis.ibanez @kitware.com=""> escreveu: <br>Hi Amir,<br><br><br> We may need to look at the code that<br> you wrote in your file migAppBase.cxx
:-)<br><br><br><br> It seems that you are attempting to assign<br> an integer to a SmartPointer of an image.<br><br> That will not work....<br><br><br> Please be nice to us and share with mailing<br> list the lines of code around line 246 of<br> your file<br><br><br> /usr/local/myITKgui/migAppBase.cxx<br><br><br> We already tried hard to use our divinatory<br> mental powers to guess what you may have<br> written in that file...<br><br> but given that today is almost Full Moon, and<br> that we are too far from the Winter Solstice,<br> our divinatory skills didn't work quite well.<br><br><br><br> Best regards,<br><br><br> Luis<br><br><br><br><br>---------------------<br>charfeddine amir wrote:<br>> Hi All<br>> <br>> while trying to build myITKgui package, i get error during build process :<br>> <br>> /usr/local/include/InsightToolkit/Common/itkSmartPointer.h:90: error: <br>> invalid
static_cast from type 'int' to type 'const itk::Image<br>> char, 3u>*'<br>> /usr/local/include/InsightToolkit/Common/itkSmartPointer.h: In member <br>> function 'bool itk::SmartPointer::operator==(R) const [with <br>> R = int, TObjectType = itk::Image]':<br>> /usr/local/myITKgui/migAppBase.cxx:246: instantiated from here<br>> /usr/local/include/InsightToolkit/Common/itkSmartPointer.h:86: error: <br>> invalid static_cast from type 'int' to type 'const itk::Image<br>> char, 3u>*'<br>> make[1]: *** [migAppBase.o] Erreur 1<br>> make: *** [default_target] Erreur 2<br>> [root@timhpux myITKguibin]#<br>> <br>> thankx for any help or comment.<br>> Amir.<br>> <br><br>_______________________________________________<br>This is the private VTK discussion list. <br>Please keep messages on-topic. Check the FAQ at: http://www.vtk.org/Wiki/VTK_FAQ<br>Follow this link to
subscribe/unsubscribe:<br>http://www.vtk.org/mailman/listinfo/vtkusers<br><br><br><br><br>-- <br>Cesar Rabak<br>GNU/Linux User 52247.<br>Get counted: http://counter.li.org/<br> <br>---------------------------------<br> Yahoo! doce lar. Faça do Yahoo! sua homepage.<br>-------------- next part --------------<br>An HTML attachment was scrubbed...<br>URL: http://public.kitware.com/pipermail/vtkusers/attachments/20060114/e671233c/attachment.html<br><br>------------------------------<br><br>Message: 2<br>Date: Sat, 14 Jan 2006 23:00:41 -0000<br>From: "Chris Hughes" <chughes @informatics.bangor.ac.uk=""><br>Subject: [vtkusers] VTK, Java and Key PressEvent!<br>To: <vtkusers @vtk.org=""><br>Message-ID:<br> <200601142300.k0EN0j20093291@mailhost.informatics.bangor.ac.uk><br>Content-Type: text/plain; charset="us-ascii"<br><br>Hi Guys,<br><br>A quick question. I have added an Observer to an interactor which on a<br>KeyPress calls a specific function. This works and I am able to see
the<br>function being called every time I press a key, but how can I work out which<br>key was pressed, so that I can add a response to it! Java.<br><br>Many Thanks,<br><br>Chris<br><br><br><br>------------------------------<br><br>Message: 3<br>Date: Sun, 15 Jan 2006 10:43:26 -0200<br>From: "Renato N. Elias" <rnelias @oi.com.br=""><br>Subject: [vtkusers] TCL script to open several files...<br>To: <vtkusers @vtk.org=""><br>Message-ID: <20060115124243.0BFEF7000191@smtp2.oi.com.br><br>Content-Type: text/plain; charset="us-ascii"<br><br><br><br>Dear friends,<br><br>I'd like to write a VTK/TCL script to read several Ensight Case files, apply<br>the "append dataset" and "clean to grid" filters and export the result to an<br>unique VTK file, but my problem is: how can I read several files in a TCL<br>scrip without having to write a reader block for each case file? I'm trying<br>to do something like this:<br><br><br>...<br><br># radical is used to build the file names<br>set radical
[lindex $argv 0] <br><br># number of files to be read<br>set nprocs [lindex $argv 1]<br>append radical "_" <br><br># example radical = foo, nprocs=2<br># will produce the following filenames: foo_00.case and foo_01.case<br># foo_00.case + foo_01.case = foo.vtk<br><br>for {set i 0} {$i < $nprocs} {incr i} {<br><br> set casefile(i) $radical<br> if {$i < 10} { append casefile(i) "0" }<br> append casefile(i) $i<br> append casefile(i) ".case"<br> puts " Reading Ensight casefile $casefile(i)"<br><br> vtkGenericEnSightReader reader<br> reader SetCaseFileName $casefile(i)<br> reader Update<br>...<br>...<br><br>}<br><br>as everybody can see, it'll never work.... <br><br>I understood that the "reader" is an object and I should create one object<br>to each casefile, so, how could I do that?<br><br>I guess it's a very basic question, but I just started to learn TCL and VTK<br>and I have not found any similar example in the VTK books.<br><br>thanks a
lot for any help<br><br><br>Renato N. Elias<br>===================================================<br>PhD Student<br>High Performance Computing Center - NACAD/COPPE<br>Federal University of Rio de Janeiro, RJ -Brazil<br>http://www.nacad.ufrj.br/~rnelias<br> <br><br><br><br>------------------------------<br><br>Message: 4<br>Date: Sun, 15 Jan 2006 06:31:26 -0700<br>From: Ankur Deshmukh <adeshmuk @uccs.edu=""><br>Subject: [vtkusers] Problems with texture mapping<br>To: vtkusers@vtk.org<br>Message-ID: <43CA4EAE.107@uccs.edu><br>Content-Type: text/plain; charset=ISO-8859-1; format=flowed<br><br>Hey Guys,<br><br>I am trying to texture map a jpeg image to a medical dat set. I was <br>wondering if any one has done this before and could help me wiht my <br>predicament. As I try to map this texture to the volume data, the jpeg <br>image just sticks into the volume data with no actual mapping occuring. <br>Here is an image of whats
happening:<br>http://cs.uccs.edu/~asdeshmu/figure.png<br>I am wondering how to correct this problem and have not gotten anywhere.<br><br>Any help would be highly appreciated.<br><br>Thanks<br>Ankur<br><br><br>------------------------------<br><br>_______________________________________________<br>vtkusers mailing list<br>vtkusers@vtk.org<br>http://www.vtk.org/mailman/listinfo/vtkusers<br><br><br>End of vtkusers Digest, Vol 21, Issue 15<br>****************************************<br></adeshmuk></vtkusers></rnelias></vtkusers></chughes></luis.ibanez></vtkusers></insight-users></charfeddine_amir></luis.ibanez></unsigned></csrabak></unsigned></blockquote><br></div><p>
        
                <hr size=1>Yahoo! Photos<br>
Got holiday prints? <a href="http://us.rd.yahoo.com/mail_us/taglines/holidayprints/*http://pa.yahoo.com/*http://us.rd.yahoo.com/mail_us/taglines/photos/evt=38089/*http://pg.photos.yahoo.com/ph//print_splash">See all the ways</a> to get quality prints in your hands ASAP.