[vtkusers] Problem on using vtkSetMacro

Qi Wei qwei at cs.ubc.ca
Thu May 20 12:34:41 EDT 2004


Hi dear all,

When I tried to use vtkSetMacro method in c++ as follows:

	vtkImageGaussianSmooth gaussian = vtkImageGaussianSmooth::New();
	gaussian.vtkSetMacro(Dimensionality, 3);

I got error message "error: syntax error: identifier "SetDimensionality".
I've never succeeded to use either the get or set Macro method. I am
wondering what's the correct way to do it..


Thanks, Qi




More information about the vtkusers mailing list