.TH "SoCubeDetail" 3 "Fri Sep 6 2024 15:32:06" "Version 4.0.3" "Coin" \" -*- nroff -*- .ad l .nh .SH NAME SoCubeDetail \- The \fBSoCubeDetail\fP class contains information about the parts of a \fBSoCube\fP shape\&. .SH SYNOPSIS .br .PP .PP \fR#include \fP .PP Inherits \fBSoDetail\fP\&. .SS "Public Member Functions" .in +1c .ti -1c .RI "virtual \fBSoType\fP \fBgetTypeId\fP (void) const" .br .ti -1c .RI "\fBSoCubeDetail\fP (void)" .br .ti -1c .RI "virtual \fB~SoCubeDetail\fP ()" .br .ti -1c .RI "virtual \fBSoDetail\fP * \fBcopy\fP (void) const" .br .ti -1c .RI "void \fBsetPart\fP (const int \fBpart\fP)" .br .ti -1c .RI "int \fBgetPart\fP (void) const" .br .in -1c Public Member Functions inherited from \fBSoDetail\fP .in +1c .ti -1c .RI "virtual \fB~SoDetail\fP ()" .br .ti -1c .RI "SbBool \fBisOfType\fP (const \fBSoType\fP type) const" .br .in -1c .SS "Static Public Member Functions" .in +1c .ti -1c .RI "static \fBSoType\fP \fBgetClassTypeId\fP (void)" .br .ti -1c .RI "static void \fBcleanupClass\fP (void)" .br .ti -1c .RI "static void \fBinitClass\fP (void)" .br .in -1c Static Public Member Functions inherited from \fBSoDetail\fP .in +1c .ti -1c .RI "static void \fBinitClass\fP (void)" .br .ti -1c .RI "static void \fBinitClasses\fP (void)" .br .ti -1c .RI "static \fBSoType\fP \fBgetClassTypeId\fP (void)" .br .in -1c .SS "Protected Attributes" .in +1c .ti -1c .RI "int \fBpart\fP" .br .in -1c .SS "Additional Inherited Members" Protected Member Functions inherited from \fBSoDetail\fP .in +1c .ti -1c .RI "\fBSoDetail\fP (void)" .br .in -1c .SH "Detailed Description" .PP The \fBSoCubeDetail\fP class contains information about the parts of a \fBSoCube\fP shape\&. Instances of this class are used for storing information about hit points on cone geometry after pick operations, and for storing information returned to tessellation callbacks\&. .PP The part indices are ordered from 0 to 5 as [ front, back, left, right, top, bottom ]\&. .PP \fBSee also\fP .RS 4 \fBSoCube\fP, \fBSoRayPickAction\fP, \fBSoCallbackAction\fP .RE .PP .SH "Constructor & Destructor Documentation" .PP .SS "SoCubeDetail::SoCubeDetail (void )" Constructor\&. .SS "SoCubeDetail::~SoCubeDetail ()\fR [virtual]\fP" Destructor\&. .SH "Member Function Documentation" .PP .SS "\fBSoType\fP SoCubeDetail::getTypeId (void ) const\fR [virtual]\fP" Returns the type identification of an object derived from a class inheriting \fBSoDetail\fP\&. This is used for runtime type checking and 'downward' casting\&. .br .PP Implements \fBSoDetail\fP\&. .SS "\fBSoType\fP SoCubeDetail::getClassTypeId (void )\fR [static]\fP" This static method returns the \fBSoType\fP object associated with objects of this class\&. .br .SS "static void SoCubeDetail::cleanupClass (void )\fR [inline]\fP, \fR [static]\fP" This static method cleans up static data of the class\&. .br .SS "\fBSoDetail\fP * SoCubeDetail::copy (void ) const\fR [virtual]\fP" Return a deep copy of ourself\&. .PP \fBNote that if the Coin library has been built as a DLL under Microsoft Windows and you use this method from application code, you \fImust\fP 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 \fIwill\fP get memory heap corruption upon deallocating the returned instances, eventually leading to mysterious crashes\&.\fP .br .br .PP Implements \fBSoDetail\fP\&. .SS "void SoCubeDetail::setPart (const int partarg)" Set the part of a cube which was selected\&. A cube has of course six different conceptual parts -- its sides\&. .SS "int SoCubeDetail::getPart (void ) const" Returns selected cube part\&. .SH "Member Data Documentation" .PP .SS "int SoCubeDetail::part\fR [protected]\fP" \fIThis API member is considered internal to the library, as it is not likely to be of interest to the application programmer\&.\fP .br .br .SH "Author" .PP Generated automatically by Doxygen for Coin from the source code\&.