[vtkusers] about vtkMarchingCubes

Vetria Byrd byrdv at cis.uab.edu
Tue Apr 27 12:49:14 EDT 2004



 

In the data files slices 0,1,3,4 and 5 contain all zero's.

In slice 2, cell [2][2][2] = 1 all other cell values are zero's.

 

Vetria

 

-----Original Message-----
From: Mathieu Malaterre [mailto:mathieu.malaterre at kitware.com] 
Sent: Tuesday, April 27, 2004 10:50 AM
To: byrdv at cis.uab.edu
Cc: vtkusers at vtk.org
Subject: Re: [vtkusers] about vtkMarchingCubes

 

Vetria,

 

      Can you send us a screenshot of your problem ?

 

Thanks

Mathieu

 

Vetria Byrd wrote:

> 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

>>

> 

> 

> 

> 

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20040427/30eae21e/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: image/jpeg
Size: 4666 bytes
Desc: not available
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20040427/30eae21e/attachment.jpeg>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: image/jpeg
Size: 5365 bytes
Desc: not available
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20040427/30eae21e/attachment-0001.jpeg>


More information about the vtkusers mailing list