How to import a mode from vrml_files and display it?
Tim Hutton
T.Hutton at eastman.ucl.ac.uk
Fri Dec 17 05:40:51 EST 1999
At 14:59 17/12/99 +0800, you wrote:
> Hi all, VTK have the function of vtkVRMLExporter,but no
>vtkVRMLImporter. Now,I want to import a vrml file and display it in
>VC++6.0.Can you tell me how to import a mode from vrml_files and display
>it? Thanks a lot! csyang
There are a couple of options I know of:
Tom Citriniti's vtkVRMLImporter (http://www.rpi.edu/~citrit/) can read in
VRML2 files (no textures). May need minor updates for the vtk version
you're using.
Stef Desmet's vtkIVImporter
(ftp://ftp.esat.kuleuven.ac.be:/pub/psi/visics/desmet/) can read in VRML1
files.
(Thanks guys)
What do you mean by a 'mode'? For my purposes I found the easiest was to
write a really simple vtkVRMLReader to suck out a polygonal mesh from a
VRML file. If you want more then you'll need one of the above.
Cheers,
Tim.
---------------------------------------------------------------------------
Tim Hutton, Research Assistant Email: T.Hutton at eastman.ucl.ac.uk
MINORI Project http://www.eastman.ucl.ac.uk/~dmi/MINORI
Dental and Medical Informatics Tel: [+44] (0171) 915 2344
Eastman Dental Institute, UCL Fax: [+44] (0171) 915 2303
256 Gray's Inn Road, London WC1X 8LD, UK
---------------------------------------------------------------------------
This email represents the views of the sender alone and must not be
construed as representing the views of the Eastman Dental Institute. It may
contain confidential information and may be protected by law as a legally
privileged document and copyright work. Its content should not be disclosed
and it should not be given or copied to anyone other than the person(s)
named or referenced above. If you have received this email in error, please
contact the sender.
-----------------------------------------------------------------------------
This is the private VTK discussion list. Please keep messages on-topic.
Check the FAQ at: <http://www.automatrix.com/cgi-bin/vtkfaq>
To UNSUBSCRIBE, send message body containing "unsubscribe vtkusers" to
<majordomo at gsao.med.ge.com>. For help, send message body containing
"info vtkusers" to the same address. Live long and prosper.
-----------------------------------------------------------------------------
More information about the vtkusers
mailing list