[vtkusers] vtkSetMacro - Changes?
Ravi Gupta
rgupta at imaging.robarts.ca
Thu Jan 30 12:58:59 EST 2003
I forgot to mention that I had included the vtkGetMacro
vtkSetMacro(MagicNumber,double);
vtkGetMacro(MagicNumber,double);
// Set/Get the Rescale Type
// ATTENUATION = 0 or INTENSITY = 1
vtkSetMacro(RescaleType,int);
vtkGetMacro(RescaleType,int);
Prabhu Ramachandran wrote:
>>>>>>"RG" == Ravi Gupta <rgupta at imaging.robarts.ca> writes:
>>>>>>
>>>>>>
>
> RG> I recently (2003Jan10) updated my VTK from the CVS. I have an
> RG> error related to the vtkSetMacro
>
> RG> vtkSetMacro(MagicNumber,double);
>
> RG> undefined symbol: GetMagicNumber__18vtkImageRGBToShort
>
>This is perhaps unhelpful but haven't you used the vtkGetMacro? The
>undefined symbol occurs for GetMagicNumber. SetMacro only creates
>SetMagicNumber. So I think you simply need to add a
>vtkGetMacro(MagicNumber, double);
>
>cheers,
>prabhu
>_______________________________________________
>This is the private VTK discussion list.
>Please keep messages on-topic. Check the FAQ at: <http://public.kitware.com/cgi-bin/vtkfaq>
>Follow this link to subscribe/unsubscribe:
>http://public.kitware.com/mailman/listinfo/vtkusers
>
>
--
Ravi Gupta
Programmer
###################################################
Robarts Research - Imaging | 100 Perth Drive
Tel: (519) 663-5777 ext. 1-34077 | London, Ontario
Fax: (519) 663-3403 | N6A 5K8
E-Mail: rgupta at imaging.robarts.ca | Canada
###################################################
###################################################
http://www.imaging.robarts.ca/
http://www.imaging.robarts.ca/coders
http://www.imaging.robarts.ca/~rgupta
###################################################
"Be the change you wish to see in the world."
-Mohandas Karamchand Gandhi
More information about the vtkusers
mailing list