[vtkusers] about vtkMarchingCubes
Vetria Byrd
byrdv at cis.uab.edu
Tue Apr 27 10:45:43 EDT 2004
The dataset consists of 5 files/slices, all containing zero's and one's.
The goal is to take a 5x5x5 volume that contains an object in the center
cell and extract that object.
Data Spacing is set to: volReader->SetDataSpacing(1,1,1);
Thanks,
Vetria
-----Original Message-----
From: Mathieu Malaterre [mailto:mathieu.malaterre at kitware.com]
Sent: Monday, April 26, 2004 5:26 PM
To: Vetria Byrd
Cc: vtkusers at vtk.org
Subject: Re: [vtkusers] about vtkMarchingCubes
Vetria,
What type of image are you reading ? Is it possible that you have a
negative spacing ? You might to avoid this.
HTH
Mathieu
Vetria Byrd wrote:
> I am having a similiar problem with vtkMarchingCubes as posted at
> http://public.kitware.com/pipermail/vtkusers/2003-March/017033.html
> but I have not been able to find the reply or answer to the problem.
>
> I am reading several data files and using vtkMarchingCubes to display the
> reconstructed object, but the positioning of the rendered object seems to
> be off. It shoud be centered within the view but no matter what I do it's
> always off center.
>
> Can anyone give me an idea of what could be causing this?
>
> Thank you,
> Vetria
>
>
>
> _______________________________________________
> This is the private VTK discussion list.
> Please keep messages on-topic. Check the FAQ at:
<http://public.kitware.com/cgi-bin/vtkfaq>
> Follow this link to subscribe/unsubscribe:
> http://www.vtk.org/mailman/listinfo/vtkusers
>
More information about the vtkusers
mailing list