SoTransparencyType(3)

πŸ“¦
version 4.0.10 Β· 4 versions
, in fedora 43, fedora 44

✨ SoTransparencyType(3) ✨ Coin manual, bestie πŸ’…

okay so this is the SoTransparencyType(3) page from Coin, and we're doing part 1. It's giving node energy, it's giving transparency, it's giving let me set the vibe for shapes. No cap. 🫢


🌸 NAME 🌸

SoTransparencyType β€” the SoTransparencyType class is a node for setting the transparency type for shapes. That's the whole thing. Periodt. ✨


✨ SYNOPSIS ✨

#include <Inventor/nodes/SoTransparencyType.h>

Inherits SoNode.

okay so here comes the whole API dump, and it's a lot, but we're gonna get through it together. Grab a boba, bestie. πŸ§‹

πŸ’– Public Types πŸ’–

enum Type {
    SCREEN_DOOR = SoGLRenderAction::SCREEN_DOOR,
    ADD = SoGLRenderAction::ADD,
    DELAYED_ADD = SoGLRenderAction::DELAYED_ADD,
    SORTED_OBJECT_ADD = SoGLRenderAction::SORTED_OBJECT_ADD,
    BLEND = SoGLRenderAction::BLEND,
    DELAYED_BLEND = SoGLRenderAction::DELAYED_BLEND,
    SORTED_OBJECT_BLEND = SoGLRenderAction::SORTED_OBJECT_BLEND,
    SORTED_OBJECT_SORTED_TRIANGLE_ADD,
    SORTED_OBJECT_SORTED_TRIANGLE_BLEND,
    NONE = SoGLRenderAction::NONE
}

πŸ¦‹ Public Types inherited from SoNode πŸ¦‹

enum NodeType {
    INVENTOR = 0x0000,
    VRML1 = 0x0001,
    VRML2 = 0x0002,
    INVENTOR_1 = 0x0004,
    INVENTOR_2_0 = 0x0008,
    INVENTOR_2_1 = 0x0010,
    INVENTOR_2_5 = 0x0020,
    INVENTOR_2_6 = 0x0040,
    COIN_1_0 = 0x0080,
    COIN_2_0 = 0x0100,
    EXTENSION = 0x0200,
    COIN_2_2 = 0x0400,
    COIN_2_3 = 0x0800,
    COIN_2_4 = 0x1000,
    INVENTOR_5_0 = 0x2000,
    COIN_2_5 = 0x4000,
    COIN_3_0 = 0x8000,
    INVENTOR_6_0 = 0x10000,
    COIN_4_0 = 0x20000
}

πŸ’… Public Member Functions πŸ’…

  • virtual SoType getTypeId (void) const β€” the type ID getter, she's virtual, she's iconic. πŸ‘‘
  • SoTransparencyType (void) β€” the constructor, bestie. New node, who dis? πŸŽ€
  • virtual void doAction (SoAction *action) β€” does the action thing. Slay.
  • virtual void GLRender (SoGLRenderAction *action) β€” renders the GL, obviously. ✨
  • virtual void callback (SoCallbackAction *action) β€” calls back, periodt. πŸ’…

🌈 Public Member Functions inherited from SoNode 🌈

  • void setOverride (const SbBool state) β€” inherited, still eating.
  • SbBool isOverride (void) const β€” inherited, still eating.
  • void setNodeType (const NodeType type) β€” inherited, still eating.
  • NodeType getNodeType (void) const β€” inherited, still eating.
  • virtual SoNode * copy (SbBool copyconnections=FALSE) const β€” inherited, still eating.
  • virtual SbBool affectsState (void) const β€” inherited, still eating.
  • virtual void GLRenderBelowPath (SoGLRenderAction *action) β€” inherited, still eating.
  • virtual void GLRenderInPath (SoGLRenderAction *action) β€” inherited, still eating.
  • virtual void GLRenderOffPath (SoGLRenderAction *action) β€” inherited, still eating.
  • virtual void getBoundingBox (SoGetBoundingBoxAction *action) β€” inherited, still eating.
  • virtual void getMatrix (SoGetMatrixAction *action) β€” inherited, still eating.
  • virtual void handleEvent (SoHandleEventAction *action) β€” inherited, still eating.
  • virtual void pick (SoPickAction *action) β€” inherited, still eating.
  • virtual void rayPick (SoRayPickAction *action) β€” inherited, still eating.
  • virtual void search (SoSearchAction *action) β€” inherited, still eating.
  • virtual void write (SoWriteAction *action) β€” inherited, still eating.
  • virtual void audioRender (SoAudioRenderAction *action) β€” inherited, still eating.
  • virtual void getPrimitiveCount (SoGetPrimitiveCountAction *action) β€” inherited, still eating.
  • virtual void grabEventsSetup (void) β€” inherited, still eating.
  • virtual void grabEventsCleanup (void) β€” inherited, still eating.
  • virtual void startNotify (void) β€” inherited, still eating.
  • virtual void notify (SoNotList *l) β€” inherited, still eating.
  • SbUniqueId getNodeId (void) const β€” inherited, still eating.
  • virtual SoChildList * getChildren (void) const β€” inherited, still eating.
  • virtual void writeInstance (SoOutput *out) β€” inherited, still eating.
  • virtual SoNode * addToCopyDict (void) const β€” inherited, still eating.
  • virtual void copyContents (const SoFieldContainer *from, SbBool copyconnections) β€” inherited, still eating.
  • virtual SoFieldContainer * copyThroughConnection (void) const β€” inherited, still eating.

πŸ“ Public Member Functions inherited from SoFieldContainer πŸ“

  • void setToDefaults (void) β€” inherited, still eating.
  • SbBool hasDefaultValues (void) const β€” inherited, still eating.
  • SbBool fieldsAreEqual (const SoFieldContainer *container) const β€” inherited, still eating.
  • void copyFieldValues (const SoFieldContainer *container, SbBool copyconnections=FALSE) β€” inherited, still eating.
  • SbBool set (const char *const fielddata) β€” inherited, still eating.
  • void get (SbString &fielddata) β€” inherited, still eating.
  • virtual int getFields (SoFieldList &l) const β€” inherited, still eating.
  • virtual int getAllFields (SoFieldList &l) const β€” inherited, still eating.
  • virtual SoField * getField (const SbName &name) const β€” inherited, still eating.
  • virtual SoField * getEventIn (const SbName &name) const β€” inherited, still eating.
  • virtual SoField * getEventOut (const SbName &name) const β€” inherited, still eating.
  • SbBool getFieldName (const SoField *const field, SbName &name) const β€” inherited, still eating.
  • SbBool enableNotify (const SbBool flag) β€” inherited, still eating.
  • SbBool isNotifyEnabled (void) const β€” inherited, still eating.
  • SbBool set (const char *fielddata, SoInput *input) β€” inherited, still eating.
  • void get (SbString &fielddata, SoOutput *out) β€” inherited, still eating.
  • virtual SbBool validateNewFieldValue (SoField *field, void *newval) β€” inherited, still eating.
  • virtual void addWriteReference (SoOutput *out, SbBool isfromfield=FALSE) β€” inherited, still eating.
  • SbBool getIsBuiltIn (void) const β€” inherited, still eating.
  • virtual void getFieldsMemorySize (size_t &managed, size_t &unmanaged) const β€” inherited, still eating.
  • void setUserData (void *userdata) const β€” inherited, still eating.
  • void * getUserData (void) const β€” inherited, still eating.

🧚 Public Member Functions inherited from SoBase 🧚

  • void ref (void) const β€” inherited, still eating.
  • void unref (void) const β€” inherited, still eating.
  • void unrefNoDelete (void) const β€” inherited, still eating.
  • int32_t getRefCount (void) const β€” inherited, still eating.
  • void touch (void) β€” inherited, still eating.
  • SbBool isOfType (SoType type) const β€” Returns TRUE if the type of this object is either of the same type or inherited from type. πŸ’–
  • virtual SbName getName (void) const β€” inherited, still eating.
  • virtual void setName (const SbName &newname) β€” inherited, still eating.
  • void addAuditor (void *const auditor, const SoNotRec::Type type) β€” inherited, still eating.
  • void removeAuditor (void *const auditor, const SoNotRec::Type type) β€” inherited, still eating.
  • const SoAuditorList & getAuditors (void) const β€” inherited, still eating.
  • SbBool shouldWrite (void) β€” inherited, still eating.
  • void assertAlive (void) const β€” inherited, still eating.

⭐ Static Public Member Functions ⭐

  • static SoType getClassTypeId (void) β€” static, classy, iconic.
  • static void initClass (void) β€” Sets up initialization for data common to all instances of this class, like submitting necessary information to the Coin type system. Periodt. ✨

πŸ’œ Static Public Member Functions inherited from SoNode πŸ’œ

  • static uint32_t getCompatibilityTypes (const SoType &nodetype) β€” inherited, still eating.
  • static SoType getClassTypeId (void) β€” inherited, still eating.
  • static SoNode * getByName (const SbName &name) β€” inherited, still eating.
  • static int getByName (const SbName &name, SoNodeList &l) β€” inherited, still eating.
  • static void initClass (void) β€” Sets up initialization for data common to all instances of this class, like submitting necessary information to the Coin type system. πŸ’–
  • static void initClasses (void) β€” inherited, still eating.
  • static SbUniqueId getNextNodeId (void) β€” inherited, still eating.
  • static int getActionMethodIndex (const SoType type) β€” inherited, still eating.
  • static void getBoundingBoxS (SoAction *action, SoNode *node) β€” inherited, still eating.
  • static void GLRenderS (SoAction *action, SoNode *node) β€” inherited, still eating.
  • static void callbackS (SoAction *action, SoNode *node) β€” inherited, still eating.
  • static void getMatrixS (SoAction *action, SoNode *node) β€” inherited, still eating.
  • static void handleEventS (SoAction *action, SoNode *node) β€” inherited, still eating.
  • static void pickS (SoAction *action, SoNode *node) β€” inherited, still eating.
  • static void rayPickS (SoAction *action, SoNode *node) β€” inherited, still eating.
  • static void searchS (SoAction *action, SoNode *node) β€” inherited, still eating.
  • static void writeS (SoAction *action, SoNode *node) β€” inherited, still eating.
  • static void audioRenderS (SoAction *action, SoNode *node) β€” inherited, still eating.
  • static void getPrimitiveCountS (SoAction *action, SoNode *node) β€” inherited, still eating.

🌸 Static Public Member Functions inherited from SoFieldContainer 🌸

  • static void initClass (void) β€” Sets up initialization for data common to all instances of this class, like submitting necessary information to the Coin type system. πŸ’–
  • static SoType getClassTypeId (void) β€” This static method returns the SoType object associated with objects of this class. πŸ‘‘
  • static void cleanupClass (void) β€” inherited, still eating.
  • static void initCopyDict (void) β€” inherited, still eating.
  • static void addCopy (const SoFieldContainer *orig, const SoFieldContainer *copy) β€” inherited, still eating.
  • static SoFieldContainer * checkCopy (const SoFieldContainer *orig) β€” inherited, still eating.
  • static SoFieldContainer * findCopy (const SoFieldContainer *orig, const SbBool copyconnections) β€” inherited, still eating.
  • static void copyDone (void) β€” inherited, still eating.

🌈 Static Public Member Functions inherited from SoBase 🌈

  • static void initClass (void) β€” Sets up initialization for data common to all instances of this class, like submitting necessary information to the Coin type system. πŸ’–
  • static SoType getClassTypeId (void) β€” This static method returns the SoType object associated with objects of this class. πŸ‘‘
  • static void addName (SoBase *const base, const char *const name) β€” inherited, still eating.
  • static void removeName (SoBase *const base, const char *const name) β€” inherited, still eating.
  • static void incrementCurrentWriteCounter (void) β€” inherited, still eating.
  • static void decrementCurrentWriteCounter (void) β€” inherited, still eating.
  • static SoBase * getNamedBase (const SbName &name, SoType type) β€” inherited, still eating.
  • static int getNamedBases (const SbName &name, SoBaseList &baselist, SoType type) β€” inherited, still eating.
  • static SbBool read (SoInput *input, SoBase *&base, SoType expectedtype) β€” inherited, still eating.
  • static void setInstancePrefix (const SbString &c) β€” inherited, still eating.
  • static void setTraceRefs (SbBool trace) β€” inherited, still eating.
  • static SbBool getTraceRefs (void) β€” inherited, still eating.
  • static SbBool connectRoute (SoInput *input, const SbName &fromnodename, const SbName &fromfieldname, const SbName &tonodename, const SbName &tofieldname) β€” inherited, still eating.
  • static SbBool readRoute (SoInput *input) β€” inherited, still eating.

πŸ‘‘ Public Attributes πŸ‘‘

  • SoSFEnum value β€” the one and only public attribute, bestie. She's giving enum energy. πŸ’…

🌸 Member Enumeration Documentation 🌸

πŸ’… enum SoTransparencyType::Type

Okay bestie, this is where the actual transparency flavours live β€” it's the enumeration of all the available transparency types, periodt.

Heads up though: the real tea on what each type does is documented over in SoGLRenderAction. So if you're like "wait, which one is which??" β€” girl, go read that page. This one just holds the enum. Iykyk. 🫢

πŸŽ€ Constructor & Destructor Documentation πŸŽ€

  • SoTransparencyType::SoTransparencyType(void) β€” the constructor, aka the glow-up moment where your object gets created. ✨
  • SoTransparencyType::~SoTransparencyType() β€” the destructor. It's marked [protected] and [virtual], so it's doing its cleanup era in the background, lowkey protected from randoms. πŸ’€

πŸ’– Member Function Documentation πŸ’–

  • SoType SoTransparencyType::getClassTypeId(void) [static] β€” this static girly returns the SoType object that's associated with objects of this class. Static, so she doesn't even need an instance to show up. Main character energy fr.
  • SoType SoTransparencyType::getTypeId(void) const [virtual] β€” returns the type identification of an object derived from a class that inherits SoBase. This is what powers runtime type checking and "downward" casting, no cap. πŸ”₯
This one implements SoBase, so it's fulfilling an inherited obligation β€” iconic behaviour honestly.
  • const SoFieldData **SoTransparencyType::getFieldDataPtr(void) [static], [protected] β€” okay so this API member is considered internal to the library, bestie. It's not likely to be of interest to the application programmer, so like… don't come for it unless you're deep in the Coin source code. It returns the SoFieldData class which holds information about fields in this node. 🧚
  • const SoFieldData *SoTransparencyType::getFieldData(void) const [protected], [virtual] β€” hands you a pointer to the class-wide field data storage object for this instance. And if there are no fields present? It returns NULL. That's it, that's the whole vibe. πŸ’…
Reimplemented from SoFieldContainer.
  • void SoTransparencyType::doAction(SoAction *action) [virtual] β€” this function performs the typical operation of a node for any action. One method, every action, versatile queen. πŸ‘‘
Reimplemented from SoNode.
  • void SoTransparencyType::GLRender(SoGLRenderAction *action) [virtual] β€” the action method for SoGLRenderAction. This gets called during rendering traversals, and any nodes that influence the rendering state in literally any way β€” or that want to throw geometry primitives at OpenGL β€” override this method. So if you're a node with something to say to the GPU, this is your moment. 🌈
Reimplemented from SoNode.
  • void SoTransparencyType::callback(SoCallbackAction *action) [virtual] β€” the action method for SoCallbackAction. It simply updates the state according to how the node behaves for the render action, so that the application programmer can use SoCallbackAction for extracting information about the scene graph. Very much a "let me tell you what's going on in here" moment. πŸ¦‹
Reimplemented from SoNode.

🌟 Member Data Documentation 🌟

  • SoSFEnum SoTransparencyType::value β€” this is the field, bestie. It's the transparency type to use for subsequent shape nodes in the scene graph. Set it, and everything downstream gets that transparency treatment. Slay. ✨

✍️ Author

Generated automatically by Doxygen for Coin from the source code.


And that's a wrap on SoTransparencyType(3), babes β€” this page came to you courtesy of Coin version 4.0.10, dated Thu Jun 25 2026 00:00:00. Go forth and render transparently. πŸ’œπŸ«ΆπŸŽ€

πŸ“¦ where this page comes from