SoVectorizeAction(3)

πŸ“¦ version 2.5.0, in fedora 43, fedora 44

🌸 NAME 🌸

okay so, welcome to the manual page for SoVectorizeAction(3) β€” it lives in the Library Functions Manual and it is, and I say this with my whole chest, a foundational text. πŸ’–

SoVectorizeAction β€” the base class for vectorizing Coin scene graphs. that's the entire job description, bestie. everything else in this page is just receipts. πŸŽ€


✨ SYNOPSIS ✨

#include <HardCopy/SoVectorizeAction.h>
  • Inherits SoCallbackAction
  • Inherited by SoVectorizePSAction

like, it is a callback action, and it has a PS-flavoured child. the family tree is giving legacy, fr fr. 🌳

🫢 Public Types 🫢

the whole menu of little enums this class carries around. no cap, they're all here:

  • enum DimensionUnit { INCH, MM, METER } β€” pick a unit bestie, inches, millimeters or meters, iconic trio πŸ’…
  • enum Orientation { PORTRAIT, LANDSCAPE } β€” the two ways a page can stand. portrait girlies and landscape girlies, no wrong answers ✨
  • enum PageSize { A0 = 0, A1, A2, A3, A4, A5, A6, A7, A8, A9, A10 } β€” the entire A-paper ladder, A0 starting at 0 and marching all the way down to A10. obsessed with the range πŸ‘‘
  • enum PointStyle { CIRCLE, SQUARE } β€” round point or boxy point. that's the discourse 🌈
  • enum ColorTranslationMethod { REVERSE_ONLY_BLACK_AND_WHITE, AS_IS, REVERSE } β€” three whole flavours of colour translation, take your pick πŸ“
  • enum JoinLineStyle { NO_JOIN, MITERED_JOIN, MITERED_BEVELED_JOIN, BEVELED_JOIN, TRIANGULAR_JOIN, ROUNDED_JOIN } β€” six ways for two lines to meet at a corner. six!! the corner is the moment 😭
  • enum EndLineStyle { BUTT_END, SQUARE_END, TRIANGULAR_END, ROUND_END } β€” how a line ends. four options. the drama πŸ’€
  • enum HLHSRMode { NO_HLHSR, HLHSR_SIMPLE_PAINTER, HLHSR_PAINTER, HLHSR_PAINTER_SURFACE_REMOVAL, HIDDEN_LINES_REMOVAL } β€” hidden line / hidden surface removal modes, five of them, go wild ⭐

πŸ’œ 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 πŸ¦‹

this is the main character section right here. every single one, in order, untouched:

  • virtual SoType getTypeId (void) const
  • SoVectorizeAction (void)
  • virtual ~SoVectorizeAction ()
  • SoVectorOutput * getOutput (void) const
  • virtual void apply (SoNode *node)
  • virtual void apply (SoPath *path)
  • virtual void apply (const SoPathList &pathlist, SbBool obeysrules=0)
  • 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) const
  • virtual void setBackgroundColor (SbBool bg, const SbColor &col=SbColor(0.0f, 0.0f, 0.0f))
  • virtual SbBool getBackgroundColor (SbColor &col) const
  • virtual void setNominalWidth (float w, DimensionUnit u=MM)
  • virtual float getNominalWidth (DimensionUnit u=MM) const
  • virtual void setPixelImageSize (float w, DimensionUnit u=MM)
  • virtual float getPixelImageSize (DimensionUnit u=MM) const
  • virtual void setPointStyle (const PointStyle &style)
  • virtual PointStyle getPointStyle (void) const
  • const SbVec2f & getPageStartpos (void) const
  • const SbVec2f & getPageSize (void) const
  • virtual void setDrawingDimensions (const SbVec2f &d, DimensionUnit u=MM)
  • virtual void setDrawingDimensions (float w, float h, DimensionUnit u=MM)
  • virtual SbVec2f getDrawingDimensions (DimensionUnit u=MM) const
  • virtual void setStartPosition (const SbVec2f &p, DimensionUnit u=MM)
  • virtual void setStartPosition (float x, float y, DimensionUnit u=MM)
  • virtual SbVec2f getStartPosition (DimensionUnit u=MM) const
  • virtual void setColorTranslationMethod (ColorTranslationMethod method)
  • virtual ColorTranslationMethod getColorTranslationMethod (void) const
  • virtual void setLineEndStyle (EndLineStyle style)
  • virtual EndLineStyle getLineEndStyle (void) const
  • virtual void setLineJoinsStyle (JoinLineStyle style)
  • virtual JoinLineStyle getLineJoinsStyle (void) const
  • virtual void setHLHSRMode (HLHSRMode mode)
  • HLHSRMode getHLHSRMode (void) const
  • virtual void setBorder (float width)
  • virtual void setBorder (float width, SbColor color)
  • virtual void setMiterLimit (float limit)
  • virtual float getMiterLimit (void) const
  • virtual 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) const
  • virtual int getPenNum (void) const
  • virtual void setColorPriority (SbBool priority)
  • virtual SbBool getColorPriority (void) const
  • virtual void enableLighting (SbBool flag)
  • SbBool isLightingEnabled (void) const

see how many set/get pairs there are?? it's giving balanced. we love a class that lets you ask it things back. 🫢

🧚 Public Member Functions inherited from SoCallbackAction

  • SoCallbackAction (void)
  • SoCallbackAction (const SbViewportRegion &vp)
  • virtual ~SoCallbackAction ()
  • 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) const
  • float getDecimationPercentage (void) const
  • float getComplexity (void) const
  • SoComplexity::Type getComplexityType (void) const
  • int32_t getNumCoordinates (void) const
  • const SbVec3f & getCoordinate3 (const int index) const
  • const SbVec4f & getCoordinate4 (const int index) const
  • SoDrawStyle::Style getDrawStyle (void) const
  • unsigned short getLinePattern (void) const
  • float getLineWidth (void) const
  • float getPointSize (void) const
  • const SbName & getFontName (void) const
  • float getFontSize (void) const
  • SoLightModel::Model getLightModel (void) const
  • const SbVec3f & getLightAttenuation (void) const
  • void getMaterial (SbColor &ambient, SbColor &diffuse, SbColor &specular, SbColor &emission, float &shininess, float &transparency, const int index=0) const
  • SoMaterialBinding::Binding getMaterialBinding (void) const
  • uint32_t getNumNormals (void) const
  • const SbVec3f & getNormal (const int index) const
  • SoNormalBinding::Binding getNormalBinding (void) const
  • int32_t getNumProfileCoordinates (void) const
  • const SbVec2f & getProfileCoordinate2 (const int index) const
  • const SbVec3f & getProfileCoordinate3 (const int index) const
  • const SoNodeList & getProfile (void) const
  • SoShapeHints::VertexOrdering getVertexOrdering (void) const
  • SoShapeHints::ShapeType getShapeType (void) const
  • SoShapeHints::FaceType getFaceType (void) const
  • float getCreaseAngle (void) const
  • int32_t getNumTextureCoordinates (void) const
  • const SbVec2f & getTextureCoordinate2 (const int index) const
  • const SbVec3f & getTextureCoordinate3 (const int index) const
  • const SbVec4f & getTextureCoordinate4 (const int index) const
  • SoTextureCoordinateBinding::Binding getTextureCoordinateBinding (void) const
  • const SbColor & getTextureBlendColor (void) const
  • const unsigned char * getTextureImage (SbVec2s &size, int &numcomps) const
  • const unsigned char * getTextureImage (SbVec3s &size, int &numcomps) const
  • const SbMatrix & getTextureMatrix (void) const
  • SoTexture2::Model getTextureModel (void) const
  • SoTexture2::Wrap getTextureWrapS (void) const
  • SoTexture2::Wrap getTextureWrapT (void) const
  • SoTexture2::Wrap getTextureWrapR (void) const
  • const SbMatrix & getModelMatrix (void) const
  • SoUnits::Units getUnits (void) const
  • float getFocalDistance (void) const
  • const SbMatrix & getProjectionMatrix (void) const
  • const SbMatrix & getViewingMatrix (void) const
  • const SbViewVolume & getViewVolume (void) const
  • const SbViewportRegion & getViewportRegion (void) const
  • SoPickStyle::Style getPickStyle (void) const
  • int32_t getSwitch (void) const
  • Response getCurrentResponse (void) const
  • void 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) const
  • virtual SoNode * getCurPathTail (void)
  • void setCurrentNode (SoNode *const node)

look at that list. it ate. and every single one of those is inherited, so SoVectorizeAction walks in already knowing all of it. main character energy fr. πŸ‘‘

🧚 Public Member Functions inherited from SoAction

  • virtual ~SoAction ()
  • virtual SbBool isOfType (SoType type) const
  • void apply (SoAction *beingApplied)
  • virtual void invalidateState (void)
  • AppliedCode getWhatAppliedTo (void) const
  • SoNode * getNodeAppliedTo (void) const
  • SoPath * getPathAppliedTo (void) const
  • const SoPathList * getPathListAppliedTo (void) const
  • const SoPathList * getOriginalPathListAppliedTo (void) const
  • SbBool isLastPathListAppliedTo (void) const
  • PathCode getPathCode (int &numindices, const int *&indices)
  • void traverse (SoNode *const node)
  • SbBool hasTerminated (void) const
  • const SoPath * getCurPath (void)
  • SoState * getState (void) const
  • PathCode getCurPathCode (void) const
  • void 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)

the path-pushing ones are lowkey a whole stack and honestly? we respect it. 🫑


⭐ 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 πŸ’…

the backstage area. bestie's private little dressing room, but for subclasses:

  • virtual const SoEnabledElementsList & getEnabledElements (void) const
  • void setOutput (SoVectorOutput *output)
  • virtual float pixelsToUnits (const int pixels)
  • virtual void printHeader (void) const =0
  • virtual void printFooter (void) const
  • virtual void printBackground (void) const
  • virtual void printItem (const SoVectorizeItem *item) const =0
  • virtual void printViewport (void) const
  • SbVec2f getRotatedViewportStartpos (void) const
  • SbVec2f getRotatedViewportSize (void) const
  • const SbBSPTree & getBSPTree (void) const
heads up bestie: the ones marked =0 are pure virtual, so the base class isn't gonna do that part for you β€” those get left to whoever subclasses it. don't @ me, that's just how the =0 goes πŸ’€

πŸ“ Protected Member Functions inherited from SoCallbackAction

  • virtual void beginTraversal (SoNode *node)
  • SoAction(void) β€” protected, inherited from SoAction
  • virtual void endTraversal(SoNode *node) β€” protected, inherited from SoAction
  • void setTerminated(const SbBool flag) β€” protected, inherited from SoAction
  • virtual SbBool shouldCompactPathList(void) const β€” protected, inherited from SoAction

✨ Static Protected Member Functions ✨

  • static SoEnabledElementsList * getClassEnabledElements(void)
  • static SoActionMethodList * getClassActionMethods(void)

πŸ’« 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)

🫢 Friends 🫢

  • class SoVectorizeActionP β€” literally the only one invited to the sleepover, bestie πŸ’–

πŸŽ€ Additional Inherited Members πŸŽ€

Protected Attributes inherited from SoAction

  • SoState * state
  • SoActionMethodList * traversalMethods

πŸ’– Detailed Description πŸ’–

okay so the SoVectorizeAction class is the base class for vectorizing Coin scene graphs. it's giving founder, it's giving blueprint, it's giving the blueprint πŸ¦‹

SoVectorizeAction will traverse the scene graph and convert all supported geometry into vectorized data. then subclasses can take that data and produce vector files of different formats. like, the base class does the hard work and the subclasses get to show up looking cute with their own file format πŸ’…

currently supported geometry, and this is the guest list:

  • 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 SoImage node)

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. it's matching the vibe exactly, no notes πŸ‘‘

but bestie, hear me β€” neither transparency nor texture mapping is supported yet. 😭 not yet!! we wait!! πŸ•―οΈ

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. iconic. essential. the measure of all things πŸ’–

enum SoVectorizeAction::Orientation

the drawing orientation. which way are we facing, bestie 🧭

enum SoVectorizeAction::PageSize

the size of the destination page. paper sizes have never been this slay πŸŽ€

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. the whole point (pun absolutely intended, i'm so sorry) πŸ“

Enumerator

  • CIRCLE β€” render points as circles.
  • SQUARE β€” render points as squares.

✨ Constructor & Destructor Documentation ✨

SoVectorizeAction::SoVectorizeAction(void)

default constructor. it's just born, tiny, perfect, no thoughts 🌱

references SoVectorizeAction().

referenced by addMethod(), SoVectorizePSAction::addMethod(), and SoVectorizeAction().

SoVectorizeAction::~SoVectorizeAction() [virtual]

destructor. it's the goodbye, the curtain call, the final bow πŸŽ€


πŸ’… 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, and bestie this is verbatim, do not freestyle it:

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. the girlies love a macro πŸ’–

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. no skipping, it's mandatory fr fr.

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.

so like, not for you bestie, but we still show it respect 🫑

references SoCallbackAction::SoCallbackAction(), and SoVectorizeAction().

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 energy, internal business, we don't touch πŸ’…

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(). default behavior but make it fashion ✨

referenced by SoVectorizePSAction::getOutput(), and SoVectorizePSAction::getPSOutput().

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. bestie do NOT do it, the vibes will be cursed πŸ’€

reimplemented from SoAction.

references SoAction::apply().

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. it's the full fit, head to toe, accessories included πŸ’–

if the path ends in an SoGroup node, the action will also traverse the tail node's children. going down the family tree, love that for us 🌈

reimplemented from SoAction.

references SoAction::apply().

void SoVectorizeAction::apply(const SoPathList & pathlist, SbBool obeysrules = 0) [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. four rules, no exceptions, the girlies must behave πŸ“‹

See also

SoAction::apply(SoPath * path)

reimplemented from SoAction.

references SoAction::apply().

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. it's the opening scene, the establishing shot 🎬

references beginViewport(), getRotatedViewportSize(), printBackground(), printHeader(), and SoCallbackAction::setViewportRegion().

void SoVectorizeAction::endPage(void) [virtual]

end page. this will write all remaining geometry, and write the file footer. the outro, the credits, the soft fade πŸŒ™

references endViewport(), and printFooter().

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 energies, we love a synchronized moment ✨

See also

setPixelSize()

setNominalWidth()

references getPageSize(), and SbViewportRegion::getViewportSizePixels().

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()

references getRotatedViewportSize(), printViewport(), and SoCallbackAction::setViewportRegion().

referenced by beginPage().

void SoVectorizeAction::endViewport(void) [virtual]

end writing a viewport. this will flush all vector items. everything out, nothing held back, periodt πŸ’…

referenced by endPage().

void SoVectorizeAction::setOrientation(Orientation o) [virtual]

sets the orientation to o. turn, turn, turn πŸ¦‹

SoVectorizeAction::Orientation SoVectorizeAction::getOrientation(void) const [virtual]

returns the current orientation.

See also

setOrientation()

referenced by getRotatedViewportSize(), getRotatedViewportStartpos(), and SoVectorizePSAction::printHeader().

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(). wipe it down, set the scene, aesthetic first 🎨

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. it tells you the tea AND hands you the color, generous queen πŸ‘‘

referenced by SoVectorizePSAction::printBackground().

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. that's the conversion rate bestie, write it down πŸ“

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. same ratio, different department, still serving πŸ’–

See also

calibrate()

float SoVectorizeAction::getPixelImageSize(DimensionUnit u = MM) const [virtual]

returns the pixel image size.

See also

setPixelImageSize()

referenced by pixelsToUnits().

void SoVectorizeAction::setPointStyle(const PointStyle & style) [virtual]

sets the points rendering style. default style is CIRCLE. circles are the moment, but squares are valid too πŸ“

SoVectorizeAction::PointStyle SoVectorizeAction::getPointStyle(void) const [virtual]

returns the points rendering style.

const SbVec2f & SoVectorizeAction::getPageStartpos(void) const

returns the current page startpos.

referenced by SoVectorizePSAction::printHeader().

const SbVec2f & SoVectorizeAction::getPageSize(void) const

returns the current page size.

referenced by calibrate(), pixelsToUnits(), and SoVectorizePSAction::printHeader().

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. a whole alternate route, lowkey iconic 🌈

See also beginViewport() πŸ‘€

  • SbVec2f SoVectorizeAction::getDrawingDimensions (DimensionUnit u = MM) const [virtual] β€” Returns the current drawing dimensions. πŸ’–
  • void SoVectorizeAction::setStartPosition (const SbVec2f & p, DimensionUnit u = MM) [virtual] β€” Sets the drawing staring position. You can use this and setDrawingDimensions() instead of using beginViewport(). Provided for TGS OIV compatibility. ✨
  • SbVec2f SoVectorizeAction::getStartPosition (DimensionUnit u = MM) const [virtual] β€” Returns the current drawing starting position. 🌸
  • 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. πŸ’…
  • void SoVectorizeAction::setOutput (SoVectorOutput * output) [protected] β€” Should be used by subclasses to set the SoVectorOutput instance that should be used.
    • Referenced by: SoVectorizePSAction::SoVectorizePSAction(). πŸ”₯
  • float SoVectorizeAction::pixelsToUnits (const int pixels) [protected], [virtual] β€” Converts pixels to normalized units.
    • References: getPageSize(), and getPixelImageSize(). πŸ¦‹
  • 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. πŸ’œ
    • References: getBSPTree(), getRotatedViewportSize(), getRotatedViewportStartpos(), printBackground(), printFooter(), printItem(), and printViewport(). ✨
    • Referenced by: beginPage(). 🌸
  • 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. πŸ’œ
    • Referenced by: endPage(), and printHeader(). πŸ”₯
  • 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. πŸ’œ
    • Referenced by: beginPage(), and printHeader(). 🌈
  • 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. πŸ’œ
    • Referenced by: printHeader(). ✨
  • 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. πŸ’œ
    • Referenced by: beginViewport(), and printHeader(). πŸ”₯
  • SbVec2f SoVectorizeAction::getRotatedViewportStartpos (void ) const [protected] β€” Convenience method for subclasses. Will return the viewport startpos, taking the orientation into account 🌟
    • References: getOrientation(). 🧭
    • Referenced by: SoVectorizePSAction::printBackground(), printHeader(), and SoVectorizePSAction::printViewport(). πŸ’–
  • SbVec2f SoVectorizeAction::getRotatedViewportSize (void ) const [protected] β€” Convenience method for subclasses. Will return the viewport size, taking the orientation into account 🌟
    • References: getOrientation(). 🧭
    • Referenced by: beginPage(), beginViewport(), SoVectorizePSAction::printBackground(), printHeader(), and SoVectorizePSAction::printViewport(). πŸ’–
  • const SbBSPTree & SoVectorizeAction::getBSPTree (void ) const [protected] β€” Returns the bps tree used to store triangle and line vertices. 🌳
    • Referenced by: printHeader(). πŸ”₯

πŸ‘‘ Author πŸ‘‘

Generated automatically by Doxygen for Coin from the source code. πŸ’–

That's a wrap, bestie! This page was served fresh from Coin, version 2.5.0. SoVectorizeAction(3) and chill. βœ¨πŸ’…

πŸ“¦ where this page comes from