60 #ifndef vtkAxisActor2D_h 61 #define vtkAxisActor2D_h 71 #define VTK_MAX_LABELS 25 153 this->UpdateAdjustedRange();
154 return this->AdjustedRange;
158 this->UpdateAdjustedRange();
159 _arg1 = this->AdjustedRange[0];
160 _arg2 = this->AdjustedRange[1];
164 this->GetAdjustedRange(_arg[0], _arg[1]);
168 this->UpdateAdjustedRange();
169 return this->AdjustedNumberOfLabels;
294 static void ComputeRange(
double inRange[2],
309 static int SetMultipleFontSize(
vtkViewport *viewport,
351 double AdjustedRange[2];
361 int LastPosition2[2];
364 int LastMaxLabelSize[2];
369 static double ComputeStringOffset(
double width,
double height,
double theta);
370 static void SetOffsetPosition(
double xTick[3],
double theta,
371 int stringHeight,
int stringWidth,
373 virtual void UpdateAdjustedRange();
abstract superclass for all actors, volumes and annotations
virtual void GetAdjustedRange(double _arg[2])
virtual void SetPosition(float x[2])
virtual void ReleaseGraphicsResources(vtkWindow *)
abstract specification for Viewports
virtual double * GetPoint1()
#define vtkGetMacro(name, type)
a actor that draws 2D data
record modification and/or execution time
vtkActor2D ** LabelActors
virtual vtkCoordinate * GetPositionCoordinate()
Create an axis with tick marks and labels.
vtkTextProperty * TitleTextProperty
#define vtkSetClampMacro(name, type, min, max)
virtual void SetPoint1(double x, double y)
int AdjustedNumberOfLabels
concrete dataset represents vertices, lines, polygons, and triangle strips
#define vtkSetStringMacro(name)
virtual void SetPoint2(double x, double y)
#define vtkTypeMacro(thisClass, superclass)
virtual float * GetPosition2()
#define VTKRENDERINGANNOTATION_EXPORT
virtual vtkCoordinate * GetPoint2Coordinate()
virtual void GetAdjustedRange(double &_arg1, double &_arg2)
virtual vtkCoordinate * GetPoint1Coordinate()
window superclass for vtkRenderWindow
virtual double * GetAdjustedRange()
vtkTimeStamp AdjustedRangeBuildTime
vtkPolyDataMapper2D * AxisMapper
virtual int HasTranslucentPolygonalGeometry()
virtual int RenderOpaqueGeometry(vtkViewport *viewport)
virtual double * GetPoint2()
a simple class to control print indentation
vtkTextMapper * TitleMapper
void PrintSelf(ostream &os, vtkIndent indent)
static vtkActor2D * New()
vtkTextMapper ** LabelMappers
virtual int RenderTranslucentPolygonalGeometry(vtkViewport *)
virtual void SetPosition2(float x[2])
virtual float * GetPosition()
virtual void SetPoint2(double x[2])
virtual vtkCoordinate * GetPosition2Coordinate()
#define vtkGetStringMacro(name)
represent text properties.
#define vtkGetObjectMacro(name, type)
vtkTextProperty * LabelTextProperty
perform coordinate transformation, and represent position, in a variety of vtk coordinate systems ...
virtual void SetPoint1(double x[2])
virtual void ShallowCopy(vtkProp *prop)
int SizeFontRelativeToAxis
virtual int RenderOverlay(vtkViewport *viewport)
#define vtkBooleanMacro(name, type)
virtual int GetAdjustedNumberOfLabels()
#define vtkGetVectorMacro(name, type, count)
#define vtkSetVector2Macro(name, type)
draw vtkPolyData onto the image plane
#define vtkSetMacro(name, type)