[vtkusers] (no subject)

marcellus walace marcelluswalace at hotmail.com
Wed Aug 20 10:51:41 EDT 2003


HI vtkusers,

I want to view sagittal coronal and transverl slcie of a volume and I'm 
using   vtkLookupTable.
But when I try to compile I've a linkage error can you help me:
The linkage error:

   DicomImageViewer.obj : error LNK2001: unresolved external symbol 
"__declspec(dllimport) public: static class vtkLookupTable * __cdecl 
vtkLookupTable::New(void)" (__imp_?New at vtkLookupTable@@SAPAV1 at XZ)
Debug/DicomImageViewer.exe : fatal error LNK1120: 1 unresolved externals

My code:


  // create a b/w lookup table
  vtkLookupTable *bwLut = vtkLookupTable::New();
    bwLut->SetTableRange (0, 2000);
    bwLut->SetSaturationRange (0, 0);
    bwLut->SetHueRange (0, 0);
    bwLut->SetValueRange (0, 1);
    bwLut->Build ();

Help please

Regards

_________________________________________________________________
MSN 8 with e-mail virus protection service: 2 months FREE* 
http://join.msn.com/?page=features/virus




More information about the vtkusers mailing list