[vtkusers] Re: vtkusers Digest, Vol 32, Issue 6
vtk_karlsruhe
vtk_karlsruhe at gmx.net
Tue Dec 5 12:31:29 EST 2006
----- Original Message -----
From: <vtkusers-request at vtk.org>
To: <vtkusers at vtk.org>
Sent: Tuesday, December 05, 2006 6:01 PM
Subject: vtkusers Digest, Vol 32, Issue 6
> 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: how to use vtkImageViewer in VC++6.0 (VTK4.2) (Goodwin Lawlor)
> 2. Re: How can I make printf all the generated surface
> coordinate ? (Ismail Elkhrachy)
> 3. Re: Please help me by answering the simple question (luisc)
> 4. vtk5 in ubuntu linux (Pedro Amaral)
> 5. Re: Contributing text files to the Wiki (David Cole)
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Tue, 05 Dec 2006 14:46:14 +0000
> From: Goodwin Lawlor <goodwin.lawlor at ucd.ie>
> Subject: [vtkusers] Re: how to use vtkImageViewer in VC++6.0 (VTK4.2)
> To: vtkusers at public.kitware.com
> Message-ID: <el40nb$vr2$1 at sea.gmane.org>
> Content-Type: text/plain; charset=ISO-8859-1; format=flowed
>
> jere ju wrote:
>> how to use vtkImageViewer in VC++6.0 (VTK4.2), there is no example in c++
>
> Hi,
>
> Have a look here:
> http://public.kitware.com/cgi-bin/viewcvs.cgi/Imaging/Testing/Cxx/ImportExport.cxx?rev=1.13&view=markup
>
> hth
>
> Goodwin
>
>
>
> ------------------------------
>
> Message: 2
> Date: Tue, 05 Dec 2006 15:51:05 +0100
> From: Ismail Elkhrachy <I.Elkhrachy at tu-bs.de>
> Subject: Re: [vtkusers] How can I make printf all the generated
> surface coordinate ?
> To: Amy Squillacote <amy.squillacote at kitware.com>
> Cc: VTKMailList <vtkusers at vtk.org>
> Message-ID: <45758759.8080500 at tu-bs.de>
> Content-Type: text/plain; charset=ISO-8859-1; format=flowed
>
> Amy Squillacote wrote:
>> Hi Ismail,
>>
>> Do something like the following after your call to cf->Update();.
>>
>> vtkPoints *points = cf->GetOutput()->GetPoints();
>> int numPts = points->GetNumberOfPoints();
>> int i;
>> double pt[3];
>>
>> for (i = 0; i < numPts; i++)
>> {
>> points->GetPoint(i, pt);
>> printf("point %d: %f %f %f\n", i, pt[0], pt[1], pt[2]);
>> }
>>
>> - Amy
>>
>> Ismail Elkhrachy wrote:
>>> Hi:
>>> A quick question, I have a point cloud(x, y,z) that represents an
>>> object surface. After I use surface reconstruct filter
>>> (vtkSurfaceReconstructionFilter)
>>> , and then used the vtkContourFilter, my qustion is:
>>> How can I make printf all the generated surface coordinate ?
>>>
>>>
>>> vtkSurfaceReconstructionFilter *surf =
>>> vtkSurfaceReconstructionFilter::New();
>>>
>>> surf->SetInput(polyData1); surf->SetSampleSpacing(0.026);
>>> surf->GetReleaseDataFlag(); surf->Update(); vtkContourFilter
>>> *cf=vtkContourFilter::New();
>>> cf->SetInput(surf->GetOutput());
>>> cf->SetValue (0, 0.0 );
>>> cf->Update();
>>>
>>>
> Thanks Amy;
> It is working ok, Thanks again!! But the output coordinates pt[0],
> pt[1], pt[2]) are not in the same coordinates system of polyDat1, Do you
> know how to get the in the same old coordinate system
>
>
> for example
> The bounds for the input data coordinates is :
>
> X_min = 1.037000, X_max =2.401000
> Y_min = 2.508000 , Y_max =4.061000
> Z_min = -19.063601 , Z_zmax =-18.101999
>
> GetBounds();
> But for the output pt[0], pt[1], pt[2]) is:
> X_min =0.000000, X_max =55.000000
> Y_min =0.000000 , Y_max= 62.000000
> Z_min =0.000000, Z_zmax= 38.941410
>
> --
> M.Sc. Ismail Elkhrachy
> PhD student
>
> Institut für Geodäsie und Photogrammetrie
> Technische Universität Braunschweig
> Gaußstr. 22
> 38106 Braunschweig
> Germany
>
> Mob. : 0049 0163 3623486
> Tel. : 0049 0531 3917497
> Fax : 0049 0531 3917499
> E-mail : I.Elkhrachy at tu-bs.de, I.Elkhrachy at yahoo.com
>
>
>
>
> ------------------------------
>
> Message: 3
> Date: Tue, 05 Dec 2006 16:09:20 +0100
> From: luisc <l.perez at iturribizia.com>
> Subject: Re: [vtkusers] Please help me by answering the simple
> question
> To: Lista correo VTK <vtkusers at vtk.org>
> Message-ID: <1165331360.16975.6.camel at alarico.godos>
> Content-Type: text/plain; charset=iso-8859-15
>
> It's difficult to know what's your problem because you don't submit
> enough data.
>
> I don't use any flags (at least in command line) to generate makefiles.
> It seems that your program runs (if you see the background the program
> is running) so the problem must be inside the source code file.
>
> Regards,
> Luis.
>
> El lun, 04-12-2006 a las 05:54 -0800, Sawsan Ahmed escribió:
>> Hello friends,
>> I don't know why any body did not answer my question.Though my
>> question is simple,please help me by answering it as I am quite new in
>> VTK.
>> I am a newbie in VTK,using vtk5.0.2 in my fedora 5.I am not using any
>> warpper language.I don't know which flags to set on in cmake -i.After
>> using make,only see the back ground,no object in it.Please help
>> me ,tell me which options do I need to turn on.Thanks in advance.
>>
>> Sawsan.
>>
>>
>> ______________________________________________________________________
>> Everyone is raving about the all-new Yahoo! Mail beta.
>> _______________________________________________
>> 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, 5 Dec 2006 15:16:38 +0000
> From: "Pedro Amaral" <lockemind at gmail.com>
> Subject: [vtkusers] vtk5 in ubuntu linux
> To: "VTK Users" <vtkusers at public.kitware.com>
> Message-ID:
> <1c69dedd0612050716q390ce200te8cde098e3e9380d at mail.gmail.com>
> Content-Type: text/plain; charset="iso-8859-1"
>
> Hello,
> I tried to install VTK5 on linux (ubuntu edgy), i installed all necessary
> packages and configured cmake.
> When i tried the compilation, almost at the end of it i got that error, i
> have no ideia how can i fix this.
> Anyone had the same problem?
> Any help will be welcome :)
>
> thanks ^^
>
>
> -- Configuring done
> -- Generating done
> -- Build files have been written to: /home/locke/VTK
> [ 10%] Built target vtkCommon
> [ 23%] Built target vtkFiltering
> [ 31%] Built target vtkImaging
> [ 45%] Built target vtkGraphics
> [ 46%] Built target vtkGenericFiltering
> [ 55%] Built target vtkIO
> [ 55%] Built target vtkParseOGLExt
> [ 63%] Built target vtkRendering
> [ 63%] Built target vtkVREncodeString
> [ 64%] Built target vtksys
> [ 64%] Built target vtkDICOMParser
> [ 65%] Built target vtkpng
> [ 66%] Built target vtkzlib
> [ 69%] Built target vtkjpeg
> [ 69%] Built target mkg3states
> [ 72%] Built target vtktiff
> [ 72%] Built target vtkexpat
> [ 73%] Built target vtkMPEG2Encode
> [ 74%] Built target vtkftgl
> [ 76%] Built target vtkfreetype
> [ 80%] Built target vtkVolumeRendering
> [ 83%] Built target vtkHybrid
> [ 84%] Built target vtkWidgets
> [ 85%] Built target vtkNetCDF
> [ 92%] Built target vtkexoIIc
> [ 94%] Built target CommonCxxTests
> [ 94%] Built target TestCxxFeatures
> [ 94%] Built target TestInstantiator
> [ 94%] Built target FilteringCxxTests
> Linking CXX executable ../../../bin/GraphicsCxxTests
> /home/locke/VTK/bin/libvtkRendering.a(vtkGraphicsFactory.o): In function
> `vtkGraphicsFactory::CreateInstance(char const*)':
> vtkGraphicsFactory.cxx:(.text+0x4af): undefined reference to
> `vtkXRenderWindowInteractor::New()'
> collect2: ld returned 1 exit status
> make[2]: *** [bin/GraphicsCxxTests] Error 1
> make[1]: *** [Graphics/Testing/Cxx/CMakeFiles/GraphicsCxxTests.dir/all]
> Error 2
> make: *** [all] Error 2
>
>
> --
> Pedro Amaral
>
> pedr.amaral at gmail.com
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL:
> http://public.kitware.com/pipermail/vtkusers/attachments/20061205/5e56b0f8/attachment-0001.html
>
> ------------------------------
>
> Message: 5
> Date: Tue, 5 Dec 2006 10:40:27 -0500
> From: "David Cole" <david.cole at kitware.com>
> Subject: Re: [vtkusers] Contributing text files to the Wiki
> To: "Moreland, Kenneth" <kmorel at sandia.gov>
> Cc: vtkusers at vtk.org
> Message-ID:
> <f435c2c50612050740n5ae3a046ge7c793b6a9425554 at mail.gmail.com>
> Content-Type: text/plain; charset="iso-8859-1"
>
> Well... I don't know about submitted files, but I do know you can usually
> prevent the grief associated with the special html characters when you
> embed
> the text by enclosing it with "<pre>" and "</pre>" (the html pre-formatted
> tag).
>
> I did that when I posted the script section of this Wiki page:
> http://www.cmake.org/Wiki/CMake_Useful_Variables/Get_Variables_From_CMake_Dashboards...and
> it seems to have preserved the special characters as I intended.
>
> The only thing you have to worry about is if your text includes
> "</pre>" --
> then you have some manual edits.
>
> I think you can also fool the Wiki into accepting an uploaded text file
> simply by giving it a ".jpg" extension when uploaded... That's also
> inconvenient, though.
>
> HTH,
> David
>
> On 12/4/06, Moreland, Kenneth <kmorel at sandia.gov> wrote:
>>
>> I've been trying to commit text-based files to the Kitware Wiki such as
>> cmake files and xml material files. Of course, the upload file feature
>> does not let me upload files of these types. I've resorted to embedding
>> the files in a regular Wiki page. However, this solution is
>> inconvenient for both uploading and downloading the file. It has also
>> been giving me a lot of grief about special html characters like '<',
>> '>', and '&'.
>>
>> Could someone add the file extensions .txt, .cmake, and .xml, as well as
>> any other relevant text types, to the accepted list of Wiki uploads. Or
>> does someone have a better solution?
>>
>> -Ken
>>
>> **** Kenneth Moreland
>> *** Sandia National Laboratories
>> ***********
>> *** *** *** email: kmorel at sandia.gov
>> ** *** ** phone: (505) 844-8919
>> *** fax: (505) 845-0833
>>
>> _______________________________________________
>> 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/20061205/1bd06cdb/attachment-0001.htm
>
> ------------------------------
>
> _______________________________________________
> vtkusers mailing list
> vtkusers at vtk.org
> http://www.vtk.org/mailman/listinfo/vtkusers
>
>
> End of vtkusers Digest, Vol 32, Issue 6
> ***************************************
More information about the vtkusers
mailing list