SoCylinderDetail(3)

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

πŸ’– 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 πŸ‘€

  • SoCylinder
  • SoRayPickAction
  • SoCallbackAction

πŸ› οΈ 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