SOCUBEDETAIL(3iv)
π SoCubeDetail β the vibe check on your cube hits π
okay so bestie, this is SoCubeDetail(3IV), a lil' page from the 3IV manual, and it's genuinely one of the cutest lil' detail classes out there. no cap. it's giving "I know exactly which face of the cube you touched" energy and honestly? iconic. π
π¦ NAME
SoCubeDetail β stores detail information about the SoCube node. periodt.
πΈ INHERITS FROM
SoDetail > SoCubeDetail
so it's a SoDetail at heart, but with cube-specific main character energy. π
β¨ SYNOPSIS
#include <Inventor/details/SoCubeDetail.h>
Methods from class SoCubeDetail:
SoCubeDetail()
virtual ~SoCubeDetail()
int getPart() const
static SoType getClassTypeId()
Methods from class SoDetail:
SoDetail * copy() const
virtual SoType getTypeId() const
SbBool isOfType(SoType type) const
π«Ά DESCRIPTION
This class contains detail information about a point on a cube. It contains the part of the cube that was hit. π§
like... you clicked on a cube, and this lil' guy is here to tell you which face you hit. no guessing, no "uhhh was that the top or the bottom", just facts. obsessed.
Part values are as follows:
0β Front1β Back2β Left3β Right4β Top5β Bottom
six faces, six numbers, zero ambiguity. the way that 0 is Front and not Back? lowkey unhinged but we respect it. π
π METHODS
SoCubeDetail()virtual ~SoCubeDetail()
Constructor and destructor. it's born, it does its job, it says bye. π
int getPart() const
Returns the part in the detail. this is the method, fr fr β it hands you back the number that tells you which face got hit.
static SoType getClassTypeId()
Returns type identifier for this class. slay.
π₯ SEE ALSO
SoCube, SoDetail, SoPickedPoint, SoPrimitiveVertex
okay bestie that's the whole page, you ate it up π β¨ this was SoCubeDetail(3IV)() β that's the source, the version, and the date, all wrapped up in the footer where it belongs. go forth and identify your cube faces. you're doing amazing sweetie. π¦πΈπ
π¦ where this page comes from
- debian bookworm: inventor-doc 2.1.5-10+dfsg-2 Β· LGPL-2.0-or-later
- debian trixie: inventor-doc 2.1.6+ds-2 Β· LGPL-2.0-or-later
- ubuntu jammy: inventor-doc 2.1.5-10-24
- ubuntu noble: inventor-doc 2.1.5-10+dfsg-2.1build2 Β· LGPL-2.0-or-later
- ubuntu questing: inventor-doc 2.1.6+ds-2
- ubuntu resolute: inventor-doc 2.1.6.1+ds-1 Β· LGPL-2.0-or-later
- ubuntu stonking: inventor-doc 2.1.6.1+ds-1 Β· LGPL-2.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms