Talk:VTK: Difference between revisions

From KitwarePublic
Jump to navigationJump to search
(questiion about GetBounds())
 
(5 intermediate revisions by 4 users not shown)
Line 1: Line 1:
Hi,
= Please email the mailing list with questions =
The discussion on the discussion pages should be about the content of the corresponding wiki page. Please visit this website http://www.vtk.org/mailman/listinfo/vtkusers to signup for the vtkusers mailing list and then send any questions to vtkusers@vtk.org.


I am a new user about VTK. My operating system is Windows XP. I downloaded and installed vtk42-LatestRelease.exe into the folder C:\Program Files\vtk42. The path and classpath as follows:
= Suggestions =
 
* Tcl/tk is no longer supported. Remove from intro paragraph.
 
* Mantis is no longer used. Replace with gitlab: [https://gitlab.kitware.com/vtk/vtk Follow or contribute] on Gitlab
PATH:
C:\MikTeX\miktex\bin; C:\Program Files\Java\jdk1.5.0_01\bin;C:\PROGRA~1\vtk42\bin;C:\PROGRA~1\Tcl\bin
 
CLASSPATH:
.;C:\Program Files\Java\jdk1.5.0_01\lib\tools.jar; C:\Program Files\vtk42\bin\vtk.jar;
 
After the installation, I restart my computer. Then I try to compile Cone.java to test vtk. However, I got the error message said: package vtk does not exist on the line of import vtk.*. There are 11 error message in total, that was the first one and all of the rest are related to vtk stuff.
 
Any suggestions are highly appreciated!
 
== ct 512x512 images in  ray-casting,  the axis image is divided ,why ==
 
  my code is as following:
 
vtkVolume16Reader *v16 = vtkVolume16Reader::New();
v16->SetDataDimensions(512,512);
v16->SetDataByteOrderToLittleEndian();
v16->SetFilePrefix ("D:/AMy_career/papercode/image/1.CT.THORAX_LUNGLOWDOSE_(ADULT).1");
v16->SetImageRange(1,10);
v16->SetDataSpacing (0.5859375, 0.5859375, 2);
 
== questiion about GetBounds() ==
 
I want to get the bound of the DEM ,so i used vtkDataSet::GetBounds();but the return vale(zmin = = zmax).I don't know why to that?  I want get the range of  the XYZ three orientations  of  the DEM. How to get it? Thanks at first.

Latest revision as of 14:44, 12 June 2018

Please email the mailing list with questions

The discussion on the discussion pages should be about the content of the corresponding wiki page. Please visit this website http://www.vtk.org/mailman/listinfo/vtkusers to signup for the vtkusers mailing list and then send any questions to vtkusers@vtk.org.

Suggestions

  • Tcl/tk is no longer supported. Remove from intro paragraph.
  • Mantis is no longer used. Replace with gitlab: Follow or contribute on Gitlab