SoVectorizeAction(3)
π SoVectorizeAction(3) π
okay bestie, welcome to the manual page for SoVectorizeAction(3). this is part 1 of 3, so don't go anywhere. we're about to get into the whole base class for vectorizing Coin scene graphs. it's giving main character energy, fr fr. π
bestie, this page is long, so it's split into parts. this is part 1. more parts are coming, so stay tuned. β¨
π NAME π
SoVectorizeAction β The SoVectorizeAction class is the base class for vectorizing Coin scene graphs. that's the name, bestie. simple. clean. iconic.
π SYNOPSIS π
#include <Inventor/annex/HardCopy/SoVectorizeAction.h>
Inherits SoCallbackAction.
Inherited by SoVectorizePSAction.
Public Types
enum DimensionUnit { INCH, MM, METER }β units, bestie. pick your fave.enum Orientation { PORTRAIT, LANDSCAPE }β page orientation, obvi.enum PageSize { A0 = 0, A1, A2, A3, A4, A5, A6, A7, A8, A9, A10 }β all the A sizes, from A0 to A10.enum PointStyle { CIRCLE, SQUARE }β points can be circles or squares.enum ColorTranslationMethod { REVERSE_ONLY_BLACK_AND_WHITE, AS_IS, REVERSE }β how to translate colors.enum JoinLineStyle { NO_JOIN, MITERED_JOIN, MITERED_BEVELED_JOIN, BEVELED_JOIN, TRIANGULAR_JOIN, ROUNDED_JOIN }β how lines join.enum EndLineStyle { BUTT_END, SQUARE_END, TRIANGULAR_END, ROUND_END }β how lines end.enum HLHSRMode { NO_HLHSR, HLHSR_SIMPLE_PAINTER, HLHSR_PAINTER, HLHSR_PAINTER_SURFACE_REMOVAL, HIDDEN_LINES_REMOVAL }β hidden line/hidden surface removal modes.
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 }
Public Member Functions
here's the whole squad of public member functions, bestie. they're all iconic in their own way. β¨
virtual SoType getTypeId (void) constSoVectorizeAction (void)virtual ~SoVectorizeAction ()SoVectorOutput * getOutput (void) constvirtual void apply (SoNode *node)virtual void apply (SoPath *path)virtual void apply (const SoPathList &pathlist, SbBool obeysrules=FALSE)void beginStandardPage (const PageSize &pagesize, const float border=10.0f)virtual void beginPage (const SbVec2f &startpagepos, const SbVec2f &pagesize, DimensionUnit u=MM)virtual void endPage (void)virtual void calibrate (const SbViewportRegion &vp)virtual void beginViewport (const SbVec2f &startpos=SbVec2f(-1.0f, 1.0f), const SbVec2f &size=SbVec2f(-1.0f, -1.0f), DimensionUnit u=MM)virtual void endViewport (void)virtual void setOrientation (Orientation o)virtual Orientation getOrientation (void) constvirtual void setBackgroundColor (SbBool bg, const SbColor &col=SbColor(0.0f, 0.0f, 0.0f))virtual SbBool getBackgroundColor (SbColor &col) constvirtual void setNominalWidth (float w, DimensionUnit u=MM)virtual float getNominalWidth (DimensionUnit u=MM) constvirtual void setPixelImageSize (float w, DimensionUnit u=MM)virtual float getPixelImageSize (DimensionUnit u=MM) constvirtual void setPointStyle (const PointStyle &style)virtual PointStyle getPointStyle (void) constconst SbVec2f & getPageStartpos (void) constconst SbVec2f & getPageSize (void) constvirtual void setDrawingDimensions (const SbVec2f &d, DimensionUnit u=MM)virtual void setDrawingDimensions (float w, float h, DimensionUnit u=MM)virtual SbVec2f getDrawingDimensions (DimensionUnit u=MM) constvirtual void setStartPosition (const SbVec2f &p, DimensionUnit u=MM)virtual void setStartPosition (float x, float y, DimensionUnit u=MM)virtual SbVec2f getStartPosition (DimensionUnit u=MM) constvirtual void setColorTranslationMethod (ColorTranslationMethod method)virtual ColorTranslationMethod getColorTranslationMethod (void) constvirtual void setLineEndStyle (EndLineStyle style)virtual EndLineStyle getLineEndStyle (void) constvirtual void setLineJoinsStyle (JoinLineStyle style)virtual JoinLineStyle getLineJoinsStyle (void) constvirtual void setHLHSRMode (HLHSRMode mode)HLHSRMode getHLHSRMode (void) constvirtual void setBorder (float width)virtual void setBorder (float width, SbColor color)virtual void setMiterLimit (float limit)virtual float getMiterLimit (void) constvirtual void setPenDescription (int num_pens, const SbColor *colors=0, const float *widths=0, DimensionUnit u=MM)virtual void getPenDescription (SbColor *colors, float *widths, DimensionUnit u=MM) constvirtual int getPenNum (void) constvirtual void setColorPriority (SbBool priority)virtual SbBool getColorPriority (void) constvirtual void enableLighting (SbBool flag)SbBool isLightingEnabled (void) const
Public Member Functions inherited from SoCallbackAction
SoCallbackAction (void)SoCallbackAction (const SbViewportRegion &vp)virtual ~SoCallbackAction (void)void setViewportRegion (const SbViewportRegion &vp)void addPreCallback (const SoType type, SoCallbackActionCB *cb, void *userdata)void addPostCallback (const SoType type, SoCallbackActionCB *cb, void *userdata)void addPreTailCallback (SoCallbackActionCB *cb, void *userdata)void addPostTailCallback (SoCallbackActionCB *cb, void *userdata)void addTriangleCallback (const SoType type, SoTriangleCB *cb, void *userdata)void addLineSegmentCallback (const SoType type, SoLineSegmentCB *cb, void *userdata)void addPointCallback (const SoType type, SoPointCB *cb, void *userdata)SoDecimationTypeElement::Type getDecimationType (void) constfloat getDecimationPercentage (void) constfloat getComplexity (void) constSoComplexity::Type getComplexityType (void) constint32_t getNumCoordinates (void) constconst SbVec3f & getCoordinate3 (const int index) constconst SbVec4f & getCoordinate4 (const int index) constSoDrawStyle::Style getDrawStyle (void) constunsigned short getLinePattern (void) constfloat getLineWidth (void) constfloat getPointSize (void) constconst SbName & getFontName (void) constfloat getFontSize (void) constSoLightModel::Model getLightModel (void) constconst SbVec3f & getLightAttenuation (void) constvoid getMaterial (SbColor &ambient, SbColor &diffuse, SbColor &specular, SbColor &emission, float &shininess, float &transparency, const int index=0) constSoMaterialBinding::Binding getMaterialBinding (void) constuint32_t getNumNormals (void) constconst SbVec3f & getNormal (const int index) constSoNormalBinding::Binding getNormalBinding (void) constint32_t getNumProfileCoordinates (void) constconst SbVec2f & getProfileCoordinate2 (const int index) constconst SbVec3f & getProfileCoordinate3 (const int index) constconst SoNodeList & getProfile (void) constSoShapeHints::VertexOrdering getVertexOrdering (void) constSoShapeHints::ShapeType getShapeType (void) constSoShapeHints::FaceType getFaceType (void) constfloat getCreaseAngle (void) constint32_t getNumTextureCoordinates (void) constconst SbVec2f & getTextureCoordinate2 (const int index) constconst SbVec3f & getTextureCoordinate3 (const int index) constconst SbVec4f & getTextureCoordinate4 (const int index) constSoTextureCoordinateBinding::Binding getTextureCoordinateBinding (void) constconst SbColor & getTextureBlendColor (void) constconst unsigned char * getTextureImage (SbVec2s &size, int &numcomps) constconst unsigned char * getTextureImage (SbVec3s &size, int &numcomps) constconst SbMatrix & getTextureMatrix (void) constSoTexture2::Model getTextureModel (void) constSoTexture2::Wrap getTextureWrapS (void) constSoTexture2::Wrap getTextureWrapT (void) constSoTexture2::Wrap getTextureWrapR (void) constconst SbMatrix & getModelMatrix (void) constSoUnits::Units getUnits (void) constfloat getFocalDistance (void) constconst SbMatrix & getProjectionMatrix (void) constconst SbMatrix & getViewingMatrix (void) constconst SbViewVolume & getViewVolume (void) constconst SbViewportRegion & getViewportRegion (void) constSoPickStyle::Style getPickStyle (void) constint32_t getSwitch (void) constResponse getCurrentResponse (void) constvoid invokePreCallbacks (const SoNode *const node)void invokePostCallbacks (const SoNode *const node)void invokeTriangleCallbacks (const SoShape *const shape, const SoPrimitiveVertex *const v1, const SoPrimitiveVertex *const v2, const SoPrimitiveVertex *const v3)void invokeLineSegmentCallbacks (const SoShape *const shape, const SoPrimitiveVertex *const v1, const SoPrimitiveVertex *const v2)void invokePointCallbacks (const SoShape *const shape, const SoPrimitiveVertex *const v)SbBool shouldGeneratePrimitives (const SoShape *shape) constvirtual SoNode * getCurPathTail (void)void setCurrentNode (SoNode *const node)void setCallbackAll (SbBool callbackall)SbBool isCallbackAll (void) const
Public Member Functions inherited from SoAction
virtual ~SoAction (void)virtual SbBool isOfType (SoType type) constvoid apply (SoAction *beingApplied)virtual void invalidateState (void)AppliedCode getWhatAppliedTo (void) constSoNode * getNodeAppliedTo (void) constSoPath * getPathAppliedTo (void) constconst SoPathList * getPathListAppliedTo (void) constconst SoPathList * getOriginalPathListAppliedTo (void) constSbBool isLastPathListAppliedTo (void) constPathCode getPathCode (int &numindices, const int *&indices)void traverse (SoNode *const node)SbBool hasTerminated (void) constconst SoPath * getCurPath (void)SoState * getState (void) constPathCode getCurPathCode (void) constvoid usePathCode (int &numindices, const int *&indices)void pushCurPath (const int childindex, SoNode *node=NULL)void popCurPath (const PathCode prevpathcode)void pushCurPath (void)void popPushCurPath (const int childindex, SoNode *node=NULL)void popCurPath (void)void switchToPathTraversal (SoPath *path)void switchToNodeTraversal (SoNode *node)
Static Public Member Functions
static SoType getClassTypeId (void)static void addMethod (const SoType type, SoActionMethod method)static void enableElement (const SoType type, const int stackindex)static void initClass (void)
Static Public Member Functions inherited from SoCallbackAction
static SoType getClassTypeId (void)static void addMethod (const SoType type, SoActionMethod method)static void enableElement (const SoType type, const int stackindex)static void initClass (void)
Static Public Member Functions inherited from SoAction
static void initClass (void)static void initClasses (void)static SoType getClassTypeId (void)static void nullAction (SoAction *action, SoNode *node)
Protected Member Functions
virtual const SoEnabledElementsList & getEnabledElements (void) constvoid setOutput (SoVectorOutput *output)virtual float pixelsToUnits (const int pixels)virtual void printHeader (void) const =0virtual void printFooter (void) constvirtual void printBackground (void) constvirtual void printItem (const SoVectorizeItem *item) const =0virtual void printViewport (void) constSbVec2f getRotatedViewportStartpos (void) constSbVec2f getRotatedViewportSize (void) constconst SbBSPTree & getBSPTree (void) const
π«Ά Protected Member Functions inherited from SoCallbackAction
virtual void beginTraversal(SoNode *node)β inherited, listed here with no extra lore attached. Bestie, we just name it and move on. π
π¦ Protected Member Functions inherited from SoAction
SoAction(void)β inherited constructor, name only.virtual void endTraversal(SoNode *node)β inherited, as-is.void setTerminated(const SbBool flag)β inherited, as-is.virtual SbBool shouldCompactPathList(void) constβ inherited, as-is.
β¨ Static Protected Member Functions
static SoEnabledElementsList * getClassEnabledElements(void)β static, protected, listed here with nothing else said about it. π«Άstatic SoActionMethodList * getClassActionMethods(void)β same energy, same deal.
π§ Static Protected Member Functions inherited from SoCallbackAction
static SoEnabledElementsList * getClassEnabledElements(void)static SoActionMethodList * getClassActionMethods(void)
π§ Static Protected Member Functions inherited from SoAction
static SoEnabledElementsList * getClassEnabledElements(void)static SoActionMethodList * getClassActionMethods(void)
π Additional Inherited Members
Protected Attributes inherited from SoAction
SoState * stateSoActionMethodList * traversalMethods
π Detailed Description π
The SoVectorizeAction class is the base class for vectorizing Coin scene graphs. No cap. π
SoVectorizeAction 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. It's giving pipeline, and honestly? Iconic. β¨
Currently supported geometry:
- Triangles (polygons will be tessellated) πΊ
- Line segments
- Points (can be drawn as circles or squares)
- 2D text
- 3D text (will be converted to triangles)
- Images (from the
SoImagenode)
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. π It's just not there yet, bestie, and we're being honest about it.
π Since
Coin 2.1
TGS provides HardCopy support as a separate extension for TGS Inventor.
π Member Enumeration Documentation π
enum SoVectorizeAction::DimensionUnit
The unit used by the scene graph.
enum SoVectorizeAction::Orientation
The drawing orientation.
enum SoVectorizeAction::PageSize
The size of the destination page.
Enumerator
A0β 841 x 1189 mm.A1β 594 x 841 mm.A2β 420 x 594 mm.A3β 297 x 420 mm.A4β 210 x 297 mm.A5β 148 x 210 mm.A6β 105 x 148 mm.A7β 74 x 105 mm.A8β 52 x 74 mm.A9β 37 x 52 mm.A10β 26 x 37 mm.
enum SoVectorizeAction::PointStyle
Enumerates point rendering styles. β¨
Enumerator
CIRCLEβ Render points as circles.SQUAREβ Render points as squares.
πΈ Constructor & Destructor Documentation πΈ
SoVectorizeAction::SoVectorizeAction(void)
Default constructor. The classic. The blueprint. π«Ά
SoVectorizeAction::~SoVectorizeAction() [virtual]
Destructor. Saying goodbye, but make it virtual. π
β¨ Member Function Documentation β¨
SoType SoVectorizeAction::getTypeId(void) const [virtual]
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 SoCallbackAction.
Reimplemented in SoVectorizePSAction.
SoType SoVectorizeAction::getClassTypeId(void) [static]
This static method returns the SoType object associated with objects of this class. Static girlies stay winning. β
void SoVectorizeAction::addMethod(const SoType type, SoActionMethod method) [static]
This API member is considered internal to the library, as it is not likely to be of interest to the application programmer. So likeβ¦ not your business, respectfully. π
void SoVectorizeAction::enableElement(const SoType type, const int stackindex) [static]
This API member is considered internal to the library, as it is not likely to be of interest to the application programmer. Same warning, same vibe. π
const SoEnabledElementsList & SoVectorizeAction::getEnabledElements(void) const [protected], [virtual]
Returns list of enabled elements.
Reimplemented from SoCallbackAction.
Reimplemented in SoVectorizePSAction.
SoEnabledElementsList * SoVectorizeAction::getClassEnabledElements(void) [static], [protected]
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.
π Not me reading "exposed static class member variables" and feeling that Win32 DLL pain in my soul.
SoActionMethodList * SoVectorizeAction::getClassActionMethods(void) [static], [protected]
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.
SoVectorOutput * SoVectorizeAction::getOutput(void) const
Returns the SoVectorOutput class used by this action. The output is written to stdout by default, but you can change this by using SoVectorOutput::openFile(). Default stdout is lowkey the moment. π
void SoVectorizeAction::initClass(void) [static]
Initializes the runtime type system for this class, and sets up the enabled elements and action method list. Class initialization era. π
void SoVectorizeAction::apply(SoNode * root) [virtual]
Applies the action to the scene graph rooted at root.
β οΈ Note that you should not apply an action to a node with a zero reference count. The behavior in that case is undefined. Fr fr, do not do it.
Reimplemented from SoAction.
void SoVectorizeAction::apply(SoPath * path) [virtual]
Applies the action to the parts of the graph defined by path.
Note that an SoPath will also contain all nodes that may influence e.g. geometry nodes in the path. So for instance applying an SoGLRenderAction on an SoPath will render that path as expected in the view, where geometry will get its materials, textures, and other appearance settings correctly.
If the path ends in an SoGroup node, the action will also traverse the tail node's children. π
Reimplemented from SoAction.
void SoVectorizeAction::apply(const SoPathList & pathlist, SbBool obeysrules = FALSE) [virtual]
Applies action to the graphs defined by pathlist. If obeysrules is set to TRUE, pathlist 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):
- 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.
π See also: SoAction::apply(SoPath * path)
Reimplemented from SoAction.
void SoVectorizeAction::beginPage(const SbVec2f & startpagepos, const SbVec2f & pagesize, DimensionUnit u = MM) [virtual]
Begin writing a page. This will write file header information and print background (if enabled) and border. Page-opening moment, slay. π
void SoVectorizeAction::endPage(void) [virtual]
End page. This will write all remaining geometry, and write the file footer. Closing the chapter, bestie. π
void SoVectorizeAction::calibrate(const SbViewportRegion & vp) [virtual]
Will calibrate pixel based attributes (font size, line width, points size, etc) so that it will match OpenGL rendering done in vp.
π See also:setPixelSize(),setNominalWidth()
void SoVectorizeAction::beginViewport(const SbVec2f & start = SbVec2f(-1.0f, 1.0f), const SbVec2f & size = SbVec2f(-1.0f, -1.0f), DimensionUnit u = MM) [virtual]
Begin writing a viewport inside the current page.
π See also:beginPage(),endViewport()
void SoVectorizeAction::endViewport(void) [virtual]
End writing a viewport. This will flush all vector items. π
void SoVectorizeAction::setOrientation(Orientation o) [virtual]
Sets the orientation to o.
SoVectorizeAction::Orientation SoVectorizeAction::getOrientation(void) const [virtual]
Returns the current orientation.
π See also: setOrientation()
void SoVectorizeAction::setBackgroundColor(SbBool bg, const SbColor & col = SbColor(0.0f, 0.0f, 0.0f)) [virtual]
Sets the background color. If bg is FALSE, the background will not be cleared before rendering. If bg is TRUE, the background will be cleared to col before in beginPage(). Background check: passed. β¨
SbBool SoVectorizeAction::getBackgroundColor(SbColor & col) const [virtual]
Returns if the background will be cleared or not. When this function returns TRUE, col will be set to the background color.
void SoVectorizeAction::setNominalWidth(float w, DimensionUnit u = MM) [virtual]
Sets how to convert pixel based attributes (line width and point size) to vector sizes. By default 1 pixel equals 0.35 mm.
π See also: calibrate()
void SoVectorizeAction::setPixelImageSize(float w, DimensionUnit u = MM) [virtual]
Sets how the images and 2D fonts are converted. By default 1 pixel equals 0.35 mm.
π See also: calibrate()
float SoVectorizeAction::getPixelImageSize(DimensionUnit u = MM) const [virtual]
Returns the pixel image size.
π See also: setPixelImageSize()
void SoVectorizeAction::setPointStyle(const PointStyle & style) [virtual]
Sets the points rendering style. Default style is CIRCLE. π
SoVectorizeAction::PointStyle SoVectorizeAction::getPointStyle(void) const [virtual]
Returns the points rendering style.
const SbVec2f & SoVectorizeAction::getPageStartpos(void) const
Returns the current page startpos.
const SbVec2f & SoVectorizeAction::getPageSize(void) const
Returns the current page size.
void SoVectorizeAction::setDrawingDimensions(const SbVec2f & d, DimensionUnit u = MM) [virtual]
Sets the drawing dimensions. You can use this and setStartPosition() instead of using beginViewport(). Provided for TGS OIV compatibility. π«Ά
See also: beginViewport() β¨
πΌοΈ viewport & position girlies
SbVec2f SoVectorizeAction::getDrawingDimensions (DimensionUnit u = MM) const[virtual]β hands you the current drawing dimensions, in whatever unit you pass as u. πvoid SoVectorizeAction::setStartPosition (const SbVec2f & p, DimensionUnit u = MM)[virtual]β sets where the drawing starts. bestie, you can use this one plussetDrawingDimensions()instead of messing withbeginViewport(). it's there for TGS OIV compatibility π«ΆSbVec2f SoVectorizeAction::getStartPosition (DimensionUnit u = MM) const[virtual]β gives you back the current drawing starting position. that's it, that's the function πΈ
π the "not implemented yet" squad (TGS OIV compatibility era)
ngl these are all placeholders. every single one of them says not implemented yet and is provided for TGS OIV compatibility. do not expect them to do the thing. π
void SoVectorizeAction::setColorTranslationMethod (ColorTranslationMethod method)[virtual]β Not implemented yet. Provided for TGS OIV compatibility.SoVectorizeAction::ColorTranslationMethod SoVectorizeAction::getColorTranslationMethod (void ) const[virtual]β Not implemented yet. Provided for TGS OIV compatibility.void SoVectorizeAction::setLineEndStyle (EndLineStyle style)[virtual]β Not implemented yet. Provided for TGS OIV compatibility.SoVectorizeAction::EndLineStyle SoVectorizeAction::getLineEndStyle (void ) const[virtual]β Not implemented yet. Provided for TGS OIV compatibility.void SoVectorizeAction::setLineJoinsStyle (JoinLineStyle style)[virtual]β Not implemented yet. Provided for TGS OIV compatibility.SoVectorizeAction::JoinLineStyle SoVectorizeAction::getLineJoinsStyle (void ) const[virtual]β Not implemented yet. Provided for TGS OIV compatibility.void SoVectorizeAction::setHLHSRMode (HLHSRMode mode)[virtual]β Not implemented yet. Provided for TGS OIV compatibility.SoVectorizeAction::HLHSRMode SoVectorizeAction::getHLHSRMode (void ) constβ Not implemented yet. Provided for TGS OIV compatibility.void SoVectorizeAction::setBorder (float width)[virtual]β Not implemented yet. Provided for TGS OIV compatibility.void SoVectorizeAction::setBorder (float width, SbColor color)[virtual]β yeah there's an overload, and yeah, it's also Not implemented yet. Provided for TGS OIV compatibility. πvoid SoVectorizeAction::setMiterLimit (float limit)[virtual]β Not implemented yet. Provided for TGS OIV compatibility.void SoVectorizeAction::setPenDescription (int num_pens, const SbColor * colors = 0, const float * widths = 0, DimensionUnit u = MM)[virtual]β Not implemented yet. Provided for TGS OIV compatibility.void SoVectorizeAction::getPenDescription (SbColor * colors, float * widths, DimensionUnit u = MM) const[virtual]β Not implemented yet. Provided for TGS OIV compatibility.int SoVectorizeAction::getPenNum (void ) const[virtual]β Not implemented yet. Provided for TGS OIV compatibility.void SoVectorizeAction::setColorPriority (SbBool priority)[virtual]β Not implemented yet. Provided for TGS OIV compatibility.SbBool SoVectorizeAction::getColorPriority (void ) const[virtual]β Not implemented yet. Provided for TGS OIV compatibility.void SoVectorizeAction::enableLighting (SbBool flag)[virtual]β Not implemented yet. Provided for TGS OIV compatibility.SbBool SoVectorizeAction::isLightingEnabled (void ) constβ Not implemented yet. Provided for TGS OIV compatibility.
π οΈ protected member function docs (subclass-only zone, iykyk)
void SoVectorizeAction::setOutput (SoVectorOutput * output)[protected]β this is the one subclasses call to say "here's theSoVectorOutputinstance you should be using". πfloat SoVectorizeAction::pixelsToUnits (const int pixels)[protected],[virtual]β converts pixels into normalized units. math girlie behavior βvirtual void SoVectorizeAction::printHeader (void ) const[protected],[pure virtual]β this API member is considered internal to the library, since it's not likely to be of interest to the application programmer. Implemented inSoVectorizePSAction.void SoVectorizeAction::printFooter (void ) const[protected],[virtual]β also internal to the library, not likely to be interesting to app programmers. it should be overridden by subclasses to print file footer data. Reimplemented inSoVectorizePSAction.void SoVectorizeAction::printBackground (void ) const[protected],[virtual]β internal to the library, not likely to be of interest to the application programmer. it should be overridden by subclasses to print background data. Reimplemented inSoVectorizePSAction.void SoVectorizeAction::printItem (const SoVectorizeItem * item) const[protected],[pure virtual]β internal to the library, not likely to be of interest to the application programmer. it should be overridden by subclasses to print an item. Implemented inSoVectorizePSAction.void SoVectorizeAction::printViewport (void ) const[protected],[virtual]β internal to the library, not likely to be of interest to the application programmer. it should be overridden by subclasses to set up the current page viewport. Reimplemented inSoVectorizePSAction.SbVec2f SoVectorizeAction::getRotatedViewportStartpos (void ) const[protected]β a lil convenience method for subclasses π it returns the viewport startpos, taking the orientation into account.SbVec2f SoVectorizeAction::getRotatedViewportSize (void ) const[protected]β another convenience method for subclasses π¦ it returns the viewport size, taking the orientation into account.const SbBSPTree & SoVectorizeAction::getBSPTree (void ) const[protected]β returns the BSP tree that stores all the triangle and line vertices. the backbone of the whole operation, honestly π
π Author
Generated automatically by Doxygen for Coin from the source code. no thoughts, just vibes, and also a documentation generator π§
okay bestie that's the whole page!! π every last flag, class, and "not implemented yet" accounted for. this one's Version 4.0.10, dated Thu Jun 25 2026 00:00:00, and the page itself is SoVectorizeAction(3) β go forth and vectorize, you absolute icon πβ¨ periodt π
π¦ where this page comes from
- fedora 43: Coin4-devel 4.0.10-1.fc43 Β· BSD-3-Clause AND GPL-3.0-or-later
- fedora 43: Coin4-devel 4.0.10-1.fc43 Β· BSD-3-Clause AND GPL-3.0-or-later
- fedora 44: Coin4-devel 4.0.10-1.fc44 Β· BSD-3-Clause AND GPL-3.0-or-later
- fedora 44: Coin4-devel 4.0.10-1.fc44 Β· BSD-3-Clause AND GPL-3.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms