[vtkusers] vtk50 and VC++.NetExpress

Tallhamer, Mike Mike.Tallhamer at USONCOLOGY.COM
Fri Jul 28 12:06:55 EDT 2006


I have already compiled static libraries for Windows XP Pro with SP2 using
VTK 5.0.1 and VC++ 2005 Express and have zipped them into an archive. I will
be finishing the compilation of the .dlls later this afternoon and will do
the same. I don't need to say it but the archive files are large and if the
community is interested I would be glad to share these but will need a place
to put these archives so the community can access them. If someone can
accommodate these files and make them available via this list or by some
other means let me know today and we can make arrangements.

-Mike

-----Original Message-----
From: Bob Palank [mailto:bob at stlcc.org] 
Sent: Friday, July 28, 2006 8:55 AM
To: vtkusers at vtk.org
Subject: [vtkusers] vtk50 and VC++.NetExpress

Can anyone share a working set of Dll, lib, and .h files for the above
combination running under XP Home SP2 or XP Pro SP2.
Wouldn't it make sense to post these so that others would not need to go
through the CMake process time and time again ?
BR
  Bob

-----Original Message-----
From: vtkusers-bounces+bob=stlcc.org at vtk.org
[mailto:vtkusers-bounces+bob=stlcc.org at vtk.org]On Behalf Of Mike Jackson
Sent: Friday, July 28, 2006 8:30 AM
To: Pankaj Daga
Cc: vtkusers at vtk.org
Subject: Re: [vtkusers] inheriting from a VTK class


Try inserting this into your implementation file:

vtkStandardNewMacro(MyViewer);

Mike Jackson


On Jul 28, 2006, at 6:30 AM, Pankaj Daga wrote:

> Hi folks,
>
> I have run into trouble trying to derive from a VTK class. I am
> trying to override the render function of the vtkImageViewer2. Here
> is my code. Should be pretty simple, but for some reason when I try
> to use it, it comes up with a linker error...saying undefined
> reference to MyViewer::New()
>
> Here is my code:
>
> // Header file:
>
> #include "vtkImageViewer2.h"
>
> class MyViewer : public vtkImageViewer2
> {
>     public:
>         static MyViewer *New();
>         vtkTypeRevisionMacro(MyViewer,vtkImageViewer2);
>         void PrintSelf(ostream& os, vtkIndent indent);
>
>
>     virtual void Render(void)
>     {}
>
>     protected:
>         MyViewer()
>             :vtkImageViewer2()
>         {}
>
>         ~MyViewer()
>         {}
>     };
>
>
> // Implementation file
> vtkCxxRevisionMacro(MyViewer, "$Revision: 1.0 $");
> vtkStandardNewMacro(MyViewer);
>
> //--------------------------------------------------------------------
> --------
>
> void MyViewer::PrintSelf(ostream& os, vtkIndent indent)
> {
>     vtkImageViewer2::PrintSelf();
>
> }
>
>
> Any help would be appreciated.
>
> Thanks,
> Luca
> _______________________________________________
> This is the private VTK discussion list.
> Please keep messages on-topic. Check the FAQ at: http://www.vtk.org/
> Wiki/VTK_FAQ
> Follow this link to subscribe/unsubscribe:
> http://www.vtk.org/mailman/listinfo/vtkusers

--------
Mike Jackson
imikejackson <at> gmail <dot> com



_______________________________________________
This is the private VTK discussion list.
Please keep messages on-topic. Check the FAQ at:
http://www.vtk.org/Wiki/VTK_FAQ
Follow this link to subscribe/unsubscribe:
http://www.vtk.org/mailman/listinfo/vtkusers

_______________________________________________
This is the private VTK discussion list. 
Please keep messages on-topic. Check the FAQ at:
http://www.vtk.org/Wiki/VTK_FAQ
Follow this link to subscribe/unsubscribe:
http://www.vtk.org/mailman/listinfo/vtkusers

-----------------------------------------
The contents of this electronic mail message and any attachments
are confidential, possibly privileged and intended for the
addressee(s) only.  Only the addressee(s) may read, disseminate,
retain or otherwise use this message.  If received in error, please
immediately inform the sender and then delete this message without
disclosing its contents to anyone.




More information about the vtkusers mailing list