VTK  9.4.20241226
Classes | Functions | Variables
TestAxisActor2DInternal.h File Reference
#include "vtkTestUtilities.h"
#include "vtkAxisActor2D.h"
#include "vtkCamera.h"
#include "vtkNew.h"
#include "vtkNumberToString.h"
#include "vtkPolyDataMapper.h"
#include "vtkProperty2D.h"
#include "vtkRenderWindow.h"
#include "vtkRenderWindowInteractor.h"
#include "vtkRenderer.h"
#include "vtkSphereSource.h"
#include "vtkTextMapper.h"
#include "vtkTextProperty.h"
Include dependency graph for TestAxisActor2DInternal.h:

Go to the source code of this file.

Classes

class  vtkAxisActor2DMock
 Mock vtkAxisActor2D to access inner member for comparison. More...
 

Functions

bool CompareTicksPosition (vtkAxisActor2D *axis, vtkRenderWindow *window, vtkPoints *expectedPoints)
 Compare the provided vtkPoints with TickPositions from axis.
 
void SetupPipeline (vtkAxisActor2D *axis, vtkRenderWindow *window)
 

Variables

static constexpr int START_POINT = 30
 
static constexpr int END_POINT = 270
 

Function Documentation

◆ CompareTicksPosition()

bool CompareTicksPosition ( vtkAxisActor2D axis,
vtkRenderWindow window,
vtkPoints expectedPoints 
)
inline

Compare the provided vtkPoints with TickPositions from axis.

Definition at line 62 of file TestAxisActor2DInternal.h.

◆ SetupPipeline()

void SetupPipeline ( vtkAxisActor2D axis,
vtkRenderWindow window 
)
inline

Definition at line 82 of file TestAxisActor2DInternal.h.

Variable Documentation

◆ START_POINT

constexpr int START_POINT = 30
staticconstexpr

Definition at line 24 of file TestAxisActor2DInternal.h.

◆ END_POINT

constexpr int END_POINT = 270
staticconstexpr

Definition at line 25 of file TestAxisActor2DInternal.h.