When replying, please edit your Subject line so it is more specific than "Re: Contents of vtkusers digest..."
1. Re: error: invalid static_cast from type 'int' to type 'const itk::Image*' (Cesar Rabak) 2. VTK, Java and Key PressEvent! (Chris Hughes) 3. TCL script to open several files...
(Renato N. Elias) 4. Problems with texture mapping (Ankur Deshmukh)
Message: 1 Date: Sat, 14 Jan 2006 18:28:32 -0300 (ART) From: Cesar Rabak Subject: Re: [vtkusers] error: invalid static_cast from type 'int' to type 'const itk::Image*' To: Luis Ibanez , charfeddine amir Cc: insight insight , vtkusers vtkusers Message-ID: <[hidden email]> Content-Type: text/plain; charset="iso-8859-1"
OTOH, now we know the best season to ask for the full power of divinatory abilities
Luis Ibanez escreveu: Hi Amir,
We may need to look at the code that you wrote in your file migAppBase.cxx
It seems that you are attempting to assign an integer to a SmartPointer of an image.
That will not work....
Please be nice to us and share with mailing list the lines of code around line 246 of your file
We already tried hard to use our divinatory mental powers to guess what you may have written in that file...
but given that today is almost Full Moon, and that we are too far from the Winter Solstice, our divinatory skills didn't work quite well.
--------------------- charfeddine amir wrote:
> Hi All > > while trying to build myITKgui package, i get error during build process : > > /usr/local/include/InsightToolkit/Common/itkSmartPointer.h:90: error: > invalid
static_cast from type 'int' to type 'const itk::Image > char, 3u>*' > /usr/local/include/InsightToolkit/Common/itkSmartPointer.h: In member > function 'bool itk::SmartPointer::operator==(R) const [with > R = int, TObjectType = itk::Image]': > /usr/local/myITKgui/migAppBase.cxx:246: instantiated from here > /usr/local/include/InsightToolkit/Common/itkSmartPointer.h:86: error: > invalid static_cast from type 'int' to type 'const itk::Image > char, 3u>*' > make: *** [migAppBase.o] Erreur 1 > make: *** [default_target] Erreur 2 > [root@timhpux myITKguibin]# > > thankx for any help or comment. > Amir. >
_______________________________________________ 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
-- Cesar Rabak GNU/Linux User 52247. Get counted: http://counter.li.org/
--------------------------------- Yahoo! doce lar. Faça do Yahoo! sua homepage. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://public.kitware.com/pipermail/vtkusers/attachments/20060114/e671233c/attachment.html
Message: 2 Date: Sat, 14 Jan 2006 23:00:41 -0000 From: "Chris Hughes" Subject: [vtkusers] VTK, Java and Key PressEvent! To: Message-ID: <[hidden email]> Content-Type: text/plain; charset="us-ascii"
A quick question. I have added an Observer to an interactor which on a KeyPress calls a specific function. This works and I am able to see
the function being called every time I press a key, but how can I work out which key was pressed, so that I can add a response to it! Java.
Message: 3 Date: Sun, 15 Jan 2006 10:43:26 -0200 From: "Renato N. Elias" Subject: [vtkusers] TCL script to open several files... To: Message-ID: <[hidden email]> Content-Type: text/plain; charset="us-ascii"
I'd like to write a VTK/TCL script to read several Ensight Case files, apply the "append dataset" and "clean to grid" filters and export the result to an unique VTK file, but my problem is: how can I read several files in a TCL scrip without having to write a reader block for each case file? I'm trying to do something like this:
# radical is used to build the file names set radical
[lindex $argv 0]
# number of files to be read set nprocs [lindex $argv 1] append radical "_"
# example radical = foo, nprocs=2 # will produce the following filenames: foo_00.case and foo_01.case # foo_00.case + foo_01.case = foo.vtk
I understood that the "reader" is an object and I should create one object to each casefile, so, how could I do that?
I guess it's a very basic question, but I just started to learn TCL and VTK and I have not found any similar example in the VTK books.
lot for any help
Renato N. Elias =================================================== PhD Student High Performance Computing Center - NACAD/COPPE Federal University of Rio de Janeiro, RJ -Brazil http://www.nacad.ufrj.br/~rnelias
Message: 4 Date: Sun, 15 Jan 2006 06:31:26 -0700 From: Ankur Deshmukh Subject: [vtkusers] Problems with texture mapping To: [hidden email] Message-ID: <[hidden email]> Content-Type: text/plain; charset=ISO-8859-1; format=flowed
I am trying to texture map a jpeg image to a medical dat set. I was wondering if any one has done this before and could help me wiht my predicament. As I try to map this texture to the volume data, the jpeg image just sticks into the volume data with no actual mapping occuring. Here is an image of whats
happening: http://cs.uccs.edu/~asdeshmu/figure.png I am wondering how to correct this problem and have not gotten anywhere.
Any help would be highly appreciated.
_______________________________________________ vtkusers mailing list [hidden email] http://www.vtk.org/mailman/listinfo/vtkusers
End of vtkusers Digest, Vol 21, Issue 15 ****************************************