SoVectorizeAction(3)
โจ NAME โจ
okay so this is SoVectorizeAction(3), straight out of the Library Functions Manual, and she is the moment ๐
SoVectorizeAction is the base class for vectorizing Coin scene graphs. That's it, that's the whole job description. She's the blueprint bestie, the mother of the operation โ the actual working girls inherit from her (spoiler: SoVectorizePSAction does ๐).
๐ SYNOPSIS ๐
#include <HardCopy/SoVectorizeAction.h>
- Inherits
SoCallbackAction๐ซถ - Inherited by
SoVectorizePSAction๐
๐ PUBLIC TYPES ๐
okay so these are the enums she walks in with, no cap:
enum DimensionUnit { INCH, MM, METER }โ three unit choices, pick your fighter ๐ซenum Orientation { PORTRAIT, LANDSCAPE }โ the classic page-vibe duality ๐ธenum PageSize { A0 = 0, A1, A2, A3, A4, A5, A6, A7, A8, A9, A10 }โ the whole A-list, fromA0 = 0all the way down toA10, she really said "every size is valid" ๐enum PointStyle { CIRCLE, SQUARE }โ dots, but make it a choice โจenum ColorTranslationMethod { REVERSE_ONLY_BLACK_AND_WHITE, AS_IS, REVERSE }โ literally the three ways to handle color translation, no notes ๐ฅenum JoinLineStyle { NO_JOIN, MITERED_JOIN, MITERED_BEVELED_JOIN, BEVELED_JOIN, TRIANGULAR_JOIN, ROUNDED_JOIN }โ six whole ways for lines to meet at a corner, and every single one of them ate ๐enum EndLineStyle { BUTT_END, SQUARE_END, TRIANGULAR_END, ROUND_END }โ how a line says goodbye, four flavors ๐ฆenum HLHSRMode { NO_HLHSR, HLHSR_SIMPLE_PAINTER, HLHSR_PAINTER, HLHSR_PAINTER_SURFACE_REMOVAL, HIDDEN_LINES_REMOVAL }โ the hidden line / hidden surface removal menu, and yes she brought the whole thing ๐ง
๐ซถ 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 ๐ธ
okay bestie, deep breath, this is the big one. Every single one of these is here, I did not skip a single icon:
virtual SoType getTypeId (void) constโ tells you who she is at runtime, main character identification โจSoVectorizeAction (void)โ the constructor, she's born ๐virtual ~SoVectorizeAction ()โ the destructor, she says bye ๐ญSoVectorOutput * getOutput (void) constโ hands you back theSoVectorOutput *, she's generous like that ๐virtual void apply (SoNode *node)โ run it on a nodevirtual void apply (SoPath *path)โ run it on a pathvirtual void apply (const SoPathList &pathlist, SbBool obeysrules=FALSE)โ run it on a whole path list, and note theobeysrulesdefault isFALSE๐void beginStandardPage (const PageSize &pagesize, const float border=10.0f)โ standard page time,borderdefaults to10.0f๐virtual void beginPage (const SbVec2f &startpagepos, const SbVec2f &pagesize, DimensionUnit u=MM)โ starts a page, unit defaults toMMvirtual void endPage (void)โ page over, that's a wrap ๐virtual void calibrate (const SbViewportRegion &vp)โ calibration momentvirtual void beginViewport (const SbVec2f &startpos=SbVec2f(-1.0f, 1.0f), const SbVec2f &size=SbVec2f(-1.0f, -1.0f), DimensionUnit u=MM)โ starts a viewport, and look at those defaults:startposisSbVec2f(-1.0f, 1.0f),sizeisSbVec2f(-1.0f, -1.0f),uisMM๐virtual void endViewport (void)โ viewport's done, bye girl ๐ฆvirtual void setOrientation (Orientation o)โ sets the orientationvirtual Orientation getOrientation (void) constโ reads the orientation backvirtual void setBackgroundColor (SbBool bg, const SbColor &col=SbColor(0.0f, 0.0f, 0.0f))โ background color setter, default color isSbColor(0.0f, 0.0f, 0.0f)๐ธvirtual SbBool getBackgroundColor (SbColor &col) constโ asks about the background color viacolvirtual void setNominalWidth (float w, DimensionUnit u=MM)โ sets nominal width,udefaults toMMvirtual float getNominalWidth (DimensionUnit u=MM) constโ gets nominal width,udefaults toMMvirtual void setPixelImageSize (float w, DimensionUnit u=MM)โ pixel image size setter,udefaults toMMvirtual float getPixelImageSize (DimensionUnit u=MM) constโ pixel image size getter,udefaults toMMvirtual void setPointStyle (const PointStyle &style)โ sets the point stylevirtual PointStyle getPointStyle (void) constโ gets the point styleconst SbVec2f & getPageStartpos (void) constโ gives you the page start position, by reference ๐ซถconst SbVec2f & getPageSize (void) constโ gives you the page size, also by referencevirtual void setDrawingDimensions (const SbVec2f &d, DimensionUnit u=MM)โ drawing dimensions from anSbVec2f,udefaults toMMvirtual void setDrawingDimensions (float w, float h, DimensionUnit u=MM)โ drawing dimensions fromwandh,udefaults toMMvirtual SbVec2f getDrawingDimensions (DimensionUnit u=MM) constโ gets drawing dimensions,udefaults toMMvirtual void setStartPosition (const SbVec2f &p, DimensionUnit u=MM)โ start position from anSbVec2f,udefaults toMMvirtual void setStartPosition (float x, float y, DimensionUnit u=MM)โ start position fromxandy,udefaults toMMvirtual SbVec2f getStartPosition (DimensionUnit u=MM) constโ gets the start position,udefaults toMMvirtual void setColorTranslationMethod (ColorTranslationMethod method)โ sets the color translation methodvirtual ColorTranslationMethod getColorTranslationMethod (void) constโ gets the color translation methodvirtual void setLineEndStyle (EndLineStyle style)โ sets the line end stylevirtual EndLineStyle getLineEndStyle (void) constโ gets the line end stylevirtual void setLineJoinsStyle (JoinLineStyle style)โ sets the line joins style (yes, "Joins", that's her name, we respect it ๐ )virtual JoinLineStyle getLineJoinsStyle (void) constโ gets the line joins stylevirtual void setHLHSRMode (HLHSRMode mode)โ sets the HLHSR modeHLHSRMode getHLHSRMode (void) constโ gets the HLHSR mode, and note she's not virtual, okurrr ๐virtual void setBorder (float width)โ sets the border widthvirtual void setBorder (float width, SbColor color)โ sets the border width and the color, overachiever โจvirtual void setMiterLimit (float limit)โ sets the miter limitvirtual float getMiterLimit (void) constโ gets the miter limitvirtual void setPenDescription (int num_pens, const SbColor *colors=0, const float *widths=0, DimensionUnit u=MM)โ pen description time:num_penspens,colorsdefaults to0,widthsdefaults to0,udefaults toMM๐๏ธvirtual void getPenDescription (SbColor *colors, float *widths, DimensionUnit u=MM) constโ reads the pen description back out intocolorsandwidths,udefaults toMMvirtual int getPenNum (void) constโ how many pens, bestie? this tells you ๐ฅvirtual void setColorPriority (SbBool priority)โ sets color priorityvirtual SbBool getColorPriority (void) constโ gets color priorityvirtual void enableLighting (SbBool flag)โ flips lighting on or off withflagSbBool isLightingEnabled (void) constโ checks if lighting is enabled
๐ 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 ๐
the ones you can call without even having an instance, iconic behavior tbh:
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 ๐ซถ
the backstage crew, for the subclasses and the brave:
virtual const SoEnabledElementsList & getEnabledElements (void) constvoid setOutput (SoVectorOutput *output)virtual float pixelsToUnits (const int pixels)virtual void printHeader (void) const =0โ pure virtual, so the kids have to implement her, no skipping ๐virtual void printFooter (void) constvirtual void printBackground (void) constvirtual void printItem (const SoVectorizeItem *item) const =0โ also pure virtual, also mandatory, also iconic ๐ฅvirtual 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)โ the hook that fires when traversal kicks off on a node.
๐ซถ Protected Member Functions inherited from SoAction ๐ซถ
SoAction(void)โ constructor, protected vibes only.virtual void endTraversal(SoNode *node)โ called when traversal wraps up on a node.void setTerminated(const SbBool flag)โ flips the terminated flag, bestie.virtual SbBool shouldCompactPathList(void) constโ decides if the path list should get compacted.
โจ Static Protected Member Functions โจ
static SoEnabledElementsList * getClassEnabledElements(void)โ returns the class's enabled elements list.static SoActionMethodList * getClassActionMethods(void)โ returns the class's action methods list.
๐ 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. Periodt.
So like, SoVectorizeAction will traverse the scene graph and convert all supported geometry into vectorized data. Then subclasses can take that data and produce vector files in whatever different formats they want. It's giving pipeline energy. ๐
Currently supported geometry, bestie:
- Triangles (and polygons will be tessellated, no cap)
- 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. Obsessed with consistency. โจ
Heads up though: neither transparency nor texture mapping is supported yet. Like, at all. ๐ญ
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. That's it, that's the whole thing.
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. Lil menu of point vibes.
Enumerator
CIRCLEโ render points as circles.SQUAREโ render points as squares.
๐ Constructor & Destructor Documentation ๐
SoVectorizeAction::SoVectorizeAction(void)
Default constructor. Does exactly what it says on the tin. ๐ซถ
SoVectorizeAction::~SoVectorizeAction() [virtual]
Destructor. Say bye bestie. ๐
โญ Member Function Documentation โญ
SoType SoVectorizeAction::getTypeId(void) const [virtual]
Returns the type identification of an action derived from a class inheriting SoAction. This is used for run-time type checking and "downward" casting. iykyk.
Usage example, literally verbatim:
void bar(SoAction * action)
{
if (action->getTypeId() == SoGLRenderAction::getClassTypeId()) {
// safe downward cast, know the type
SoGLRenderAction * glrender = (SoGLRenderAction *)action;
}
return; // ignore if not renderaction
}
For application programmers wanting to extend the library with new actions: this method needs to be overridden in all subclasses. This is typically done as part of setting up the full type system for extension classes, which is usually accomplished by using the pre-defined macros available through Inventor/nodes/SoSubAction.h: SO_ACTION_SOURCE, SO_ACTION_INIT_CLASS and SO_ACTION_CONSTRUCTOR.
For more information on writing Coin extensions, see the SoAction class documentation.
Returns the actual type id of an object derived from a class inheriting SoAction. Needs to be overridden in all subclasses.
Reimplemented from SoCallbackAction.
Reimplemented in SoVectorizePSAction.
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. Move along, nothing for you here. ๐
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 deal, bestie.
const SoEnabledElementsList & SoVectorizeAction::getEnabledElements(void) const [protected], [virtual]
Returns a list of the elements used by action instances of this class upon traversal operations.
Reimplemented from SoCallbackAction.
Reimplemented in SoVectorizePSAction.
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(). Iconic lil default ngl.
void SoVectorizeAction::apply(SoNode * root) [virtual]
Applies the action to the scene graph rooted at root.
Note: you should not apply an action to a node with a zero reference count. The behavior in that case is undefined. Like, 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. Sneaky but valid. ๐
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. New page, who dis. โจ
void SoVectorizeAction::endPage(void) [virtual]
End page. This will write all remaining geometry, and write the file footer. Wrap it up 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. Matching energy, we love to see it.
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. Cleanup time. ๐งน
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(). Pick your fighter. ๐
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()
SbVec2f SoVectorizeAction::getDrawingDimensions (DimensionUnit u = MM) const[virtual] โ hands you the current drawing dimensions, bestie. That's the tea. โจvoid SoVectorizeAction::setStartPosition (const SbVec2f & p, DimensionUnit u = MM)[virtual] โ sets the drawing staring position. You can lowkey use this +setDrawingDimensions()instead of bothering withbeginViewport(). Provided for TGS OIV compatibility. ๐ซถSbVec2f SoVectorizeAction::getStartPosition (DimensionUnit u = MM) const[virtual] โ gives you back the current drawing starting position, no cap. ๐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] โ 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. ๐
okay so like half of those are just vibes and promises, but the rest are the real ones ๐
void SoVectorizeAction::setOutput (SoVectorOutput * output)[protected] โ should be used by subclasses to set theSoVectorOutputinstance that should be used. ๐float SoVectorizeAction::pixelsToUnits (const int pixels)[protected], [virtual] โ converts pixels to normalized units. math girlie behaviour fr fr. ๐งฎvirtual void SoVectorizeAction::printHeader (void ) const[protected], [pure virtual] โ this API member is considered internal to the library, as it is not likely to be of interest to the application programmer.
Implemented in SoVectorizePSAction.
void SoVectorizeAction::printFooter (void ) const[protected], [virtual] โ 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 in SoVectorizePSAction.
void SoVectorizeAction::printBackground (void ) const[protected], [virtual] โ 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 in SoVectorizePSAction.
void SoVectorizeAction::printItem (const SoVectorizeItem * item) const[protected], [pure virtual] โ 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. Implemented in SoVectorizePSAction.
void SoVectorizeAction::printViewport (void ) const[protected], [virtual] โ 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 in SoVectorizePSAction.
SbVec2f SoVectorizeAction::getRotatedViewportStartpos (void ) const[protected] โ convenience method for subclasses. Will return the viewport startpos, taking the orientation into account. rotating the whole thing? iconic. ๐SbVec2f SoVectorizeAction::getRotatedViewportSize (void ) const[protected] โ convenience method for subclasses. Will return the viewport size, taking the orientation into account. ๐const SbBSPTree & SoVectorizeAction::getBSPTree (void ) const[protected] โ returns the bps tree used to store triangle and line vertices. ๐ณ (yes bestie, it says bps, we don't make the rules, we just print them ๐ )
โ๏ธ Author
Generated automatically by Doxygen for Coin from the source code. the machines wrote this one, we just gave it a makeover ๐
and that's a wrap on SoVectorizeAction(3), bestie!! ๐ This lil beauty came to you from the Coin source, Version 3.1.3, and honestly? slay. go forth and vectorize responsibly. ๐ฆโจ
๐ฆ where this page comes from
- fedora 43: Coin3-devel 3.1.3-40.fc43 ยท GPL-2.0-only
- fedora 43: Coin3-devel 3.1.3-40.fc43 ยท GPL-2.0-only
- fedora 44: Coin3-devel 3.1.3-42.fc44 ยท GPL-2.0-only
- fedora 44: Coin3-devel 3.1.3-42.fc44 ยท GPL-2.0-only
- ๐ girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms