58 #ifndef vtkAxisActor2D_h 
   59 #define vtkAxisActor2D_h 
   62 #include "vtkRenderingAnnotationModule.h"  
  109   vtkSetVector2Macro(
Range, 
double);
 
  110   vtkGetVectorMacro(
Range, 
double, 2);
 
  130   vtkGetMacro(RulerDistance, 
double);
 
  144   vtkSetClampMacro(NumberOfLabels, 
int, 2, VTK_MAX_LABELS);
 
  145   vtkGetMacro(NumberOfLabels, 
int);
 
  153   vtkSetStringMacro(LabelFormat);
 
  154   vtkGetStringMacro(LabelFormat);
 
  171     this->UpdateAdjustedRange();
 
  172     return this->AdjustedRange;
 
  176     this->UpdateAdjustedRange();
 
  177     _arg1 = this->AdjustedRange[0];
 
  178     _arg2 = this->AdjustedRange[1];
 
  183     this->UpdateAdjustedRange();
 
  184     return this->AdjustedNumberOfLabels;
 
  192   vtkSetStringMacro(Title);
 
  193   vtkGetStringMacro(Title);
 
  217   vtkSetClampMacro(TickLength, 
int, 0, 100);
 
  218   vtkGetMacro(TickLength, 
int);
 
  226   vtkSetClampMacro(NumberOfMinorTicks, 
int, 0, 20);
 
  227   vtkGetMacro(NumberOfMinorTicks, 
int);
 
  235   vtkSetClampMacro(MinorTickLength, 
int, 0, 100);
 
  236   vtkGetMacro(MinorTickLength, 
int);
 
  245   vtkSetClampMacro(TickOffset, 
int, 0, 100);
 
  246   vtkGetMacro(TickOffset, 
int);
 
  290   vtkSetMacro(TitlePosition, 
double);
 
  291   vtkGetMacro(TitlePosition, 
double);
 
  300   vtkSetClampMacro(FontFactor, 
double, 0.1, 2.0);
 
  301   vtkGetMacro(FontFactor, 
double);
 
  309   vtkSetClampMacro(LabelFactor, 
double, 0.1, 2.0);
 
  310   vtkGetMacro(LabelFactor, 
double);
 
  344   static void ComputeRange(
 
  345     double inRange[2], 
double outRange[2], 
int inNumTicks, 
int& outNumTicks, 
double& interval);
 
  356     int nbOfMappers, 
int* targetSize, 
double factor, 
int* stringSize);
 
  365   vtkBooleanMacro(SizeFontRelativeToAxis, 
vtkTypeBool);
 
  376   vtkBooleanMacro(UseFontSizeFromProperty, 
vtkTypeBool);
 
  406   double AdjustedRange[2];
 
  416   int LastPosition2[2];
 
  419   int LastMaxLabelSize[2];
 
  425   static double ComputeStringOffset(
double width, 
double height, 
double theta);
 
  426   static void SetOffsetPosition(
double xTick[3], 
double theta, 
int stringWidth, 
int stringHeight,
 
  428   virtual void UpdateAdjustedRange();