SoCylinderDetail(3)
π SoCylinderDetail(3) π
okay bestie, pull up a chair, we're doing the Coin manual page for SoCylinderDetail and honestly? it's giving "small class, big responsibilities". section 3 of the Coin docs, let's go β¨
πΈ NAME πΈ
SoCylinderDetail β the class that holds the tea about the parts of an SoCylinder shape. that's literally its whole job. slay.
π¦ SYNOPSIS π¦
#include <Inventor/details/SoCylinderDetail.h>
Inherits SoDetail. yes, it's part of the detail family, we love a nepo baby π
β¨ Public Member Functions β¨
virtual SoType getTypeId (void) const
SoCylinderDetail (void)
virtual ~SoCylinderDetail ()
virtual SoDetail * copy (void) const
void setPart (const int part)
int getPart (void) const
π Public Member Functions inherited from SoDetail π
virtual ~SoDetail ()
SbBool isOfType (const SoType type) const
β Static Public Member Functions β
static SoType getClassTypeId (void)
static void cleanupClass (void)
static void initClass (void)
π Static Public Member Functions inherited from SoDetail π
static void initClass (void)
static void initClasses (void)
static SoType getClassTypeId (void)
π₯ Protected Attributes π₯
int part
π Additional Inherited Members π
π§ Protected Member Functions inherited from SoDetail π§
SoDetail (void)
π Detailed Description π
okay so the SoCylinderDetail class contains information about the parts of an SoCylinder shape. that's it, that's the vibe.
Instances of this class are used for storing information about hit points on cylinder geometry after pick operations, and also for storing information returned to tessellation callbacks. no cap, that's what they're for.
π See also π
SoCylinderSoRayPickActionSoCallbackAction
π οΈ Constructor & Destructor Documentation π οΈ
SoCylinderDetail::SoCylinderDetail (void )
Constructor. it makes one. iconic behaviour, honestly. π
SoCylinderDetail::~SoCylinderDetail () [virtual]
Destructor. it un-makes one. the circle of life, or whatever. π¦
π§ Member Function Documentation π§
SoType SoCylinderDetail::getTypeId (void ) const [virtual]
Returns the type identification of an object derived from a class inheriting SoDetail. This is used for runtime type checking and "downward" casting. iykyk.
Implements SoDetail.
SoType SoCylinderDetail::getClassTypeId (void ) [static]
This static method returns the SoType object associated with objects of this class. static bestie behaviour fr fr.
void SoCylinderDetail::cleanupClass (void ) [inline], [static]
This static method cleans up static data of the class. tidy queen π§Ήβ¨
SoDetail * SoCylinderDetail::copy (void ) const [virtual]
Return a deep copy of ourself. main character energy, duplicating the whole self. π
β οΈ heads up bestie, this one's serious: Note that if the Coin library has been built as a DLL under Microsoft Windows and you use this method from application code, you must make sure that both the Coin DLL and the application executable are using the same instance of a C Run-Time (CRT) library. Otherwise, you will get memory heap corruption upon deallocating the returned instances, eventually leading to mysterious crashes. not a cute mystery. fix your CRT situation. π
Implements SoDetail.
void SoCylinderDetail::setPart (const int partarg)
Set the part of a cylinder which was selected. A cylinder has three different conceptual parts; SoCylinder::SIDES, SoCylinder::TOP or SoCylinder::BOTTOM. three icons, pick your fave. π
int SoCylinderDetail::getPart (void ) const
Returns selected cylinder part. that's the whole function. short and sweet, we stan. π
π¦ Member Data Documentation π¦
int SoCylinderDetail::part [protected]
This API member is considered internal to the library, as it is not likely to be of interest to the application programmer. so likeβ¦ mind your business, bestie π
βοΈ Author βοΈ
Generated automatically by Doxygen for Coin from the source code. not a human author, just a robot doing its little thing. π€π
π and that's a wrap! this was Version 4.0.10, dated Thu Jun 25 2026 00:00:00, straight out of the SoCylinderDetail(3) manual. go forth and pick some cylinders, bestie. periodt. π
β¨ππ¦
π¦ 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