[vtkusers] vtkCGMWriter not working ?

de Boer Ingo I.deBoer at polytec.de
Mon Apr 3 06:35:18 EDT 2006


Hi,

I am using VTK 4.4 with vtkCGMWriter. I have modified the cube.cxx
sample to write a .cgm file. But it's only black. Is there more to
do than:

vtkCGMWriter* pvtkCGMWriter = vtkCGMWriter::New();
pvtkCGMWriter->SetInput(cube);
pvtkCGMWriter->SetFileName("c:\\temp\\out.cgm");
pvtkCGMWriter->Write();
pvtkCGMWriter->Delete();

??

I have attached the complete sample.

greets
  Ingo

---
Dr.-Ing. Ingo H. de Boer

Polytec GmbH
Polytec-Platz 1-7, 76337 Waldbronn, Germany
phone: ++49 7243 604 106
fax  : ++49 7243 604 255
 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: CGMTest.cpp
Type: application/octet-stream
Size: 3383 bytes
Desc: CGMTest.cpp
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20060403/de3b2b5e/attachment.obj>


More information about the vtkusers mailing list