Coin
4.0.3
Coin3D core library
|
The SoVectorizePSAction class is used for rendering to a PostScript file. More...
#include <Inventor/annex/HardCopy/SoVectorizePSAction.h>
Static Public Member Functions | |
static void | addMethod (const SoType type, SoActionMethod method) |
static void | enableElement (const SoType type, const int stackindex) |
static SoType | getClassTypeId (void) |
static void | initClass (void) |
Static Public Member Functions inherited from SoVectorizeAction | |
static void | addMethod (const SoType type, SoActionMethod method) |
static void | enableElement (const SoType type, const int stackindex) |
static SoType | getClassTypeId (void) |
static void | initClass (void) |
Static Public Member Functions inherited from SoCallbackAction | |
static void | addMethod (const SoType type, SoActionMethod method) |
static void | enableElement (const SoType type, const int stackindex) |
static SoType | getClassTypeId (void) |
static void | initClass (void) |
Static Public Member Functions inherited from SoAction | |
static SoType | getClassTypeId (void) |
static void | initClass (void) |
static void | initClasses (void) |
static void | nullAction (SoAction *action, SoNode *node) |
Protected Member Functions | |
virtual const SoEnabledElementsList & | getEnabledElements (void) const |
virtual void | printBackground (void) const |
virtual void | printFooter (void) const |
virtual void | printHeader (void) const |
virtual void | printItem (const SoVectorizeItem *item) const |
virtual void | printViewport (void) const |
Protected Member Functions inherited from SoVectorizeAction | |
const SbBSPTree & | getBSPTree (void) const |
SbVec2f | getRotatedViewportSize (void) const |
SbVec2f | getRotatedViewportStartpos (void) const |
virtual float | pixelsToUnits (const int pixels) |
void | setOutput (SoVectorOutput *output) |
Protected Member Functions inherited from SoCallbackAction | |
virtual void | beginTraversal (SoNode *node) |
Protected Member Functions inherited from SoAction | |
SoAction (void) | |
virtual void | endTraversal (SoNode *node) |
void | setTerminated (const SbBool flag) |
virtual SbBool | shouldCompactPathList (void) const |
Static Protected Member Functions | |
static SoActionMethodList * | getClassActionMethods (void) |
static SoEnabledElementsList * | getClassEnabledElements (void) |
Static Protected Member Functions inherited from SoVectorizeAction | |
static SoActionMethodList * | getClassActionMethods (void) |
static SoEnabledElementsList * | getClassEnabledElements (void) |
Static Protected Member Functions inherited from SoCallbackAction | |
static SoActionMethodList * | getClassActionMethods (void) |
static SoEnabledElementsList * | getClassEnabledElements (void) |
Static Protected Member Functions inherited from SoAction | |
static SoActionMethodList * | getClassActionMethods (void) |
static SoEnabledElementsList * | getClassEnabledElements (void) |
Additional Inherited Members | |
Public Types inherited from SoVectorizeAction | |
enum | ColorTranslationMethod { REVERSE_ONLY_BLACK_AND_WHITE , AS_IS , REVERSE } |
enum | DimensionUnit { INCH , MM , METER } |
enum | EndLineStyle { BUTT_END , SQUARE_END , TRIANGULAR_END , ROUND_END } |
enum | HLHSRMode { NO_HLHSR , HLHSR_SIMPLE_PAINTER , HLHSR_PAINTER , HLHSR_PAINTER_SURFACE_REMOVAL , HIDDEN_LINES_REMOVAL } |
enum | JoinLineStyle { NO_JOIN , MITERED_JOIN , MITERED_BEVELED_JOIN , BEVELED_JOIN , TRIANGULAR_JOIN , ROUNDED_JOIN } |
enum | Orientation { PORTRAIT , LANDSCAPE } |
enum | PageSize { A0 = 0 , A1 , A2 , A3 , A4 , A5 , A6 , A7 , A8 , A9 , A10 } |
enum | PointStyle { CIRCLE , SQUARE } |
Public Types inherited from SoCallbackAction | |
enum | Response { CONTINUE , ABORT , PRUNE } |
typedef Response | SoCallbackActionCB(void *userdata, SoCallbackAction *action, const SoNode *node) |
Public Types inherited from SoAction | |
enum | AppliedCode { NODE = 0 , PATH = 1 , PATH_LIST = 2 } |
enum | PathCode { NO_PATH = 0 , IN_PATH = 1 , BELOW_PATH = 2 , OFF_PATH = 3 } |
Protected Attributes inherited from SoAction | |
SoState * | state |
SoActionMethodList * | traversalMethods |
The SoVectorizePSAction class is used for rendering to a PostScript file.
SoVectorizePSAction::SoVectorizePSAction | ( | void | ) |
Default constructor.
|
virtual |
Default destructor.
This API member is considered internal to the library, as it is not likely to be of interest to the application programmer.
This API member is considered internal to the library, as it is not likely to be of interest to the application programmer.
|
staticprotected |
Returns list of action methods for this class. The enabledElements and methods variables are protected in the original OIV API. This is not such a good idea, since exposed static class member variables is a major grievance with regard to Win32 DLLs. This function is an extension for Coin, and it is not available in the original SGI Open Inventor v2.1 API.
|
staticprotected |
Returns list of enabled elements for this class. The enabledElements and methods variables are protected in the original OIV API. This is not such a good idea, since exposed static class member variables is a major grievance with regard to Win32 DLLs. This function is an extension for Coin, and it is not available in the original SGI Open Inventor v2.1 API.
This static method returns the SoType object associated with objects of this class.
Returns the default font name.
|
protectedvirtual |
Returns list of enabled elements.
Reimplemented from SoVectorizeAction.
SoPSVectorOutput * SoVectorizePSAction::getOutput | ( | void | ) | const |
Returns the SoPSVectorOutput used by this instance.
SoPSVectorOutput * SoVectorizePSAction::getPSOutput | ( | void | ) | const |
Returns the SoPSVectorOutput used by this instance. Provided for API compatibility with TGS HardCopy support.
Returns the type identification of an object derived from a class inheriting SoAction. This is used for runtime type checking and "downward" casting.
Reimplemented from SoVectorizeAction.
Initializes the runtime type system for this class, and sets up the enabled elements and action method list.
This API member is considered internal to the library, as it is not likely to be of interest to the application programmer.
Should be overridden by subclasses to print background data.
Reimplemented from SoVectorizeAction.
This API member is considered internal to the library, as it is not likely to be of interest to the application programmer.
Should be overridden by subclasses to print file footer data.
Reimplemented from SoVectorizeAction.
This API member is considered internal to the library, as it is not likely to be of interest to the application programmer.
Implements SoVectorizeAction.
|
protectedvirtual |
This API member is considered internal to the library, as it is not likely to be of interest to the application programmer.
Should be overridden by subclasses to print an item.
Implements SoVectorizeAction.
This API member is considered internal to the library, as it is not likely to be of interest to the application programmer.
Should be overridden by subclasses to set up the current page viewport.
Reimplemented from SoVectorizeAction.
Sets the default font name. This font will be used for rendering Text2-nodes which have no Font-nodes preceding them. The default value is "Courier".
Sets the Gouraud shading threshold. A threshold of 0.0 will disable Gouraud shading. A smaller value will yield more accurate Gouraud shading. Default is 0.1.
Since the PostScript language has no support for Gouraud shaded triangles, each triangle will be split into subtriangles approximately of size eps PostScript units. One PostScript unit is approximately 1/72 inch.