[vtk-developers] vtkGlyphSource2D bugs.

Prabhu Ramachandran prabhu at aero.iitm.ernet.in
Thu Apr 19 17:15:16 EDT 2001


hi,

There is a small bug in vtkGlyphSource2D.h  The RotationAngle related
functions are declared as follows:

  // Description:
  // Specify an angle (in degrees) to rotate the glyph around
  // the z-axis. Using this ivar, it is possible to generate
  // rotated glyphs (e.g., crosses, arrows, etc.)
  vtkSetMacro(RotationAngle,float);
  vtkGetMacro(RotationAngle,float);
  vtkBooleanMacro(RotationAngle,float);

The BooleanMacro is unnecessary since this is not a boolean.  I am
going to remove this.

I also find that CreateArrow code does not produce a nice enough
arrow.  The arrow head is too small and you cant really see it.  The
CreateThickArrow is far worse.  I am going to try to change some of
the code and see how it goes.

prabhu

-- 
Military secrets are the most fleeting of all.
		-- Spock, "The Enterprise Incident", stardate 5027.4




More information about the vtk-developers mailing list