ActiViz .NET  5.8.0
Public Types | Public Member Functions | Static Public Member Functions | Public Attributes | Static Public Attributes | Protected Member Functions | Static Private Member Functions
Kitware.VTK.vtkTextActor Class Reference

vtkTextActor - An actor that displays text. Scaled or unscaled More...

Inheritance diagram for Kitware.VTK.vtkTextActor:
[legend]
Collaboration diagram for Kitware.VTK.vtkTextActor:
[legend]

List of all members.

Public Types

enum  TEXT_SCALE_MODE_NONE_WrapperEnum { TEXT_SCALE_MODE_NONE = 0, TEXT_SCALE_MODE_PROP = 1, TEXT_SCALE_MODE_VIEWPORT = 2 }
 Set how text should be scaled. If set to vtkTextActor::TEXT_SCALE_MODE_NONE, the the font size will be fixed by the size given in TextProperty. If set to vtkTextActor::TEXT_SCALE_MODE_PROP, the text will be scaled to fit exactly in the prop as specified by the position 1 & 2 coordinates. If set to vtkTextActor::TEXT_SCALE_MODE_VIEWPORT, the text will be scaled based on the size of the viewport it is displayed in. More...

Public Member Functions

 vtkTextActor (IntPtr rawCppThis, bool callDisposalMethod, bool strong)
 Automatically generated constructor - called from generated code. DO NOT call directly.
 vtkTextActor ()
 Instantiate object with a rectangle in normaled view coordinates of (0.2,0.85, 0.8, 0.95).
virtual void ComputeScaledFont (vtkViewport viewport)
 Compute the scale the font should be given the viewport. The result is placed in the ScaledTextProperty ivar.
void DisplayToSpecified (IntPtr pos, vtkViewport vport, int specified)
 This is just a simple coordinate conversion method used in the render process.
int GetAlignmentPoint ()
 This method is being depricated. Use SetJustification and SetVerticalJustification in text property instead. Set/Get the Alignment point if zero (default), the text aligns itself to the bottom left corner (which is defined by the PositionCoordinate) otherwise the text aligns itself to corner/midpoint or centre.
string GetInput ()
 Set the text string to be displayed. "
" is recognized as a carriage return/linefeed (line separator). The characters must be in the ISO-8859-1 encoding. Convenience method to the underlying mapper.
virtual float GetMaximumLineHeight ()
 Set/Get the maximum height of a line of text as a percentage of the vertical area allocated to this scaled text actor. Defaults to 1.0. Only valid when TextScaleMode is PROP.
virtual int[] GetMinimumSize ()
 Set/Get the minimum size in pixels for this actor. Defaults to 10,10. Only valid when TextScaleMode is PROP.
virtual void GetMinimumSize (ref int _arg1, ref int _arg2)
 Set/Get the minimum size in pixels for this actor. Defaults to 10,10. Only valid when TextScaleMode is PROP.
virtual void GetMinimumSize (IntPtr _arg)
 Set/Get the minimum size in pixels for this actor. Defaults to 10,10. Only valid when TextScaleMode is PROP.
virtual float GetOrientation ()
 Counterclockwise rotation around the Alignment point. Units are in degrees and defaults to 0. The orientation in the text property rotates the text in the texture map. It will proba ly not give you the effect you desire.
virtual vtkTextProperty GetScaledTextProperty ()
 Get the scaled font. Use ComputeScaledFont to set the scale for a given viewport.
virtual vtkTextProperty GetTextProperty ()
 Set/Get the text property.
virtual int GetTextScaleMode ()
 Set how text should be scaled. If set to vtkTextActor::TEXT_SCALE_MODE_NONE, the the font size will be fixed by the size given in TextProperty. If set to vtkTextActor::TEXT_SCALE_MODE_PROP, the text will be scaled to fit exactly in the prop as specified by the position 1 & 2 coordinates. If set to vtkTextActor::TEXT_SCALE_MODE_VIEWPORT, the text will be scaled based on the size of the viewport it is displayed in.
virtual int GetTextScaleModeMaxValue ()
 Set how text should be scaled. If set to vtkTextActor::TEXT_SCALE_MODE_NONE, the the font size will be fixed by the size given in TextProperty. If set to vtkTextActor::TEXT_SCALE_MODE_PROP, the text will be scaled to fit exactly in the prop as specified by the position 1 & 2 coordinates. If set to vtkTextActor::TEXT_SCALE_MODE_VIEWPORT, the text will be scaled based on the size of the viewport it is displayed in.
virtual int GetTextScaleModeMinValue ()
 Set how text should be scaled. If set to vtkTextActor::TEXT_SCALE_MODE_NONE, the the font size will be fixed by the size given in TextProperty. If set to vtkTextActor::TEXT_SCALE_MODE_PROP, the text will be scaled to fit exactly in the prop as specified by the position 1 & 2 coordinates. If set to vtkTextActor::TEXT_SCALE_MODE_VIEWPORT, the text will be scaled based on the size of the viewport it is displayed in.
virtual int GetUseBorderAlign ()
 Turn on or off the UseBorderAlign option. When UseBorderAlign is on, the bounding rectangle is used to align the text, which is the proper behavior when using vtkTextRepresentation.
override int HasTranslucentPolygonalGeometry ()
 Provide a font scaling based on a viewport. This is the scaling factor used when the TextScaleMode is set to VIEWPORT and has been made public for other components to use. This scaling assumes that the long dimension of the viewport is meant to be 6 inches (a typical width of text in a paper) and then resizes based on if that long dimension was 72 DPI.
override int IsA (string type)
 *Undocumented Block
new vtkTextActor NewInstance ()
 *Undocumented Block
override void ReleaseGraphicsResources (vtkWindow arg0)
 Provide a font scaling based on a viewport. This is the scaling factor used when the TextScaleMode is set to VIEWPORT and has been made public for other components to use. This scaling assumes that the long dimension of the viewport is meant to be 6 inches (a typical width of text in a paper) and then resizes based on if that long dimension was 72 DPI.
override int RenderOpaqueGeometry (vtkViewport viewport)
 Provide a font scaling based on a viewport. This is the scaling factor used when the TextScaleMode is set to VIEWPORT and has been made public for other components to use. This scaling assumes that the long dimension of the viewport is meant to be 6 inches (a typical width of text in a paper) and then resizes based on if that long dimension was 72 DPI.
override int RenderOverlay (vtkViewport viewport)
 Provide a font scaling based on a viewport. This is the scaling factor used when the TextScaleMode is set to VIEWPORT and has been made public for other components to use. This scaling assumes that the long dimension of the viewport is meant to be 6 inches (a typical width of text in a paper) and then resizes based on if that long dimension was 72 DPI.
override int RenderTranslucentPolygonalGeometry (vtkViewport arg0)
 Provide a font scaling based on a viewport. This is the scaling factor used when the TextScaleMode is set to VIEWPORT and has been made public for other components to use. This scaling assumes that the long dimension of the viewport is meant to be 6 inches (a typical width of text in a paper) and then resizes based on if that long dimension was 72 DPI.
void SetAlignmentPoint (int point)
 This method is being depricated. Use SetJustification and SetVerticalJustification in text property instead. Set/Get the Alignment point if zero (default), the text aligns itself to the bottom left corner (which is defined by the PositionCoordinate) otherwise the text aligns itself to corner/midpoint or centre.
void SetInput (string inputString)
 Set the text string to be displayed. "
" is recognized as a carriage return/linefeed (line separator). The characters must be in the ISO-8859-1 encoding. Convenience method to the underlying mapper.
void SetMapper (vtkPolyDataMapper2D mapper)
 Override the vtkPolyDataMapper2D that defines the text to be drawn. One will be created by default if none is supplied.
virtual void SetMaximumLineHeight (float _arg)
 Set/Get the maximum height of a line of text as a percentage of the vertical area allocated to this scaled text actor. Defaults to 1.0. Only valid when TextScaleMode is PROP.
virtual void SetMinimumSize (int _arg1, int _arg2)
 Set/Get the minimum size in pixels for this actor. Defaults to 10,10. Only valid when TextScaleMode is PROP.
void SetMinimumSize (IntPtr _arg)
 Set/Get the minimum size in pixels for this actor. Defaults to 10,10. Only valid when TextScaleMode is PROP.
virtual void SetNonLinearFontScale (double exponent, int target)
 Enable non-linear scaling of font sizes. This is useful in combination with scaled text. With small windows you want to use the entire scaled text area. With larger windows you want to reduce the font size some so that the entire area is not used. These values modify the computed font size as follows: newFontSize = pow(FontSize,exponent)*pow(target,1.0 - exponent) typically exponent should be around 0.7 and target should be around 10.
void SetOrientation (float orientation)
 Counterclockwise rotation around the Alignment point. Units are in degrees and defaults to 0. The orientation in the text property rotates the text in the texture map. It will proba ly not give you the effect you desire.
virtual void SetTextProperty (vtkTextProperty p)
 Set/Get the text property.
virtual void SetTextScaleMode (int _arg)
 Set how text should be scaled. If set to vtkTextActor::TEXT_SCALE_MODE_NONE, the the font size will be fixed by the size given in TextProperty. If set to vtkTextActor::TEXT_SCALE_MODE_PROP, the text will be scaled to fit exactly in the prop as specified by the position 1 & 2 coordinates. If set to vtkTextActor::TEXT_SCALE_MODE_VIEWPORT, the text will be scaled based on the size of the viewport it is displayed in.
void SetTextScaleModeToNone ()
 Set how text should be scaled. If set to vtkTextActor::TEXT_SCALE_MODE_NONE, the the font size will be fixed by the size given in TextProperty. If set to vtkTextActor::TEXT_SCALE_MODE_PROP, the text will be scaled to fit exactly in the prop as specified by the position 1 & 2 coordinates. If set to vtkTextActor::TEXT_SCALE_MODE_VIEWPORT, the text will be scaled based on the size of the viewport it is displayed in.
void SetTextScaleModeToProp ()
 Set how text should be scaled. If set to vtkTextActor::TEXT_SCALE_MODE_NONE, the the font size will be fixed by the size given in TextProperty. If set to vtkTextActor::TEXT_SCALE_MODE_PROP, the text will be scaled to fit exactly in the prop as specified by the position 1 & 2 coordinates. If set to vtkTextActor::TEXT_SCALE_MODE_VIEWPORT, the text will be scaled based on the size of the viewport it is displayed in.
void SetTextScaleModeToViewport ()
 Set how text should be scaled. If set to vtkTextActor::TEXT_SCALE_MODE_NONE, the the font size will be fixed by the size given in TextProperty. If set to vtkTextActor::TEXT_SCALE_MODE_PROP, the text will be scaled to fit exactly in the prop as specified by the position 1 & 2 coordinates. If set to vtkTextActor::TEXT_SCALE_MODE_VIEWPORT, the text will be scaled based on the size of the viewport it is displayed in.
virtual void SetUseBorderAlign (int _arg)
 Turn on or off the UseBorderAlign option. When UseBorderAlign is on, the bounding rectangle is used to align the text, which is the proper behavior when using vtkTextRepresentation.
override void ShallowCopy (vtkProp prop)
 Shallow copy of this text actor. Overloads the virtual vtkProp method.
void SpecifiedToDisplay (IntPtr pos, vtkViewport vport, int specified)
 This is just a simple coordinate conversion method used in the render process.
virtual void UseBorderAlignOff ()
 Turn on or off the UseBorderAlign option. When UseBorderAlign is on, the bounding rectangle is used to align the text, which is the proper behavior when using vtkTextRepresentation.
virtual void UseBorderAlignOn ()
 Turn on or off the UseBorderAlign option. When UseBorderAlign is on, the bounding rectangle is used to align the text, which is the proper behavior when using vtkTextRepresentation.
- Public Member Functions inherited from Kitware.VTK.vtkActor2D
 vtkActor2D (IntPtr rawCppThis, bool callDisposalMethod, bool strong)
 Automatically generated constructor - called from generated code. DO NOT call directly.
 vtkActor2D ()
 Creates an actor2D with the following defaults: position (0,0) (coordinate system is viewport); at layer 0.
override void GetActors2D (vtkPropCollection pc)
 For some exporters and other other operations we must be able to collect all the actors or volumes. These methods are used in that process.
virtual vtkCoordinate GetActualPosition2Coordinate ()
 Return the actual vtkCoordinate reference that the mapper should use to position the actor. This is used internally by the mappers and should be overridden in specialized subclasses and otherwise ignored.
virtual vtkCoordinate GetActualPositionCoordinate ()
 Return the actual vtkCoordinate reference that the mapper should use to position the actor. This is used internally by the mappers and should be overridden in specialized subclasses and otherwise ignored.
double GetHeight ()
 Set/Get the height and width of the Actor2D. The value is expressed as a fraction of the viewport. This really is just another way of setting the Position2 instance variable.
virtual int GetLayerNumber ()
 Set/Get the layer number in the overlay planes into which to render.
override uint GetMTime ()
 Return this objects MTime.
virtual vtkMapper2D GetMapper ()
 Set/Get the vtkMapper2D which defines the data to be drawn.
virtual double[] GetPosition ()
 Get the PositionCoordinate instance of vtkCoordinate. This is used for for complicated or relative positioning. The position variable controls the lower left corner of the Actor2D.
virtual double[] GetPosition2 ()
 Access the Position2 instance variable. This variable controls the upper right corner of the Actor2D. It is by default relative to Position and in normalized viewport coordinates. Some 2D actor subclasses ignore the position2 variable.
virtual vtkCoordinate GetPosition2Coordinate ()
 Access the Position2 instance variable. This variable controls the upper right corner of the Actor2D. It is by default relative to Position and in normalized viewport coordinates. Some 2D actor subclasses ignore the position2 variable.
virtual vtkCoordinate GetPositionCoordinate ()
 Get the PositionCoordinate instance of vtkCoordinate. This is used for for complicated or relative positioning. The position variable controls the lower left corner of the Actor2D.
vtkProperty2D GetProperty ()
 Returns this actor's vtkProperty2D. Creates a property if one doesn't already exist.
double GetWidth ()
 Set/Get the height and width of the Actor2D. The value is expressed as a fraction of the viewport. This really is just another way of setting the Position2 instance variable.
void SetDisplayPosition (int arg0, int arg1)
 Set the Prop2D's position in display coordinates.
void SetHeight (double h)
 Set/Get the height and width of the Actor2D. The value is expressed as a fraction of the viewport. This really is just another way of setting the Position2 instance variable.
virtual void SetLayerNumber (int _arg)
 Set/Get the layer number in the overlay planes into which to render.
virtual void SetMapper (vtkMapper2D mapper)
 Set/Get the vtkMapper2D which defines the data to be drawn.
virtual void SetPosition (IntPtr x)
 Get the PositionCoordinate instance of vtkCoordinate. This is used for for complicated or relative positioning. The position variable controls the lower left corner of the Actor2D.
virtual void SetPosition (double x, double y)
 Get the PositionCoordinate instance of vtkCoordinate. This is used for for complicated or relative positioning. The position variable controls the lower left corner of the Actor2D.
virtual void SetPosition2 (IntPtr x)
 Access the Position2 instance variable. This variable controls the upper right corner of the Actor2D. It is by default relative to Position and in normalized viewport coordinates. Some 2D actor subclasses ignore the position2 variable.
virtual void SetPosition2 (double x, double y)
 Access the Position2 instance variable. This variable controls the upper right corner of the Actor2D. It is by default relative to Position and in normalized viewport coordinates. Some 2D actor subclasses ignore the position2 variable.
virtual void SetProperty (vtkProperty2D arg0)
 Set this vtkProp's vtkProperty2D.
void SetWidth (double w)
 Set/Get the height and width of the Actor2D. The value is expressed as a fraction of the viewport. This really is just another way of setting the Position2 instance variable.
- Public Member Functions inherited from Kitware.VTK.vtkProp
 vtkProp (IntPtr rawCppThis, bool callDisposalMethod, bool strong)
 Automatically generated constructor - called from generated code. DO NOT call directly.
void AddConsumer (vtkObject c)
 Tells if the prop has all the required keys.
virtual void AddEstimatedRenderTime (double t, vtkViewport arg1)
 Tells if the prop has all the required keys.
virtual void BuildPaths (vtkAssemblyPaths paths, vtkAssemblyPath path)
 Tells if the prop has all the required keys.
virtual void DragableOff ()
 Set/Get the value of the dragable instance variable. This determines if an Prop, once picked, can be dragged (translated) through space. This is typically done through an interactive mouse interface. This does not affect methods such as SetPosition, which will continue to work. It is just intended to prevent some vtkProp'ss from being dragged from within a user interface. Initial value is true.
virtual void DragableOn ()
 Set/Get the value of the dragable instance variable. This determines if an Prop, once picked, can be dragged (translated) through space. This is typically done through an interactive mouse interface. This does not affect methods such as SetPosition, which will continue to work. It is just intended to prevent some vtkProp'ss from being dragged from within a user interface. Initial value is true.
virtual void GetActors (vtkPropCollection arg0)
 For some exporters and other other operations we must be able to collect all the actors or volumes. These methods are used in that process.
virtual double GetAllocatedRenderTime ()
 Tells if the prop has all the required keys.
virtual double[] GetBounds ()
 Get the bounds for this Prop as (Xmin,Xmax,Ymin,Ymax,Zmin,Zmax). in world coordinates. NULL means that the bounds are not defined.
vtkObject GetConsumer (int i)
 Tells if the prop has all the required keys.
virtual int GetDragable ()
 Set/Get the value of the dragable instance variable. This determines if an Prop, once picked, can be dragged (translated) through space. This is typically done through an interactive mouse interface. This does not affect methods such as SetPosition, which will continue to work. It is just intended to prevent some vtkProp'ss from being dragged from within a user interface. Initial value is true.
virtual double GetEstimatedRenderTime (vtkViewport arg0)
 Tells if the prop has all the required keys.
virtual double GetEstimatedRenderTime ()
 Tells if the prop has all the required keys.
virtual vtkMatrix4x4 GetMatrix ()
 These methods are used by subclasses to place a matrix (if any) in the prop prior to rendering. Generally used only for picking. See vtkProp3D for more information.
virtual vtkAssemblyPath GetNextPath ()
 vtkProp and its subclasses can be picked by subclasses of vtkAbstractPicker (e.g., vtkPropPicker). The following methods interface with the picking classes and return "pick paths". A pick path is a hierarchical, ordered list of props that form an assembly. Most often, when a vtkProp is picked, its path consists of a single node (i.e., the prop). However, classes like vtkAssembly and vtkPropAssembly can return more than one path, each path being several layers deep. (See vtkAssemblyPath for more information.) To use these methods - first invoke InitPathTraversal() followed by repeated calls to GetNextPath(). GetNextPath() returns a NULL pointer when the list is exhausted.
virtual int GetNumberOfConsumers ()
 Tells if the prop has all the required keys.
virtual int GetNumberOfPaths ()
 vtkProp and its subclasses can be picked by subclasses of vtkAbstractPicker (e.g., vtkPropPicker). The following methods interface with the picking classes and return "pick paths". A pick path is a hierarchical, ordered list of props that form an assembly. Most often, when a vtkProp is picked, its path consists of a single node (i.e., the prop). However, classes like vtkAssembly and vtkPropAssembly can return more than one path, each path being several layers deep. (See vtkAssemblyPath for more information.) To use these methods - first invoke InitPathTraversal() followed by repeated calls to GetNextPath(). GetNextPath() returns a NULL pointer when the list is exhausted.
virtual int GetPickable ()
 Set/Get the pickable instance variable. This determines if the vtkProp can be picked (typically using the mouse). Also see dragable. Initial value is true.
virtual vtkInformation GetPropertyKeys ()
 Set/Get property keys. Property keys can be digest by some rendering passes. For instance, the user may mark a prop as a shadow caster for a shadow mapping render pass. Keys are documented in render pass classes. Initial value is NULL.
virtual uint GetRedrawMTime ()
 Return the mtime of anything that would cause the rendered image to appear differently. Usually this involves checking the mtime of the prop plus anything else it depends on such as properties, textures etc.
virtual double GetRenderTimeMultiplier ()
 Tells if the prop has all the required keys.
virtual bool GetSupportsSelection ()
 Tells if the prop has all the required keys.
virtual bool GetUseBounds ()
 In case the Visibility flag is true, tell if the bounds of this prop should be taken into account or ignored during the computation of other bounding boxes, like in vtkRenderer::ResetCamera(). Initial value is true.
virtual int GetVisibility ()
 Set/Get visibility of this vtkProp. Initial value is true.
virtual void GetVolumes (vtkPropCollection arg0)
 For some exporters and other other operations we must be able to collect all the actors or volumes. These methods are used in that process.
virtual bool HasKeys (vtkInformation requiredKeys)
 Tells if the prop has all the required keys.
virtual void InitPathTraversal ()
 vtkProp and its subclasses can be picked by subclasses of vtkAbstractPicker (e.g., vtkPropPicker). The following methods interface with the picking classes and return "pick paths". A pick path is a hierarchical, ordered list of props that form an assembly. Most often, when a vtkProp is picked, its path consists of a single node (i.e., the prop). However, classes like vtkAssembly and vtkPropAssembly can return more than one path, each path being several layers deep. (See vtkAssemblyPath for more information.) To use these methods - first invoke InitPathTraversal() followed by repeated calls to GetNextPath(). GetNextPath() returns a NULL pointer when the list is exhausted.
int IsConsumer (vtkObject c)
 Tells if the prop has all the required keys.
virtual void Pick ()
 Method fires PickEvent if the prop is picked.
virtual void PickableOff ()
 Set/Get the pickable instance variable. This determines if the vtkProp can be picked (typically using the mouse). Also see dragable. Initial value is true.
virtual void PickableOn ()
 Set/Get the pickable instance variable. This determines if the vtkProp can be picked (typically using the mouse). Also see dragable. Initial value is true.
virtual void PokeMatrix (vtkMatrix4x4 arg0)
 These methods are used by subclasses to place a matrix (if any) in the prop prior to rendering. Generally used only for picking. See vtkProp3D for more information.
void RemoveConsumer (vtkObject c)
 Tells if the prop has all the required keys.
virtual bool RenderFilteredOpaqueGeometry (vtkViewport v, vtkInformation requiredKeys)
 Tells if the prop has all the required keys.
virtual bool RenderFilteredOverlay (vtkViewport v, vtkInformation requiredKeys)
 Tells if the prop has all the required keys.
virtual bool RenderFilteredTranslucentPolygonalGeometry (vtkViewport v, vtkInformation requiredKeys)
 Tells if the prop has all the required keys.
virtual bool RenderFilteredVolumetricGeometry (vtkViewport v, vtkInformation requiredKeys)
 Tells if the prop has all the required keys.
virtual int RenderVolumetricGeometry (vtkViewport arg0)
 Tells if the prop has all the required keys.
virtual void RestoreEstimatedRenderTime ()
 Tells if the prop has all the required keys.
virtual void SetAllocatedRenderTime (double t, vtkViewport arg1)
 Tells if the prop has all the required keys.
virtual void SetDragable (int _arg)
 Set/Get the value of the dragable instance variable. This determines if an Prop, once picked, can be dragged (translated) through space. This is typically done through an interactive mouse interface. This does not affect methods such as SetPosition, which will continue to work. It is just intended to prevent some vtkProp'ss from being dragged from within a user interface. Initial value is true.
virtual void SetEstimatedRenderTime (double t)
 Tells if the prop has all the required keys.
virtual void SetPickable (int _arg)
 Set/Get the pickable instance variable. This determines if the vtkProp can be picked (typically using the mouse). Also see dragable. Initial value is true.
virtual void SetPropertyKeys (vtkInformation keys)
 Set/Get property keys. Property keys can be digest by some rendering passes. For instance, the user may mark a prop as a shadow caster for a shadow mapping render pass. Keys are documented in render pass classes. Initial value is NULL.
void SetRenderTimeMultiplier (double t)
 Tells if the prop has all the required keys.
virtual void SetUseBounds (bool _arg)
 In case the Visibility flag is true, tell if the bounds of this prop should be taken into account or ignored during the computation of other bounding boxes, like in vtkRenderer::ResetCamera(). Initial value is true.
virtual void SetVisibility (int _arg)
 Set/Get visibility of this vtkProp. Initial value is true.
virtual void UseBoundsOff ()
 In case the Visibility flag is true, tell if the bounds of this prop should be taken into account or ignored during the computation of other bounding boxes, like in vtkRenderer::ResetCamera(). Initial value is true.
virtual void UseBoundsOn ()
 In case the Visibility flag is true, tell if the bounds of this prop should be taken into account or ignored during the computation of other bounding boxes, like in vtkRenderer::ResetCamera(). Initial value is true.
virtual void VisibilityOff ()
 Set/Get visibility of this vtkProp. Initial value is true.
virtual void VisibilityOn ()
 Set/Get visibility of this vtkProp. Initial value is true.
- Public Member Functions inherited from Kitware.VTK.vtkObject
 vtkObject (IntPtr rawCppThis, bool callDisposalMethod, bool strong)
 Automatically generated constructor - called from generated code. DO NOT call directly.
 vtkObject ()
 Create an object with Debug turned off, modified time initialized to zero, and reference counting on.
uint AddObserver (uint arg0, vtkCommand arg1, float priority)
 This is a global flag that controls whether any debug, warning or error messages are displayed.
uint AddObserver (string arg0, vtkCommand arg1, float priority)
 This is a global flag that controls whether any debug, warning or error messages are displayed.
virtual void DebugOff ()
 Turn debugging output off.
virtual void DebugOn ()
 Turn debugging output on.
vtkCommand GetCommand (uint tag)
 This is a global flag that controls whether any debug, warning or error messages are displayed.
byte GetDebug ()
 Get the value of the debug flag.
int HasObserver (uint arg0, vtkCommand arg1)
 This is a global flag that controls whether any debug, warning or error messages are displayed.
int HasObserver (string arg0, vtkCommand arg1)
 This is a global flag that controls whether any debug, warning or error messages are displayed.
int HasObserver (uint arg0)
 This is a global flag that controls whether any debug, warning or error messages are displayed.
int HasObserver (string arg0)
 This is a global flag that controls whether any debug, warning or error messages are displayed.
int InvokeEvent (uint arg0, IntPtr callData)
 This is a global flag that controls whether any debug, warning or error messages are displayed.
int InvokeEvent (string arg0, IntPtr callData)
 This is a global flag that controls whether any debug, warning or error messages are displayed.
int InvokeEvent (uint arg0)
 This is a global flag that controls whether any debug, warning or error messages are displayed.
int InvokeEvent (string arg0)
 This is a global flag that controls whether any debug, warning or error messages are displayed.
virtual void Modified ()
 Update the modification time for this object. Many filters rely on the modification time to determine if they need to recompute their data. The modification time is a unique monotonically increasing unsigned long integer.
void RemoveAllObservers ()
 This is a global flag that controls whether any debug, warning or error messages are displayed.
void RemoveObserver (vtkCommand arg0)
 This is a global flag that controls whether any debug, warning or error messages are displayed.
void RemoveObserver (uint tag)
 This is a global flag that controls whether any debug, warning or error messages are displayed.
void RemoveObservers (uint arg0, vtkCommand arg1)
 This is a global flag that controls whether any debug, warning or error messages are displayed.
void RemoveObservers (string arg0, vtkCommand arg1)
 This is a global flag that controls whether any debug, warning or error messages are displayed.
void RemoveObservers (uint arg0)
 This is a global flag that controls whether any debug, warning or error messages are displayed.
void RemoveObservers (string arg0)
 This is a global flag that controls whether any debug, warning or error messages are displayed.
void SetDebug (byte debugFlag)
 Set the value of the debug flag. A non-zero value turns debugging on.
override string ToString ()
 Returns the result of calling vtkObject::Print as a C# string.
delegate void vtkObjectEventHandler (vtkObject sender, vtkObjectEventArgs e)
 Generic signature for all vtkObject events.
void RemoveAllHandlersForAllEvents ()
 Call RemoveAllHandlers on each non-null vtkObjectEventRelay. TODO: This method needs to get called by the generated Dispose. Make that happen...
- Public Member Functions inherited from Kitware.VTK.vtkObjectBase
 vtkObjectBase (IntPtr rawCppThis, bool callDisposalMethod, bool strong)
 Automatically generated constructor - called from generated code. DO NOT call directly.
 vtkObjectBase ()
 Create an object with Debug turned off, modified time initialized to zero, and reference counting on.
virtual void Register (vtkObjectBase o)
 Increase the reference count (mark as used by another object).
virtual void FastDelete ()
 Delete a reference to this object. This version will not invoke garbage collection and can potentially leak the object if it is part of a reference loop. Use this method only when it is known that the object has another reference and would not be collected if a full garbage collection check were done.
string GetClassName ()
 Return the class name as a string. This method is defined in all subclasses of vtkObjectBase with the vtkTypeMacro found in vtkSetGet.h.
int GetReferenceCount ()
 Return the current reference count of this object.
void SetReferenceCount (int arg0)
 Sets the reference count. (This is very dangerous, use with care.)

Static Public Member Functions

static new vtkTextActor New ()
 Instantiate object with a rectangle in normaled view coordinates of (0.2,0.85, 0.8, 0.95).
static float GetFontScale (vtkViewport viewport)
 Provide a font scaling based on a viewport. This is the scaling factor used when the TextScaleMode is set to VIEWPORT and has been made public for other components to use. This scaling assumes that the long dimension of the viewport is meant to be 6 inches (a typical width of text in a paper) and then resizes based on if that long dimension was 72 DPI.
static new int IsTypeOf (string type)
 *Undocumented Block
static new vtkTextActor SafeDownCast (vtkObjectBase o)
 *Undocumented Block

Public Attributes

new const string MRFullTypeName = "Kitware.VTK.vtkTextActor"
 Automatically generated type registration mechanics.
- Public Attributes inherited from Kitware.VTK.vtkActor2D
- Public Attributes inherited from Kitware.VTK.vtkProp
- Public Attributes inherited from Kitware.VTK.vtkObject
- Public Attributes inherited from Kitware.VTK.vtkObjectBase
- Public Attributes inherited from Kitware.VTK.WrappedObject
const string vtkChartsEL_dll = "libKitware.VTK.vtkCharts.Unmanaged.so"
 Export layer functions for 'vtkCharts' are exported from the DLL named by the value of this variable.
const string vtkCommonEL_dll = "libKitware.VTK.vtkCommon.Unmanaged.so"
 Export layer functions for 'vtkCommon' are exported from the DLL named by the value of this variable.
const string vtkFilteringEL_dll = "libKitware.VTK.vtkFiltering.Unmanaged.so"
 Export layer functions for 'vtkFiltering' are exported from the DLL named by the value of this variable.
const string vtkGenericFilteringEL_dll = "libKitware.VTK.vtkGenericFiltering.Unmanaged.so"
 Export layer functions for 'vtkGenericFiltering' are exported from the DLL named by the value of this variable.
const string vtkGeovisEL_dll = "libKitware.VTK.vtkGeovis.Unmanaged.so"
 Export layer functions for 'vtkGeovis' are exported from the DLL named by the value of this variable.
const string vtkGraphicsEL_dll = "libKitware.VTK.vtkGraphics.Unmanaged.so"
 Export layer functions for 'vtkGraphics' are exported from the DLL named by the value of this variable.
const string vtkHybridEL_dll = "libKitware.VTK.vtkHybrid.Unmanaged.so"
 Export layer functions for 'vtkHybrid' are exported from the DLL named by the value of this variable.
const string vtkIOEL_dll = "libKitware.VTK.vtkIO.Unmanaged.so"
 Export layer functions for 'vtkIO' are exported from the DLL named by the value of this variable.
const string vtkImagingEL_dll = "libKitware.VTK.vtkImaging.Unmanaged.so"
 Export layer functions for 'vtkImaging' are exported from the DLL named by the value of this variable.
const string vtkInfovisEL_dll = "libKitware.VTK.vtkInfovis.Unmanaged.so"
 Export layer functions for 'vtkInfovis' are exported from the DLL named by the value of this variable.
const string vtkParallelEL_dll = "libKitware.VTK.vtkParallel.Unmanaged.so"
 Export layer functions for 'vtkParallel' are exported from the DLL named by the value of this variable.
const string vtkRenderingEL_dll = "libKitware.VTK.vtkRendering.Unmanaged.so"
 Export layer functions for 'vtkRendering' are exported from the DLL named by the value of this variable.
const string vtkViewsEL_dll = "libKitware.VTK.vtkViews.Unmanaged.so"
 Export layer functions for 'vtkViews' are exported from the DLL named by the value of this variable.
const string vtkVolumeRenderingEL_dll = "libKitware.VTK.vtkVolumeRendering.Unmanaged.so"
 Export layer functions for 'vtkVolumeRendering' are exported from the DLL named by the value of this variable.
const string vtkWidgetsEL_dll = "libKitware.VTK.vtkWidgets.Unmanaged.so"
 Export layer functions for 'vtkWidgets' are exported from the DLL named by the value of this variable.

Static Public Attributes

static new readonly string MRClassNameKey = "12vtkTextActor"
 Automatically generated type registration mechanics.
- Static Public Attributes inherited from Kitware.VTK.vtkActor2D
- Static Public Attributes inherited from Kitware.VTK.vtkProp
- Static Public Attributes inherited from Kitware.VTK.vtkObject
- Static Public Attributes inherited from Kitware.VTK.vtkObjectBase

Protected Member Functions

override void Dispose (bool disposing)
 Automatically generated protected Dispose method - called from public Dispose or the C# destructor. DO NOT call directly.

Static Private Member Functions

static vtkTextActor ()
 Automatically generated type registration mechanics.

Detailed Description

vtkTextActor - An actor that displays text. Scaled or unscaled

Description vtkTextActor can be used to place text annotation into a window. When TextScaleMode is NONE, the text is fixed font and operation is the same as a vtkPolyDataMapper2D/vtkActor2D pair. When TextScaleMode is VIEWPORT, the font resizes such that it maintains a consistent size relative to the viewport in which it is rendered. When TextScaleMode is PROP, the font resizes such that the text fits inside the box defined by the position 1 & 2 coordinates. This class replaces the deprecated vtkScaledTextActor and acts as a convenient wrapper for a vtkTextMapper/vtkActor2D pair. Set the text property/attributes through the vtkTextProperty associated to this actor.

vtkActor2D vtkPolyDataMapper vtkTextProperty vtkFreeTypeUtilities


Member Enumeration Documentation

Set how text should be scaled. If set to vtkTextActor::TEXT_SCALE_MODE_NONE, the the font size will be fixed by the size given in TextProperty. If set to vtkTextActor::TEXT_SCALE_MODE_PROP, the text will be scaled to fit exactly in the prop as specified by the position 1 & 2 coordinates. If set to vtkTextActor::TEXT_SCALE_MODE_VIEWPORT, the text will be scaled based on the size of the viewport it is displayed in.

Enumerator:
TEXT_SCALE_MODE_NONE 

enum member

TEXT_SCALE_MODE_PROP 

enum member

TEXT_SCALE_MODE_VIEWPORT 

enum member


Constructor & Destructor Documentation

static Kitware.VTK.vtkTextActor.vtkTextActor ( )
staticprivate

Automatically generated type registration mechanics.

Kitware.VTK.vtkTextActor.vtkTextActor ( IntPtr  rawCppThis,
bool  callDisposalMethod,
bool  strong 
)

Automatically generated constructor - called from generated code. DO NOT call directly.

Kitware.VTK.vtkTextActor.vtkTextActor ( )

Instantiate object with a rectangle in normaled view coordinates of (0.2,0.85, 0.8, 0.95).


Member Function Documentation

virtual void Kitware.VTK.vtkTextActor.ComputeScaledFont ( vtkViewport  viewport)
virtual

Compute the scale the font should be given the viewport. The result is placed in the ScaledTextProperty ivar.

void Kitware.VTK.vtkTextActor.DisplayToSpecified ( IntPtr  pos,
vtkViewport  vport,
int  specified 
)

This is just a simple coordinate conversion method used in the render process.

override void Kitware.VTK.vtkTextActor.Dispose ( bool  disposing)
protected

Automatically generated protected Dispose method - called from public Dispose or the C# destructor. DO NOT call directly.

Reimplemented from Kitware.VTK.vtkActor2D.

Reimplemented in Kitware.VTK.vtkScaledTextActor.

int Kitware.VTK.vtkTextActor.GetAlignmentPoint ( )

This method is being depricated. Use SetJustification and SetVerticalJustification in text property instead. Set/Get the Alignment point if zero (default), the text aligns itself to the bottom left corner (which is defined by the PositionCoordinate) otherwise the text aligns itself to corner/midpoint or centre.

   ///      6   7   8
   ///      3   4   5
   ///      0   1   2
   /// 

This is the same as setting the TextProperty's justification. Currently TextActor is not oriented around its AlignmentPoint.

static float Kitware.VTK.vtkTextActor.GetFontScale ( vtkViewport  viewport)
static

Provide a font scaling based on a viewport. This is the scaling factor used when the TextScaleMode is set to VIEWPORT and has been made public for other components to use. This scaling assumes that the long dimension of the viewport is meant to be 6 inches (a typical width of text in a paper) and then resizes based on if that long dimension was 72 DPI.

string Kitware.VTK.vtkTextActor.GetInput ( )

Set the text string to be displayed. "
" is recognized as a carriage return/linefeed (line separator). The characters must be in the ISO-8859-1 encoding. Convenience method to the underlying mapper.

virtual float Kitware.VTK.vtkTextActor.GetMaximumLineHeight ( )
virtual

Set/Get the maximum height of a line of text as a percentage of the vertical area allocated to this scaled text actor. Defaults to 1.0. Only valid when TextScaleMode is PROP.

virtual int [] Kitware.VTK.vtkTextActor.GetMinimumSize ( )
virtual

Set/Get the minimum size in pixels for this actor. Defaults to 10,10. Only valid when TextScaleMode is PROP.

virtual void Kitware.VTK.vtkTextActor.GetMinimumSize ( ref int  _arg1,
ref int  _arg2 
)
virtual

Set/Get the minimum size in pixels for this actor. Defaults to 10,10. Only valid when TextScaleMode is PROP.

virtual void Kitware.VTK.vtkTextActor.GetMinimumSize ( IntPtr  _arg)
virtual

Set/Get the minimum size in pixels for this actor. Defaults to 10,10. Only valid when TextScaleMode is PROP.

virtual float Kitware.VTK.vtkTextActor.GetOrientation ( )
virtual

Counterclockwise rotation around the Alignment point. Units are in degrees and defaults to 0. The orientation in the text property rotates the text in the texture map. It will proba ly not give you the effect you desire.

virtual vtkTextProperty Kitware.VTK.vtkTextActor.GetScaledTextProperty ( )
virtual

Get the scaled font. Use ComputeScaledFont to set the scale for a given viewport.

Here is the call graph for this function:

virtual vtkTextProperty Kitware.VTK.vtkTextActor.GetTextProperty ( )
virtual

Set/Get the text property.

Here is the call graph for this function:

virtual int Kitware.VTK.vtkTextActor.GetTextScaleMode ( )
virtual

Set how text should be scaled. If set to vtkTextActor::TEXT_SCALE_MODE_NONE, the the font size will be fixed by the size given in TextProperty. If set to vtkTextActor::TEXT_SCALE_MODE_PROP, the text will be scaled to fit exactly in the prop as specified by the position 1 & 2 coordinates. If set to vtkTextActor::TEXT_SCALE_MODE_VIEWPORT, the text will be scaled based on the size of the viewport it is displayed in.

virtual int Kitware.VTK.vtkTextActor.GetTextScaleModeMaxValue ( )
virtual

Set how text should be scaled. If set to vtkTextActor::TEXT_SCALE_MODE_NONE, the the font size will be fixed by the size given in TextProperty. If set to vtkTextActor::TEXT_SCALE_MODE_PROP, the text will be scaled to fit exactly in the prop as specified by the position 1 & 2 coordinates. If set to vtkTextActor::TEXT_SCALE_MODE_VIEWPORT, the text will be scaled based on the size of the viewport it is displayed in.

virtual int Kitware.VTK.vtkTextActor.GetTextScaleModeMinValue ( )
virtual

Set how text should be scaled. If set to vtkTextActor::TEXT_SCALE_MODE_NONE, the the font size will be fixed by the size given in TextProperty. If set to vtkTextActor::TEXT_SCALE_MODE_PROP, the text will be scaled to fit exactly in the prop as specified by the position 1 & 2 coordinates. If set to vtkTextActor::TEXT_SCALE_MODE_VIEWPORT, the text will be scaled based on the size of the viewport it is displayed in.

virtual int Kitware.VTK.vtkTextActor.GetUseBorderAlign ( )
virtual

Turn on or off the UseBorderAlign option. When UseBorderAlign is on, the bounding rectangle is used to align the text, which is the proper behavior when using vtkTextRepresentation.

override int Kitware.VTK.vtkTextActor.HasTranslucentPolygonalGeometry ( )
virtual

Provide a font scaling based on a viewport. This is the scaling factor used when the TextScaleMode is set to VIEWPORT and has been made public for other components to use. This scaling assumes that the long dimension of the viewport is meant to be 6 inches (a typical width of text in a paper) and then resizes based on if that long dimension was 72 DPI.

Reimplemented from Kitware.VTK.vtkActor2D.

override int Kitware.VTK.vtkTextActor.IsA ( string  type)
virtual

*Undocumented Block

Reimplemented from Kitware.VTK.vtkActor2D.

Reimplemented in Kitware.VTK.vtkScaledTextActor.

static new int Kitware.VTK.vtkTextActor.IsTypeOf ( string  type)
static

*Undocumented Block

Reimplemented from Kitware.VTK.vtkActor2D.

Reimplemented in Kitware.VTK.vtkScaledTextActor.

static new vtkTextActor Kitware.VTK.vtkTextActor.New ( )
static

Instantiate object with a rectangle in normaled view coordinates of (0.2,0.85, 0.8, 0.95).

Reimplemented from Kitware.VTK.vtkActor2D.

Reimplemented in Kitware.VTK.vtkScaledTextActor.

new vtkTextActor Kitware.VTK.vtkTextActor.NewInstance ( )

*Undocumented Block

Reimplemented from Kitware.VTK.vtkActor2D.

Reimplemented in Kitware.VTK.vtkScaledTextActor.

override void Kitware.VTK.vtkTextActor.ReleaseGraphicsResources ( vtkWindow  arg0)
virtual

Provide a font scaling based on a viewport. This is the scaling factor used when the TextScaleMode is set to VIEWPORT and has been made public for other components to use. This scaling assumes that the long dimension of the viewport is meant to be 6 inches (a typical width of text in a paper) and then resizes based on if that long dimension was 72 DPI.

Reimplemented from Kitware.VTK.vtkActor2D.

override int Kitware.VTK.vtkTextActor.RenderOpaqueGeometry ( vtkViewport  viewport)
virtual

Provide a font scaling based on a viewport. This is the scaling factor used when the TextScaleMode is set to VIEWPORT and has been made public for other components to use. This scaling assumes that the long dimension of the viewport is meant to be 6 inches (a typical width of text in a paper) and then resizes based on if that long dimension was 72 DPI.

Reimplemented from Kitware.VTK.vtkActor2D.

override int Kitware.VTK.vtkTextActor.RenderOverlay ( vtkViewport  viewport)
virtual

Provide a font scaling based on a viewport. This is the scaling factor used when the TextScaleMode is set to VIEWPORT and has been made public for other components to use. This scaling assumes that the long dimension of the viewport is meant to be 6 inches (a typical width of text in a paper) and then resizes based on if that long dimension was 72 DPI.

Reimplemented from Kitware.VTK.vtkActor2D.

override int Kitware.VTK.vtkTextActor.RenderTranslucentPolygonalGeometry ( vtkViewport  arg0)
virtual

Provide a font scaling based on a viewport. This is the scaling factor used when the TextScaleMode is set to VIEWPORT and has been made public for other components to use. This scaling assumes that the long dimension of the viewport is meant to be 6 inches (a typical width of text in a paper) and then resizes based on if that long dimension was 72 DPI.

Reimplemented from Kitware.VTK.vtkActor2D.

static new vtkTextActor Kitware.VTK.vtkTextActor.SafeDownCast ( vtkObjectBase  o)
static

*Undocumented Block

Reimplemented from Kitware.VTK.vtkActor2D.

Reimplemented in Kitware.VTK.vtkScaledTextActor.

Here is the call graph for this function:

void Kitware.VTK.vtkTextActor.SetAlignmentPoint ( int  point)

This method is being depricated. Use SetJustification and SetVerticalJustification in text property instead. Set/Get the Alignment point if zero (default), the text aligns itself to the bottom left corner (which is defined by the PositionCoordinate) otherwise the text aligns itself to corner/midpoint or centre.

   ///      6   7   8
   ///      3   4   5
   ///      0   1   2
   /// 

This is the same as setting the TextProperty's justification. Currently TextActor is not oriented around its AlignmentPoint.

void Kitware.VTK.vtkTextActor.SetInput ( string  inputString)

Set the text string to be displayed. "
" is recognized as a carriage return/linefeed (line separator). The characters must be in the ISO-8859-1 encoding. Convenience method to the underlying mapper.

void Kitware.VTK.vtkTextActor.SetMapper ( vtkPolyDataMapper2D  mapper)

Override the vtkPolyDataMapper2D that defines the text to be drawn. One will be created by default if none is supplied.

virtual void Kitware.VTK.vtkTextActor.SetMaximumLineHeight ( float  _arg)
virtual

Set/Get the maximum height of a line of text as a percentage of the vertical area allocated to this scaled text actor. Defaults to 1.0. Only valid when TextScaleMode is PROP.

virtual void Kitware.VTK.vtkTextActor.SetMinimumSize ( int  _arg1,
int  _arg2 
)
virtual

Set/Get the minimum size in pixels for this actor. Defaults to 10,10. Only valid when TextScaleMode is PROP.

void Kitware.VTK.vtkTextActor.SetMinimumSize ( IntPtr  _arg)

Set/Get the minimum size in pixels for this actor. Defaults to 10,10. Only valid when TextScaleMode is PROP.

virtual void Kitware.VTK.vtkTextActor.SetNonLinearFontScale ( double  exponent,
int  target 
)
virtual

Enable non-linear scaling of font sizes. This is useful in combination with scaled text. With small windows you want to use the entire scaled text area. With larger windows you want to reduce the font size some so that the entire area is not used. These values modify the computed font size as follows: newFontSize = pow(FontSize,exponent)*pow(target,1.0 - exponent) typically exponent should be around 0.7 and target should be around 10.

void Kitware.VTK.vtkTextActor.SetOrientation ( float  orientation)

Counterclockwise rotation around the Alignment point. Units are in degrees and defaults to 0. The orientation in the text property rotates the text in the texture map. It will proba ly not give you the effect you desire.

virtual void Kitware.VTK.vtkTextActor.SetTextProperty ( vtkTextProperty  p)
virtual

Set/Get the text property.

virtual void Kitware.VTK.vtkTextActor.SetTextScaleMode ( int  _arg)
virtual

Set how text should be scaled. If set to vtkTextActor::TEXT_SCALE_MODE_NONE, the the font size will be fixed by the size given in TextProperty. If set to vtkTextActor::TEXT_SCALE_MODE_PROP, the text will be scaled to fit exactly in the prop as specified by the position 1 & 2 coordinates. If set to vtkTextActor::TEXT_SCALE_MODE_VIEWPORT, the text will be scaled based on the size of the viewport it is displayed in.

void Kitware.VTK.vtkTextActor.SetTextScaleModeToNone ( )

Set how text should be scaled. If set to vtkTextActor::TEXT_SCALE_MODE_NONE, the the font size will be fixed by the size given in TextProperty. If set to vtkTextActor::TEXT_SCALE_MODE_PROP, the text will be scaled to fit exactly in the prop as specified by the position 1 & 2 coordinates. If set to vtkTextActor::TEXT_SCALE_MODE_VIEWPORT, the text will be scaled based on the size of the viewport it is displayed in.

void Kitware.VTK.vtkTextActor.SetTextScaleModeToProp ( )

Set how text should be scaled. If set to vtkTextActor::TEXT_SCALE_MODE_NONE, the the font size will be fixed by the size given in TextProperty. If set to vtkTextActor::TEXT_SCALE_MODE_PROP, the text will be scaled to fit exactly in the prop as specified by the position 1 & 2 coordinates. If set to vtkTextActor::TEXT_SCALE_MODE_VIEWPORT, the text will be scaled based on the size of the viewport it is displayed in.

void Kitware.VTK.vtkTextActor.SetTextScaleModeToViewport ( )

Set how text should be scaled. If set to vtkTextActor::TEXT_SCALE_MODE_NONE, the the font size will be fixed by the size given in TextProperty. If set to vtkTextActor::TEXT_SCALE_MODE_PROP, the text will be scaled to fit exactly in the prop as specified by the position 1 & 2 coordinates. If set to vtkTextActor::TEXT_SCALE_MODE_VIEWPORT, the text will be scaled based on the size of the viewport it is displayed in.

virtual void Kitware.VTK.vtkTextActor.SetUseBorderAlign ( int  _arg)
virtual

Turn on or off the UseBorderAlign option. When UseBorderAlign is on, the bounding rectangle is used to align the text, which is the proper behavior when using vtkTextRepresentation.

override void Kitware.VTK.vtkTextActor.ShallowCopy ( vtkProp  prop)
virtual

Shallow copy of this text actor. Overloads the virtual vtkProp method.

Reimplemented from Kitware.VTK.vtkActor2D.

void Kitware.VTK.vtkTextActor.SpecifiedToDisplay ( IntPtr  pos,
vtkViewport  vport,
int  specified 
)

This is just a simple coordinate conversion method used in the render process.

virtual void Kitware.VTK.vtkTextActor.UseBorderAlignOff ( )
virtual

Turn on or off the UseBorderAlign option. When UseBorderAlign is on, the bounding rectangle is used to align the text, which is the proper behavior when using vtkTextRepresentation.

virtual void Kitware.VTK.vtkTextActor.UseBorderAlignOn ( )
virtual

Turn on or off the UseBorderAlign option. When UseBorderAlign is on, the bounding rectangle is used to align the text, which is the proper behavior when using vtkTextRepresentation.


Member Data Documentation

new readonly string Kitware.VTK.vtkTextActor.MRClassNameKey = "12vtkTextActor"
static

Automatically generated type registration mechanics.

Reimplemented from Kitware.VTK.vtkActor2D.

Reimplemented in Kitware.VTK.vtkScaledTextActor.

new const string Kitware.VTK.vtkTextActor.MRFullTypeName = "Kitware.VTK.vtkTextActor"

Automatically generated type registration mechanics.

Reimplemented from Kitware.VTK.vtkActor2D.

Reimplemented in Kitware.VTK.vtkScaledTextActor.


The documentation for this class was generated from the following file: