SoAnnoText3Property Class Reference
[Properties]

VSG extension Annotation text property node. More...

#include <Inventor/nodes/SoAnnoText3Property.h>

Inheritance diagram for SoAnnoText3Property:
SoNode SoFieldContainer SoBase SoRefCounter SoTypedObject

List of all members.

Public Types

enum  RenderPrintType {
  RENDER3D_PRINT_VECTOR,
  RENDER3D_PRINT_RASTER,
  RENDER2D_PRINT_RASTER
}
enum  FontSizeHint {
  ANNOTATION,
  FIT_VECTOR_TEXT
}

Public Member Functions

virtual SoType getTypeId () const
 SoAnnoText3Property ()

Static Public Member Functions

static SoType getClassTypeId ()
static void setMaxViewingFontSize (unsigned int size)
static unsigned int getMaxViewingFontSize ()

Public Attributes

SoSFEnum renderPrintType
SoSFBool isCharOrientedRasterPrint
SoSFEnum fontSizeHint

Detailed Description

VSG extension Annotation text property node.

This node sets the current annotation text properties in the state used by all subsequent SoAnnoText3 nodes.

FILE FORMAT/DEFAULT

ACTION BEHAVIOR

SEE ALSO

SoAnnoText3

See related examples:

TextProperties


Member Enumeration Documentation

Font size hint.

Enumerator:
ANNOTATION 

2D text maintains its nominal font size from any view angle.

FIT_VECTOR_TEXT 

The font size of 2D text changes according to the view angle (it follows the projection on the screen of 3D text).

Render print type.

Enumerator:
RENDER3D_PRINT_VECTOR 

Text is rendered in 3D (like SoText3).

It is printed as vectors when the Hard Copy Extension (formerly known as PlotMaster) is used.

RENDER3D_PRINT_RASTER 

Text is rendered in 3D (like SoText3).

It is printed as raster text using PostScript fonts when the Hard Copy Extension is used.

RENDER2D_PRINT_RASTER 

Text is rendered in 2D (like SoText2) but can be zoomed because the font size is interpreted in the current units.

It is printed as raster text using PostScript fonts when the Hard Copy Extension is used.

Note: if this render type is set, the text will not be exported by an SoToPDFAction.


Constructor & Destructor Documentation

SoAnnoText3Property::SoAnnoText3Property (  ) 

Constructor.


Member Function Documentation

static SoType SoAnnoText3Property::getClassTypeId (  )  [static]

Returns the type identifier for this class.

Reimplemented from SoNode.

static unsigned int SoAnnoText3Property::getMaxViewingFontSize (  )  [static]

Gets the maximum font size (in pixels) that can be used when renderPrintType field is equal to RENDER2D_PRINT_RASTER.

virtual SoType SoAnnoText3Property::getTypeId (  )  const [virtual]

Returns the type identifier for this specific instance.

Reimplemented from SoNode.

static void SoAnnoText3Property::setMaxViewingFontSize ( unsigned int  size  )  [static]

Sets the maximum font size (in pixels) when renderPrintType field is equal to RENDER2D_PRINT_RASTER.

The maximum font size can also be set using the OIV_MAX_ANNO_RENDER2D_SIZE environment variable.


Member Data Documentation

This flag is used when the field renderPrintType is equal to RENDER3D_PRINT_RASTER or RENDER2D_PRINT_RASTER.

It specifies how the font size for 2D text (whether rendered or raster) changes according to the view. Use enum FontSizeHint. Default is FIT_VECTOR_TEXT.

This flag is used when the field renderPrintType is equal to RENDER3D_PRINT_RASTER or RENDER2D_PRINT_RASTER.

It specifies whether the text should be oriented (or not) for printing when using the Hard Copy Extension. Default is TRUE.

This flag specifies how annotation text should be rendered (as 3D text or 2D text) and how it should be printed when the Hard Copy Extension is used (as 3D vectors or 2D PostScript raster fonts).

Use enum RenderPrintType. Default is RENDER3D_PRINT_VECTOR.


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

Open Inventor Toolkit reference manual, generated on 4 Sep 2023
Copyright © Thermo Fisher Scientific All rights reserved.
https://www.openinventor.com/