SoTransparencyType(3)
β¨ 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β ReturnsTRUEif the type of this object is either of the same type or inherited fromtype. π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 theSoTypeobject 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 theSoTypeobject 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 theSoTypeobject 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 inheritsSoBase. 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 theSoFieldDataclass 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 returnsNULL. 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 forSoGLRenderAction. 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 forSoCallbackAction. It simply updates the state according to how the node behaves for the render action, so that the application programmer can useSoCallbackActionfor 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
- 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