vtkMFCInteractor
Damion Shelton
dmsst59+ at pitt.edu
Tue Nov 23 12:24:15 EST 1999
In the 2.4 distribution there is a Visual C++ 6.0 project file, under
the "Sample" folder, which compiles fine "out of the box". Since the 2.4
dist is split into multiple pieces perhaps you don't have the chunk that
includes this directory. Modifying this project to add extra
functionality is very easy.
The only piece of programming advice I have is to wrap the reader,
mapper, and actor classes into a single CObject derived class. These 3
classes are really interdependent and having them packaged as a single
object makes adding and removing actors from the view much easier (and
CObject adds serializability making it easy to save the "document"). I
haven't been working with the combo of vtk/vc++ that long so if someone
else has any other useful advice I'd appreciate it.
Regards,
-Damion-
Tim Hutton wrote:
>
> If vtkMFCInteractor currently supported? I've noticed the quality dashboard
> has been blank for C++ under NT for a while now.
>
> I'm trying to render into MFC windows, am having trouble. The examples
> ugview and ugview2 are seriously out of date, totally unusable. They are
> suspiciously missing from the 2.4 release but reappeared in the nightlies.
> Can someone who knows what is changing in vtk tell me how I can render into
> MFC windows in the current version of vtk. Thanks.
>
> 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.
> -----------------------------------------------------------------------------
-----------------------------------------------------------------------------
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