3#ifndef vtkTextActorInterfaceInternal_h
4#define vtkTextActorInterfaceInternal_h
12VTK_ABI_NAMESPACE_BEGIN
148 std::unique_ptr<vtkFollowerTextPropertyAdaptor> FollowerAdaptor;
Create an axis with tick marks and labels.
a subclass of vtkFollower that ensures that data is always parallel to the axis defined by a vtkAxisA...
a virtual camera for 3D rendering
vtkFollowerTextPropertyAdaptor is a helper class to mimic vtkTextProperty behavior for a vtkAxisFollo...
Allocate and hold a VTK object.
map vtkPolyData to graphics primitives
a subclass of vtkProp3DFollower that ensures that data is always parallel to the axis defined by a vt...
abstract superclass for all actors, volumes and annotations
represent surface properties of a geometric object
Hold a reference to a vtkObjectBase instance.
An actor that displays text.
VTK Internal interface to manipulate text actors from vtkAxisActor.
void RotateActor2DFromAxisProjection(double p1[3], double p2[3])
Set orientation of the actor 2D to keep the axis orientation.
void SetCamera(vtkCamera *camera)
Set the current camera.
vtkTextActorInterfaceInternal()
void SetAxis(vtkAxisActor *axis)
Set the axis to follow.
void SetScale(double s)
Set scale on the Follower and Follower3D.
vtkAxisFollower * GetFollower() const
Return the internal follower.
virtual ~vtkTextActorInterfaceInternal()
void SetTextProperty(vtkTextProperty *textProp, vtkProperty *prop)
Update the actors from the given text property.
void SetInputText(const std::string &text)
Set the text to be displayed.
void GetBounds(double bounds[6])
Get the bounds of the text.
void GetActors(vtkPropCollection *collection)
Fill the collection with all vtkProp members.
void SetDisplayPosition(double x, double y)
Update internal screen space actors position.
vtkProp * GetActiveProp(bool overlay, bool vector)
Get the vtkProp to be used in the given mode: if overlay is true, return the vtkTextActor (rasterized...
void AdjustScale()
Adjust the scale of Actor3D, based on Follower mapper bounds, so switching them provide consistent si...
void GetReferencePosition(double pos[3])
Get the reference position in 3D space.
vtkProp3DAxisFollower * GetFollower3D() const
Return the internal follower 3D.
std::string GetInputText()
void SetPosition(double pos[3])
Update internal 3D actors position.
void SetScreenOffsetVector(double offset[2])
Set Screen offset on axis followers.
void SetScreenOffset(double offset)
Set Screen offset on axis followers.
An actor that displays text.
represent text properties.