[vtk-developers] Proposed change to vtkSetGet.h

Prabhu Ramachandran prabhu at aero.iitm.ernet.in
Fri Apr 6 14:30:36 EDT 2001


hi,

I propose to change a few things in vtkSetGet.h.  I reported a problem
with this a little while earlier in

http://public.kitware.com/pipermail/vtkusers/2001-April/005957.html

Here is what I propose to change:

line 514 - 518
virtual void Set##name(float x, float y, float z) \
{ \
    this->name##Coordinate->SetCoordinateSystem(VTK_WORLD); \
    this->name##Coordinate->SetValue(x,y,z); \
} \

remove line 516

line 531 - 535
virtual void Set##name(float x, float y) \
{ \
    this->name##Coordinate->SetCoordinateSystem(VTK_VIEWPORT); \
    this->name##Coordinate->SetValue(x,y); \
} \

remove line 533.  

I am not an expert at this so I plan to wait for a couple of days
before I make the change to the CVS tree.  Please let me know if you
think this shouldn't be done.

thanks,
prabhu




More information about the vtk-developers mailing list