.TH "SoVectorizeAction" 3 "Tue Jun 23 2026 23:48:38" "Version 4.0.10" "Coin" \" -*- nroff -*- .ad l .nh .SH NAME SoVectorizeAction \- The \fBSoVectorizeAction\fP class is the base class for vectorizing Coin scene graphs\&. .SH SYNOPSIS .br .PP .PP \fR#include \fP .PP Inherits \fBSoCallbackAction\fP\&. .PP Inherited by \fBSoVectorizePSAction\fP\&. .SS "Public Types" .in +1c .ti -1c .RI "enum \fBDimensionUnit\fP { \fBINCH\fP, \fBMM\fP, \fBMETER\fP }" .br .ti -1c .RI "enum \fBOrientation\fP { \fBPORTRAIT\fP, \fBLANDSCAPE\fP }" .br .ti -1c .RI "enum \fBPageSize\fP { \fBA0\fP = 0, \fBA1\fP, \fBA2\fP, \fBA3\fP, \fBA4\fP, \fBA5\fP, \fBA6\fP, \fBA7\fP, \fBA8\fP, \fBA9\fP, \fBA10\fP }" .br .ti -1c .RI "enum \fBPointStyle\fP { \fBCIRCLE\fP, \fBSQUARE\fP }" .br .ti -1c .RI "enum \fBColorTranslationMethod\fP { \fBREVERSE_ONLY_BLACK_AND_WHITE\fP, \fBAS_IS\fP, \fBREVERSE\fP }" .br .ti -1c .RI "enum \fBJoinLineStyle\fP { \fBNO_JOIN\fP, \fBMITERED_JOIN\fP, \fBMITERED_BEVELED_JOIN\fP, \fBBEVELED_JOIN\fP, \fBTRIANGULAR_JOIN\fP, \fBROUNDED_JOIN\fP }" .br .ti -1c .RI "enum \fBEndLineStyle\fP { \fBBUTT_END\fP, \fBSQUARE_END\fP, \fBTRIANGULAR_END\fP, \fBROUND_END\fP }" .br .ti -1c .RI "enum \fBHLHSRMode\fP { \fBNO_HLHSR\fP, \fBHLHSR_SIMPLE_PAINTER\fP, \fBHLHSR_PAINTER\fP, \fBHLHSR_PAINTER_SURFACE_REMOVAL\fP, \fBHIDDEN_LINES_REMOVAL\fP }" .br .in -1c Public Types inherited from \fBSoCallbackAction\fP .in +1c .ti -1c .RI "enum \fBResponse\fP { \fBCONTINUE\fP, \fBABORT\fP, \fBPRUNE\fP }" .br .ti -1c .RI "typedef \fBResponse\fP \fBSoCallbackActionCB\fP(void *userdata, \fBSoCallbackAction\fP *action, const \fBSoNode\fP *node)" .br .in -1c Public Types inherited from \fBSoAction\fP .in +1c .ti -1c .RI "enum \fBAppliedCode\fP { \fBNODE\fP = 0, \fBPATH\fP = 1, \fBPATH_LIST\fP = 2 }" .br .ti -1c .RI "enum \fBPathCode\fP { \fBNO_PATH\fP = 0, \fBIN_PATH\fP = 1, \fBBELOW_PATH\fP = 2, \fBOFF_PATH\fP = 3 }" .br .in -1c .SS "Public Member Functions" .in +1c .ti -1c .RI "virtual \fBSoType\fP \fBgetTypeId\fP (void) const" .br .ti -1c .RI "\fBSoVectorizeAction\fP (void)" .br .ti -1c .RI "virtual \fB~SoVectorizeAction\fP ()" .br .ti -1c .RI "\fBSoVectorOutput\fP * \fBgetOutput\fP (void) const" .br .ti -1c .RI "virtual void \fBapply\fP (\fBSoNode\fP *node)" .br .ti -1c .RI "virtual void \fBapply\fP (\fBSoPath\fP *path)" .br .ti -1c .RI "virtual void \fBapply\fP (const \fBSoPathList\fP &pathlist, SbBool obeysrules=FALSE)" .br .ti -1c .RI "void \fBbeginStandardPage\fP (const \fBPageSize\fP &pagesize, const float border=10\&.0f)" .br .ti -1c .RI "virtual void \fBbeginPage\fP (const \fBSbVec2f\fP &startpagepos, const \fBSbVec2f\fP &pagesize, \fBDimensionUnit\fP u=MM)" .br .ti -1c .RI "virtual void \fBendPage\fP (void)" .br .ti -1c .RI "virtual void \fBcalibrate\fP (const \fBSbViewportRegion\fP &vp)" .br .ti -1c .RI "virtual void \fBbeginViewport\fP (const \fBSbVec2f\fP &startpos=\fBSbVec2f\fP(\-1\&.0f, 1\&.0f), const \fBSbVec2f\fP &size=\fBSbVec2f\fP(\-1\&.0f, \-1\&.0f), \fBDimensionUnit\fP u=MM)" .br .ti -1c .RI "virtual void \fBendViewport\fP (void)" .br .ti -1c .RI "virtual void \fBsetOrientation\fP (\fBOrientation\fP o)" .br .ti -1c .RI "virtual \fBOrientation\fP \fBgetOrientation\fP (void) const" .br .ti -1c .RI "virtual void \fBsetBackgroundColor\fP (SbBool bg, const \fBSbColor\fP &col=\fBSbColor\fP(0\&.0f, 0\&.0f, 0\&.0f))" .br .ti -1c .RI "virtual SbBool \fBgetBackgroundColor\fP (\fBSbColor\fP &col) const" .br .ti -1c .RI "virtual void \fBsetNominalWidth\fP (float w, \fBDimensionUnit\fP u=MM)" .br .ti -1c .RI "virtual float \fBgetNominalWidth\fP (\fBDimensionUnit\fP u=MM) const" .br .ti -1c .RI "virtual void \fBsetPixelImageSize\fP (float w, \fBDimensionUnit\fP u=MM)" .br .ti -1c .RI "virtual float \fBgetPixelImageSize\fP (\fBDimensionUnit\fP u=MM) const" .br .ti -1c .RI "virtual void \fBsetPointStyle\fP (const \fBPointStyle\fP &style)" .br .ti -1c .RI "virtual \fBPointStyle\fP \fBgetPointStyle\fP (void) const" .br .ti -1c .RI "const \fBSbVec2f\fP & \fBgetPageStartpos\fP (void) const" .br .ti -1c .RI "const \fBSbVec2f\fP & \fBgetPageSize\fP (void) const" .br .ti -1c .RI "virtual void \fBsetDrawingDimensions\fP (const \fBSbVec2f\fP &d, \fBDimensionUnit\fP u=MM)" .br .ti -1c .RI "virtual void \fBsetDrawingDimensions\fP (float w, float h, \fBDimensionUnit\fP u=MM)" .br .ti -1c .RI "virtual \fBSbVec2f\fP \fBgetDrawingDimensions\fP (\fBDimensionUnit\fP u=MM) const" .br .ti -1c .RI "virtual void \fBsetStartPosition\fP (const \fBSbVec2f\fP &p, \fBDimensionUnit\fP u=MM)" .br .ti -1c .RI "virtual void \fBsetStartPosition\fP (float x, float y, \fBDimensionUnit\fP u=MM)" .br .ti -1c .RI "virtual \fBSbVec2f\fP \fBgetStartPosition\fP (\fBDimensionUnit\fP u=MM) const" .br .ti -1c .RI "virtual void \fBsetColorTranslationMethod\fP (ColorTranslationMethod method)" .br .ti -1c .RI "virtual ColorTranslationMethod \fBgetColorTranslationMethod\fP (void) const" .br .ti -1c .RI "virtual void \fBsetLineEndStyle\fP (EndLineStyle style)" .br .ti -1c .RI "virtual EndLineStyle \fBgetLineEndStyle\fP (void) const" .br .ti -1c .RI "virtual void \fBsetLineJoinsStyle\fP (JoinLineStyle style)" .br .ti -1c .RI "virtual JoinLineStyle \fBgetLineJoinsStyle\fP (void) const" .br .ti -1c .RI "virtual void \fBsetHLHSRMode\fP (HLHSRMode mode)" .br .ti -1c .RI "HLHSRMode \fBgetHLHSRMode\fP (void) const" .br .ti -1c .RI "virtual void \fBsetBorder\fP (float width)" .br .ti -1c .RI "virtual void \fBsetBorder\fP (float width, \fBSbColor\fP color)" .br .ti -1c .RI "virtual void \fBsetMiterLimit\fP (float limit)" .br .ti -1c .RI "virtual float \fBgetMiterLimit\fP (void) const" .br .ti -1c .RI "virtual void \fBsetPenDescription\fP (int num_pens, const \fBSbColor\fP *colors=0, const float *widths=0, \fBDimensionUnit\fP u=MM)" .br .ti -1c .RI "virtual void \fBgetPenDescription\fP (\fBSbColor\fP *colors, float *widths, \fBDimensionUnit\fP u=MM) const" .br .ti -1c .RI "virtual int \fBgetPenNum\fP (void) const" .br .ti -1c .RI "virtual void \fBsetColorPriority\fP (SbBool priority)" .br .ti -1c .RI "virtual SbBool \fBgetColorPriority\fP (void) const" .br .ti -1c .RI "virtual void \fBenableLighting\fP (SbBool flag)" .br .ti -1c .RI "SbBool \fBisLightingEnabled\fP (void) const" .br .in -1c Public Member Functions inherited from \fBSoCallbackAction\fP .in +1c .ti -1c .RI "\fBSoCallbackAction\fP (void)" .br .ti -1c .RI "\fBSoCallbackAction\fP (const \fBSbViewportRegion\fP &vp)" .br .ti -1c .RI "virtual \fB~SoCallbackAction\fP (void)" .br .ti -1c .RI "void \fBsetViewportRegion\fP (const \fBSbViewportRegion\fP &vp)" .br .ti -1c .RI "void \fBaddPreCallback\fP (const \fBSoType\fP type, \fBSoCallbackActionCB\fP *cb, void *userdata)" .br .ti -1c .RI "void \fBaddPostCallback\fP (const \fBSoType\fP type, \fBSoCallbackActionCB\fP *cb, void *userdata)" .br .ti -1c .RI "void \fBaddPreTailCallback\fP (\fBSoCallbackActionCB\fP *cb, void *userdata)" .br .ti -1c .RI "void \fBaddPostTailCallback\fP (\fBSoCallbackActionCB\fP *cb, void *userdata)" .br .ti -1c .RI "void \fBaddTriangleCallback\fP (const \fBSoType\fP type, SoTriangleCB *cb, void *userdata)" .br .ti -1c .RI "void \fBaddLineSegmentCallback\fP (const \fBSoType\fP type, SoLineSegmentCB *cb, void *userdata)" .br .ti -1c .RI "void \fBaddPointCallback\fP (const \fBSoType\fP type, SoPointCB *cb, void *userdata)" .br .ti -1c .RI "\fBSoDecimationTypeElement::Type\fP \fBgetDecimationType\fP (void) const" .br .ti -1c .RI "float \fBgetDecimationPercentage\fP (void) const" .br .ti -1c .RI "float \fBgetComplexity\fP (void) const" .br .ti -1c .RI "\fBSoComplexity::Type\fP \fBgetComplexityType\fP (void) const" .br .ti -1c .RI "int32_t \fBgetNumCoordinates\fP (void) const" .br .ti -1c .RI "const \fBSbVec3f\fP & \fBgetCoordinate3\fP (const int index) const" .br .ti -1c .RI "const \fBSbVec4f\fP & \fBgetCoordinate4\fP (const int index) const" .br .ti -1c .RI "\fBSoDrawStyle::Style\fP \fBgetDrawStyle\fP (void) const" .br .ti -1c .RI "unsigned short \fBgetLinePattern\fP (void) const" .br .ti -1c .RI "float \fBgetLineWidth\fP (void) const" .br .ti -1c .RI "float \fBgetPointSize\fP (void) const" .br .ti -1c .RI "const \fBSbName\fP & \fBgetFontName\fP (void) const" .br .ti -1c .RI "float \fBgetFontSize\fP (void) const" .br .ti -1c .RI "\fBSoLightModel::Model\fP \fBgetLightModel\fP (void) const" .br .ti -1c .RI "const \fBSbVec3f\fP & \fBgetLightAttenuation\fP (void) const" .br .ti -1c .RI "void \fBgetMaterial\fP (\fBSbColor\fP &ambient, \fBSbColor\fP &diffuse, \fBSbColor\fP &specular, \fBSbColor\fP &emission, float &shininess, float &transparency, const int index=0) const" .br .ti -1c .RI "\fBSoMaterialBinding::Binding\fP \fBgetMaterialBinding\fP (void) const" .br .ti -1c .RI "uint32_t \fBgetNumNormals\fP (void) const" .br .ti -1c .RI "const \fBSbVec3f\fP & \fBgetNormal\fP (const int index) const" .br .ti -1c .RI "\fBSoNormalBinding::Binding\fP \fBgetNormalBinding\fP (void) const" .br .ti -1c .RI "int32_t \fBgetNumProfileCoordinates\fP (void) const" .br .ti -1c .RI "const \fBSbVec2f\fP & \fBgetProfileCoordinate2\fP (const int index) const" .br .ti -1c .RI "const \fBSbVec3f\fP & \fBgetProfileCoordinate3\fP (const int index) const" .br .ti -1c .RI "const \fBSoNodeList\fP & \fBgetProfile\fP (void) const" .br .ti -1c .RI "\fBSoShapeHints::VertexOrdering\fP \fBgetVertexOrdering\fP (void) const" .br .ti -1c .RI "\fBSoShapeHints::ShapeType\fP \fBgetShapeType\fP (void) const" .br .ti -1c .RI "\fBSoShapeHints::FaceType\fP \fBgetFaceType\fP (void) const" .br .ti -1c .RI "float \fBgetCreaseAngle\fP (void) const" .br .ti -1c .RI "int32_t \fBgetNumTextureCoordinates\fP (void) const" .br .ti -1c .RI "const \fBSbVec2f\fP & \fBgetTextureCoordinate2\fP (const int index) const" .br .ti -1c .RI "const \fBSbVec3f\fP & \fBgetTextureCoordinate3\fP (const int index) const" .br .ti -1c .RI "const \fBSbVec4f\fP & \fBgetTextureCoordinate4\fP (const int index) const" .br .ti -1c .RI "\fBSoTextureCoordinateBinding::Binding\fP \fBgetTextureCoordinateBinding\fP (void) const" .br .ti -1c .RI "const \fBSbColor\fP & \fBgetTextureBlendColor\fP (void) const" .br .ti -1c .RI "const unsigned char * \fBgetTextureImage\fP (\fBSbVec2s\fP &size, int &numcomps) const" .br .ti -1c .RI "const unsigned char * \fBgetTextureImage\fP (\fBSbVec3s\fP &size, int &numcomps) const" .br .ti -1c .RI "const \fBSbMatrix\fP & \fBgetTextureMatrix\fP (void) const" .br .ti -1c .RI "\fBSoTexture2::Model\fP \fBgetTextureModel\fP (void) const" .br .ti -1c .RI "\fBSoTexture2::Wrap\fP \fBgetTextureWrapS\fP (void) const" .br .ti -1c .RI "\fBSoTexture2::Wrap\fP \fBgetTextureWrapT\fP (void) const" .br .ti -1c .RI "\fBSoTexture2::Wrap\fP \fBgetTextureWrapR\fP (void) const" .br .ti -1c .RI "const \fBSbMatrix\fP & \fBgetModelMatrix\fP (void) const" .br .ti -1c .RI "\fBSoUnits::Units\fP \fBgetUnits\fP (void) const" .br .ti -1c .RI "float \fBgetFocalDistance\fP (void) const" .br .ti -1c .RI "const \fBSbMatrix\fP & \fBgetProjectionMatrix\fP (void) const" .br .ti -1c .RI "const \fBSbMatrix\fP & \fBgetViewingMatrix\fP (void) const" .br .ti -1c .RI "const \fBSbViewVolume\fP & \fBgetViewVolume\fP (void) const" .br .ti -1c .RI "const \fBSbViewportRegion\fP & \fBgetViewportRegion\fP (void) const" .br .ti -1c .RI "\fBSoPickStyle::Style\fP \fBgetPickStyle\fP (void) const" .br .ti -1c .RI "int32_t \fBgetSwitch\fP (void) const" .br .ti -1c .RI "\fBResponse\fP \fBgetCurrentResponse\fP (void) const" .br .ti -1c .RI "void \fBinvokePreCallbacks\fP (const \fBSoNode\fP *const node)" .br .ti -1c .RI "void \fBinvokePostCallbacks\fP (const \fBSoNode\fP *const node)" .br .ti -1c .RI "void \fBinvokeTriangleCallbacks\fP (const \fBSoShape\fP *const shape, const \fBSoPrimitiveVertex\fP *const v1, const \fBSoPrimitiveVertex\fP *const v2, const \fBSoPrimitiveVertex\fP *const v3)" .br .ti -1c .RI "void \fBinvokeLineSegmentCallbacks\fP (const \fBSoShape\fP *const shape, const \fBSoPrimitiveVertex\fP *const v1, const \fBSoPrimitiveVertex\fP *const v2)" .br .ti -1c .RI "void \fBinvokePointCallbacks\fP (const \fBSoShape\fP *const shape, const \fBSoPrimitiveVertex\fP *const v)" .br .ti -1c .RI "SbBool \fBshouldGeneratePrimitives\fP (const \fBSoShape\fP *shape) const" .br .ti -1c .RI "virtual \fBSoNode\fP * \fBgetCurPathTail\fP (void)" .br .ti -1c .RI "void \fBsetCurrentNode\fP (\fBSoNode\fP *const node)" .br .ti -1c .RI "void \fBsetCallbackAll\fP (SbBool callbackall)" .br .ti -1c .RI "SbBool \fBisCallbackAll\fP (void) const" .br .in -1c Public Member Functions inherited from \fBSoAction\fP .in +1c .ti -1c .RI "virtual \fB~SoAction\fP (void)" .br .ti -1c .RI "virtual SbBool \fBisOfType\fP (\fBSoType\fP type) const" .br .ti -1c .RI "void \fBapply\fP (\fBSoAction\fP *beingApplied)" .br .ti -1c .RI "virtual void \fBinvalidateState\fP (void)" .br .ti -1c .RI "\fBAppliedCode\fP \fBgetWhatAppliedTo\fP (void) const" .br .ti -1c .RI "\fBSoNode\fP * \fBgetNodeAppliedTo\fP (void) const" .br .ti -1c .RI "\fBSoPath\fP * \fBgetPathAppliedTo\fP (void) const" .br .ti -1c .RI "const \fBSoPathList\fP * \fBgetPathListAppliedTo\fP (void) const" .br .ti -1c .RI "const \fBSoPathList\fP * \fBgetOriginalPathListAppliedTo\fP (void) const" .br .ti -1c .RI "SbBool \fBisLastPathListAppliedTo\fP (void) const" .br .ti -1c .RI "\fBPathCode\fP \fBgetPathCode\fP (int &numindices, const int *&indices)" .br .ti -1c .RI "void \fBtraverse\fP (\fBSoNode\fP *const node)" .br .ti -1c .RI "SbBool \fBhasTerminated\fP (void) const" .br .ti -1c .RI "const \fBSoPath\fP * \fBgetCurPath\fP (void)" .br .ti -1c .RI "\fBSoState\fP * \fBgetState\fP (void) const" .br .ti -1c .RI "\fBPathCode\fP \fBgetCurPathCode\fP (void) const" .br .ti -1c .RI "void \fBusePathCode\fP (int &numindices, const int *&indices)" .br .ti -1c .RI "void \fBpushCurPath\fP (const int childindex, \fBSoNode\fP *node=NULL)" .br .ti -1c .RI "void \fBpopCurPath\fP (const \fBPathCode\fP prevpathcode)" .br .ti -1c .RI "void \fBpushCurPath\fP (void)" .br .ti -1c .RI "void \fBpopPushCurPath\fP (const int childindex, \fBSoNode\fP *node=NULL)" .br .ti -1c .RI "void \fBpopCurPath\fP (void)" .br .ti -1c .RI "void \fBswitchToPathTraversal\fP (\fBSoPath\fP *path)" .br .ti -1c .RI "void \fBswitchToNodeTraversal\fP (\fBSoNode\fP *node)" .br .in -1c .SS "Static Public Member Functions" .in +1c .ti -1c .RI "static \fBSoType\fP \fBgetClassTypeId\fP (void)" .br .ti -1c .RI "static void \fBaddMethod\fP (const \fBSoType\fP type, SoActionMethod method)" .br .ti -1c .RI "static void \fBenableElement\fP (const \fBSoType\fP type, const int stackindex)" .br .ti -1c .RI "static void \fBinitClass\fP (void)" .br .in -1c Static Public Member Functions inherited from \fBSoCallbackAction\fP .in +1c .ti -1c .RI "static \fBSoType\fP \fBgetClassTypeId\fP (void)" .br .ti -1c .RI "static void \fBaddMethod\fP (const \fBSoType\fP type, SoActionMethod method)" .br .ti -1c .RI "static void \fBenableElement\fP (const \fBSoType\fP type, const int stackindex)" .br .ti -1c .RI "static void \fBinitClass\fP (void)" .br .in -1c Static Public Member Functions inherited from \fBSoAction\fP .in +1c .ti -1c .RI "static void \fBinitClass\fP (void)" .br .ti -1c .RI "static void \fBinitClasses\fP (void)" .br .ti -1c .RI "static \fBSoType\fP \fBgetClassTypeId\fP (void)" .br .ti -1c .RI "static void \fBnullAction\fP (\fBSoAction\fP *action, \fBSoNode\fP *node)" .br .in -1c .SS "Protected Member Functions" .in +1c .ti -1c .RI "virtual const \fBSoEnabledElementsList\fP & \fBgetEnabledElements\fP (void) const" .br .ti -1c .RI "void \fBsetOutput\fP (\fBSoVectorOutput\fP *output)" .br .ti -1c .RI "virtual float \fBpixelsToUnits\fP (const int pixels)" .br .ti -1c .RI "virtual void \fBprintHeader\fP (void) const =0" .br .ti -1c .RI "virtual void \fBprintFooter\fP (void) const" .br .ti -1c .RI "virtual void \fBprintBackground\fP (void) const" .br .ti -1c .RI "virtual void \fBprintItem\fP (const SoVectorizeItem *item) const =0" .br .ti -1c .RI "virtual void \fBprintViewport\fP (void) const" .br .ti -1c .RI "\fBSbVec2f\fP \fBgetRotatedViewportStartpos\fP (void) const" .br .ti -1c .RI "\fBSbVec2f\fP \fBgetRotatedViewportSize\fP (void) const" .br .ti -1c .RI "const \fBSbBSPTree\fP & \fBgetBSPTree\fP (void) const" .br .in -1c Protected Member Functions inherited from \fBSoCallbackAction\fP .in +1c .ti -1c .RI "virtual void \fBbeginTraversal\fP (\fBSoNode\fP *node)" .br .in -1c Protected Member Functions inherited from \fBSoAction\fP .in +1c .ti -1c .RI "\fBSoAction\fP (void)" .br .ti -1c .RI "virtual void \fBendTraversal\fP (\fBSoNode\fP *node)" .br .ti -1c .RI "void \fBsetTerminated\fP (const SbBool flag)" .br .ti -1c .RI "virtual SbBool \fBshouldCompactPathList\fP (void) const" .br .in -1c .SS "Static Protected Member Functions" .in +1c .ti -1c .RI "static \fBSoEnabledElementsList\fP * \fBgetClassEnabledElements\fP (void)" .br .ti -1c .RI "static \fBSoActionMethodList\fP * \fBgetClassActionMethods\fP (void)" .br .in -1c Static Protected Member Functions inherited from \fBSoCallbackAction\fP .in +1c .ti -1c .RI "static \fBSoEnabledElementsList\fP * \fBgetClassEnabledElements\fP (void)" .br .ti -1c .RI "static \fBSoActionMethodList\fP * \fBgetClassActionMethods\fP (void)" .br .in -1c Static Protected Member Functions inherited from \fBSoAction\fP .in +1c .ti -1c .RI "static \fBSoEnabledElementsList\fP * \fBgetClassEnabledElements\fP (void)" .br .ti -1c .RI "static \fBSoActionMethodList\fP * \fBgetClassActionMethods\fP (void)" .br .in -1c .SS "Additional Inherited Members" Protected Attributes inherited from \fBSoAction\fP .in +1c .ti -1c .RI "\fBSoState\fP * \fBstate\fP" .br .ti -1c .RI "\fBSoActionMethodList\fP * \fBtraversalMethods\fP" .br .in -1c .SH "Detailed Description" .PP The \fBSoVectorizeAction\fP class is the base class for vectorizing Coin scene graphs\&. \fBSoVectorizeAction\fP will traverse the scene graph and convert all supported geometry into vectorized data\&. Subclasses can then use this data to produce vector files of different formats\&. .PP Currently supported geometry: .PP .PD 0 .IP "\(bu" 1 Triangles (polygons will be tessellated) .IP "\(bu" 1 Line segments .IP "\(bu" 1 Points (can be drawn as circles or squares) .IP "\(bu" 1 2D text .IP "\(bu" 1 3D text (will be converted to triangles) .IP "\(bu" 1 Images (from the \fBSoImage\fP node) .PP The geometry will be shaded based on the OpenGL shading model, so lights and material will affect the geometry in the same way as in a standard Coin viewer\&. Please note that neither transparency nor texture mapping is supported yet\&. .PP \fBSince\fP .RS 4 Coin 2\&.1 .PP TGS provides HardCopy support as a separate extension for TGS Inventor\&. .RE .PP .SH "Member Enumeration Documentation" .PP .SS "enum \fBSoVectorizeAction::DimensionUnit\fP" The unit used by the scene graph\&. .SS "enum \fBSoVectorizeAction::Orientation\fP" The drawing orientation\&. .SS "enum \fBSoVectorizeAction::PageSize\fP" The size of the destination page\&. .PP \fBEnumerator\fP .in +1c .TP \f(BIA0 \fP 841 x 1189 mm\&. .TP \f(BIA1 \fP 594 x 841 mm\&. .TP \f(BIA2 \fP 420 x 594 mm\&. .TP \f(BIA3 \fP 297 x 420 mm\&. .TP \f(BIA4 \fP 210 x 297 mm\&. .TP \f(BIA5 \fP 148 x 210 mm\&. .TP \f(BIA6 \fP 105 x 148 mm\&. .TP \f(BIA7 \fP 74 x 105 mm\&. .TP \f(BIA8 \fP 52 x 74 mm\&. .TP \f(BIA9 \fP 37 x 52 mm\&. .TP \f(BIA10 \fP 26 x 37 mm\&. .SS "enum \fBSoVectorizeAction::PointStyle\fP" Enumerates point rendering styles\&. .PP \fBEnumerator\fP .in +1c .TP \f(BICIRCLE \fP Render points as circles\&. .TP \f(BISQUARE \fP Render points as squares\&. .SH "Constructor & Destructor Documentation" .PP .SS "SoVectorizeAction::SoVectorizeAction (void )" Default constructor\&. .SS "SoVectorizeAction::~SoVectorizeAction ()\fR [virtual]\fP" Destructor\&. .SH "Member Function Documentation" .PP .SS "\fBSoType\fP SoVectorizeAction::getTypeId (void ) const\fR [virtual]\fP" Returns the type identification of an object derived from a class inheriting \fBSoAction\fP\&. This is used for runtime type checking and "downward" casting\&. .PP Reimplemented from \fBSoCallbackAction\fP\&. .PP Reimplemented in \fBSoVectorizePSAction\fP\&. .SS "\fBSoType\fP SoVectorizeAction::getClassTypeId (void )\fR [static]\fP" This static method returns the \fBSoType\fP object associated with objects of this class\&. .SS "void SoVectorizeAction::addMethod (const \fBSoType\fP type, SoActionMethod method)\fR [static]\fP" \fIThis API member is considered internal to the library, as it is not likely to be of interest to the application programmer\&.\fP .br .br .SS "void SoVectorizeAction::enableElement (const \fBSoType\fP type, const int stackindex)\fR [static]\fP" \fIThis API member is considered internal to the library, as it is not likely to be of interest to the application programmer\&.\fP .br .br .SS "const \fBSoEnabledElementsList\fP & SoVectorizeAction::getEnabledElements (void ) const\fR [protected]\fP, \fR [virtual]\fP" Returns list of enabled elements\&. .PP Reimplemented from \fBSoCallbackAction\fP\&. .PP Reimplemented in \fBSoVectorizePSAction\fP\&. .SS "\fBSoEnabledElementsList\fP * SoVectorizeAction::getClassEnabledElements (void )\fR [static]\fP, \fR [protected]\fP" 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\&. .br .SS "\fBSoActionMethodList\fP * SoVectorizeAction::getClassActionMethods (void )\fR [static]\fP, \fR [protected]\fP" 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\&. .br .SS "\fBSoVectorOutput\fP * SoVectorizeAction::getOutput (void ) const" Returns the \fBSoVectorOutput\fP class used by this action\&. The output is written to stdout by default, but you can change this by using \fBSoVectorOutput::openFile()\fP\&. .SS "void SoVectorizeAction::initClass (void )\fR [static]\fP" Initializes the runtime type system for this class, and sets up the enabled elements and action method list\&. .SS "void SoVectorizeAction::apply (\fBSoNode\fP * root)\fR [virtual]\fP" Applies the action to the scene graph rooted at \fIroot\fP\&. .PP Note that you should \fInot\fP apply an action to a node with a zero reference count\&. The behavior in that case is undefined\&. .PP Reimplemented from \fBSoAction\fP\&. .SS "void SoVectorizeAction::apply (\fBSoPath\fP * path)\fR [virtual]\fP" Applies the action to the parts of the graph defined by \fIpath\fP\&. .PP Note that an \fBSoPath\fP will also contain all nodes that may influence e\&.g\&. geometry nodes in the path\&. So for instance applying an \fBSoGLRenderAction\fP on an \fBSoPath\fP will render that path as expected in the view, where geometry will get its materials, textures, and other appearance settings correctly\&. .PP If the \fIpath\fP ends in an \fBSoGroup\fP node, the action will also traverse the tail node's children\&. .PP Reimplemented from \fBSoAction\fP\&. .SS "void SoVectorizeAction::apply (const \fBSoPathList\fP & pathlist, SbBool obeysrules = \fRFALSE\fP)\fR [virtual]\fP" Applies action to the graphs defined by \fIpathlist\fP\&. If \fIobeysrules\fP is set to \fRTRUE\fP, \fIpathlist\fP must obey the following four conditions (which is the case for path lists returned from search actions for non-group nodes and path lists returned from picking actions): .PP All paths must start at the same head node\&. All paths must be sorted in traversal order\&. The paths must be unique\&. No path can continue through the end point of another path\&. .PP \fBSee also\fP .RS 4 \fBSoAction::apply(SoPath * path)\fP .RE .PP .PP Reimplemented from \fBSoAction\fP\&. .SS "void SoVectorizeAction::beginPage (const \fBSbVec2f\fP & startpagepos, const \fBSbVec2f\fP & pagesize, \fBDimensionUnit\fP u = \fRMM\fP)\fR [virtual]\fP" Begin writing a page\&. This will write file header information and print background (if enabled) and border\&. .SS "void SoVectorizeAction::endPage (void )\fR [virtual]\fP" End page\&. This will write all remaining geometry, and write the file footer\&. .SS "void SoVectorizeAction::calibrate (const \fBSbViewportRegion\fP & vp)\fR [virtual]\fP" Will calibrate pixel based attributes (font size, line width, points size, etc) so that it will match OpenGL rendering done in \fIvp\fP\&. .PP \fBSee also\fP .RS 4 setPixelSize() .PP \fBsetNominalWidth()\fP .RE .PP .SS "void SoVectorizeAction::beginViewport (const \fBSbVec2f\fP & start = \fR\fBSbVec2f\fP(\-1\&.0f, 1\&.0f)\fP, const \fBSbVec2f\fP & size = \fR\fBSbVec2f\fP(\-1\&.0f, \-1\&.0f)\fP, \fBDimensionUnit\fP u = \fRMM\fP)\fR [virtual]\fP" Begin writing a viewport inside the current page\&. .PP \fBSee also\fP .RS 4 \fBbeginPage()\fP, \fBendViewport()\fP .RE .PP .SS "void SoVectorizeAction::endViewport (void )\fR [virtual]\fP" End writing a viewport\&. This will flush all vector items\&. .SS "void SoVectorizeAction::setOrientation (\fBOrientation\fP o)\fR [virtual]\fP" Sets the orientation to \fIo\fP\&. .SS "\fBSoVectorizeAction::Orientation\fP SoVectorizeAction::getOrientation (void ) const\fR [virtual]\fP" Returns the current orientation\&. .PP \fBSee also\fP .RS 4 \fBsetOrientation()\fP .RE .PP .SS "void SoVectorizeAction::setBackgroundColor (SbBool bg, const \fBSbColor\fP & col = \fR\fBSbColor\fP(0\&.0f, 0\&.0f, 0\&.0f)\fP)\fR [virtual]\fP" Sets the background color\&. If \fIbg\fP is \fIFALSE\fP, the background will not be cleared before rendering\&. If \fIbg\fP is \fITRUE\fP, the background will be cleared to \fIcol\fP before in \fBbeginPage()\fP\&. .SS "SbBool SoVectorizeAction::getBackgroundColor (\fBSbColor\fP & col) const\fR [virtual]\fP" Returns if the background will be cleared or not\&. When this function returns \fITRUE\fP, \fIcol\fP will be set to the background color\&. .SS "void SoVectorizeAction::setNominalWidth (float w, \fBDimensionUnit\fP u = \fRMM\fP)\fR [virtual]\fP" Sets how to convert pixel based attributes (line width and point size) to vector sizes\&. By default 1 pixel equals 0\&.35 mm\&. .PP \fBSee also\fP .RS 4 \fBcalibrate()\fP .RE .PP .SS "void SoVectorizeAction::setPixelImageSize (float w, \fBDimensionUnit\fP u = \fRMM\fP)\fR [virtual]\fP" Sets how the images and 2D fonts are converted\&. By default 1 pixel equals 0\&.35 mm\&. .PP \fBSee also\fP .RS 4 \fBcalibrate()\fP .RE .PP .SS "float SoVectorizeAction::getPixelImageSize (\fBDimensionUnit\fP u = \fRMM\fP) const\fR [virtual]\fP" Returns the pixel image size\&. .PP \fBSee also\fP .RS 4 \fBsetPixelImageSize()\fP .RE .PP .SS "void SoVectorizeAction::setPointStyle (const \fBPointStyle\fP & style)\fR [virtual]\fP" Sets the points rendering style\&. Default style is CIRCLE\&. .SS "\fBSoVectorizeAction::PointStyle\fP SoVectorizeAction::getPointStyle (void ) const\fR [virtual]\fP" Returns the points rendering style\&. .SS "const \fBSbVec2f\fP & SoVectorizeAction::getPageStartpos (void ) const" Returns the current page startpos\&. .SS "const \fBSbVec2f\fP & SoVectorizeAction::getPageSize (void ) const" Returns the current page size\&. .SS "void SoVectorizeAction::setDrawingDimensions (const \fBSbVec2f\fP & d, \fBDimensionUnit\fP u = \fRMM\fP)\fR [virtual]\fP" Sets the drawing dimensions\&. You can use this and \fBsetStartPosition()\fP instead of using \fBbeginViewport()\fP\&. Provided for TGS OIV compatibility\&. .PP \fBSee also\fP .RS 4 \fBbeginViewport()\fP .RE .PP .SS "\fBSbVec2f\fP SoVectorizeAction::getDrawingDimensions (\fBDimensionUnit\fP u = \fRMM\fP) const\fR [virtual]\fP" Returns the current drawing dimensions\&. .SS "void SoVectorizeAction::setStartPosition (const \fBSbVec2f\fP & p, \fBDimensionUnit\fP u = \fRMM\fP)\fR [virtual]\fP" Sets the drawing staring position\&. You can use this and \fBsetDrawingDimensions()\fP instead of using \fBbeginViewport()\fP\&. Provided for TGS OIV compatibility\&. .SS "\fBSbVec2f\fP SoVectorizeAction::getStartPosition (\fBDimensionUnit\fP u = \fRMM\fP) const\fR [virtual]\fP" Returns the current drawing starting position\&. .SS "void SoVectorizeAction::setColorTranslationMethod (ColorTranslationMethod method)\fR [virtual]\fP" Not implemented yet\&. Provided for TGS OIV compatibility\&. .SS "SoVectorizeAction::ColorTranslationMethod SoVectorizeAction::getColorTranslationMethod (void ) const\fR [virtual]\fP" Not implemented yet\&. Provided for TGS OIV compatibility\&. .SS "void SoVectorizeAction::setLineEndStyle (EndLineStyle style)\fR [virtual]\fP" Not implemented yet\&. Provided for TGS OIV compatibility\&. .SS "SoVectorizeAction::EndLineStyle SoVectorizeAction::getLineEndStyle (void ) const\fR [virtual]\fP" Not implemented yet\&. Provided for TGS OIV compatibility\&. .SS "void SoVectorizeAction::setLineJoinsStyle (JoinLineStyle style)\fR [virtual]\fP" Not implemented yet\&. Provided for TGS OIV compatibility\&. .SS "SoVectorizeAction::JoinLineStyle SoVectorizeAction::getLineJoinsStyle (void ) const\fR [virtual]\fP" Not implemented yet\&. Provided for TGS OIV compatibility\&. .SS "void SoVectorizeAction::setHLHSRMode (HLHSRMode mode)\fR [virtual]\fP" Not implemented yet\&. Provided for TGS OIV compatibility\&. .SS "SoVectorizeAction::HLHSRMode SoVectorizeAction::getHLHSRMode (void ) const" Not implemented yet\&. Provided for TGS OIV compatibility\&. .SS "void SoVectorizeAction::setBorder (float width)\fR [virtual]\fP" Not implemented yet\&. Provided for TGS OIV compatibility\&. .SS "void SoVectorizeAction::setBorder (float width, \fBSbColor\fP color)\fR [virtual]\fP" Not implemented yet\&. Provided for TGS OIV compatibility\&. .SS "void SoVectorizeAction::setMiterLimit (float limit)\fR [virtual]\fP" Not implemented yet\&. Provided for TGS OIV compatibility\&. .SS "void SoVectorizeAction::setPenDescription (int num_pens, const \fBSbColor\fP * colors = \fR0\fP, const float * widths = \fR0\fP, \fBDimensionUnit\fP u = \fRMM\fP)\fR [virtual]\fP" Not implemented yet\&. Provided for TGS OIV compatibility\&. .SS "void SoVectorizeAction::getPenDescription (\fBSbColor\fP * colors, float * widths, \fBDimensionUnit\fP u = \fRMM\fP) const\fR [virtual]\fP" Not implemented yet\&. Provided for TGS OIV compatibility\&. .SS "int SoVectorizeAction::getPenNum (void ) const\fR [virtual]\fP" Not implemented yet\&. Provided for TGS OIV compatibility\&. .SS "void SoVectorizeAction::setColorPriority (SbBool priority)\fR [virtual]\fP" Not implemented yet\&. Provided for TGS OIV compatibility\&. .SS "SbBool SoVectorizeAction::getColorPriority (void ) const\fR [virtual]\fP" Not implemented yet\&. Provided for TGS OIV compatibility\&. .SS "void SoVectorizeAction::enableLighting (SbBool flag)\fR [virtual]\fP" Not implemented yet\&. Provided for TGS OIV compatibility\&. .SS "SbBool SoVectorizeAction::isLightingEnabled (void ) const" Not implemented yet\&. Provided for TGS OIV compatibility\&. .SS "void SoVectorizeAction::setOutput (\fBSoVectorOutput\fP * output)\fR [protected]\fP" Should be used by subclasses to set the \fBSoVectorOutput\fP instance that should be used\&. .SS "float SoVectorizeAction::pixelsToUnits (const int pixels)\fR [protected]\fP, \fR [virtual]\fP" Converts pixels to normalized units\&. .SS "virtual void SoVectorizeAction::printHeader (void ) const\fR [protected]\fP, \fR [pure virtual]\fP" \fIThis API member is considered internal to the library, as it is not likely to be of interest to the application programmer\&.\fP .br .br .PP Implemented in \fBSoVectorizePSAction\fP\&. .SS "void SoVectorizeAction::printFooter (void ) const\fR [protected]\fP, \fR [virtual]\fP" \fIThis API member is considered internal to the library, as it is not likely to be of interest to the application programmer\&.\fP .br .br Should be overridden by subclasses to print file footer data\&. .PP Reimplemented in \fBSoVectorizePSAction\fP\&. .SS "void SoVectorizeAction::printBackground (void ) const\fR [protected]\fP, \fR [virtual]\fP" \fIThis API member is considered internal to the library, as it is not likely to be of interest to the application programmer\&.\fP .br .br Should be overridden by subclasses to print background data\&. .PP Reimplemented in \fBSoVectorizePSAction\fP\&. .SS "void SoVectorizeAction::printItem (const SoVectorizeItem * item) const\fR [protected]\fP, \fR [pure virtual]\fP" \fIThis API member is considered internal to the library, as it is not likely to be of interest to the application programmer\&.\fP .br .br Should be overridden by subclasses to print an item\&. .PP Implemented in \fBSoVectorizePSAction\fP\&. .SS "void SoVectorizeAction::printViewport (void ) const\fR [protected]\fP, \fR [virtual]\fP" \fIThis API member is considered internal to the library, as it is not likely to be of interest to the application programmer\&.\fP .br .br Should be overridden by subclasses to set up the current page viewport\&. .PP Reimplemented in \fBSoVectorizePSAction\fP\&. .SS "\fBSbVec2f\fP SoVectorizeAction::getRotatedViewportStartpos (void ) const\fR [protected]\fP" Convenience method for subclasses\&. Will return the viewport startpos, taking the orientation into account .SS "\fBSbVec2f\fP SoVectorizeAction::getRotatedViewportSize (void ) const\fR [protected]\fP" Convenience method for subclasses\&. Will return the viewport size, taking the orientation into account .SS "const \fBSbBSPTree\fP & SoVectorizeAction::getBSPTree (void ) const\fR [protected]\fP" Returns the bps tree used to store triangle and line vertices\&. .SH "Author" .PP Generated automatically by Doxygen for Coin from the source code\&.