[vtkusers] Voxel viewing

Cristian Montagnoli cristian.montagnoli at sudameris.com.br
Thu Oct 24 13:39:40 EDT 2002


Dear vtkusers,

I am just starting with vtk and I am using it to
represent voxel based algoritms for skeleton straction.

I´ve read my test dataset with :

  vtkBMPReader *imagein=vtkBMPReader::New();
  imagein->SetFilePrefix ("fig.bmp");
  imagein->SetDataExtent(0, 255, 0, 255, 1, 9);

Now I want to view each voxel as cube. It will
be great if I could assign a alpha value for the
cubes separately too.

I´ve searched the examples but I did not find
any source code which could help me.

I would like a suggestion from someone.

Thanks in advance,

Cristian Montagnoli





More information about the vtkusers mailing list