.TH "SoPointDetail" 3 "Tue Dec 26 2023 17:59:22" "Version 4.0.2" "Coin" \" -*- nroff -*- .ad l .nh .SH NAME SoPointDetail \- The \fBSoPointDetail\fP class is for storing detailed information for a single 3D point\&. .SH SYNOPSIS .br .PP .PP \fC#include \fP .PP Inherits \fBSoDetail\fP\&. .SS "Public Member Functions" .in +1c .ti -1c .RI "\fBvirtual\fP \fBSoType\fP \fBgetTypeId\fP (\fBvoid\fP) \fBconst\fP" .br .ti -1c .RI "\fBSoPointDetail\fP (\fBvoid\fP)" .br .ti -1c .RI "\fBvirtual\fP \fB~SoPointDetail\fP ()" .br .ti -1c .RI "\fBvirtual\fP \fBSoDetail\fP * \fBcopy\fP (\fBvoid\fP) \fBconst\fP" .br .ti -1c .RI "int \fBgetCoordinateIndex\fP (\fBvoid\fP) \fBconst\fP" .br .ti -1c .RI "int \fBgetMaterialIndex\fP (\fBvoid\fP) \fBconst\fP" .br .ti -1c .RI "int \fBgetNormalIndex\fP (\fBvoid\fP) \fBconst\fP" .br .ti -1c .RI "int \fBgetTextureCoordIndex\fP (\fBvoid\fP) \fBconst\fP" .br .ti -1c .RI "\fBvoid\fP \fBsetCoordinateIndex\fP (\fBconst\fP int idx)" .br .ti -1c .RI "\fBvoid\fP \fBsetMaterialIndex\fP (\fBconst\fP int idx)" .br .ti -1c .RI "\fBvoid\fP \fBsetNormalIndex\fP (\fBconst\fP int idx)" .br .ti -1c .RI "\fBvoid\fP \fBsetTextureCoordIndex\fP (\fBconst\fP int idx)" .br .in -1c Public Member Functions inherited from \fBSoDetail\fP .in +1c .ti -1c .RI "\fBvirtual\fP \fB~SoDetail\fP ()" .br .ti -1c .RI "SbBool \fBisOfType\fP (\fBconst\fP \fBSoType\fP type) \fBconst\fP" .br .in -1c .SS "Static Public Member Functions" .in +1c .ti -1c .RI "\fBstatic\fP \fBSoType\fP \fBgetClassTypeId\fP (\fBvoid\fP)" .br .ti -1c .RI "\fBstatic\fP \fBvoid\fP \fBcleanupClass\fP (\fBvoid\fP)" .br .ti -1c .RI "\fBstatic\fP \fBvoid\fP \fBinitClass\fP (\fBvoid\fP)" .br .in -1c Static Public Member Functions inherited from \fBSoDetail\fP .in +1c .ti -1c .RI "\fBstatic\fP \fBvoid\fP \fBinitClass\fP (\fBvoid\fP)" .br .ti -1c .RI "\fBstatic\fP \fBvoid\fP \fBinitClasses\fP (\fBvoid\fP)" .br .ti -1c .RI "\fBstatic\fP \fBSoType\fP \fBgetClassTypeId\fP (\fBvoid\fP)" .br .in -1c .SS "Additional Inherited Members" Protected Member Functions inherited from \fBSoDetail\fP .in +1c .ti -1c .RI "\fBSoDetail\fP (\fBvoid\fP)" .br .in -1c .SH "Detailed Description" .PP The \fBSoPointDetail\fP class is for storing detailed information for a single 3D point\&. Instances of this class are used among other things for storing information about the vertices of lines and polygons after pick operations, and for storing information returned to tessellation callbacks\&. .PP It contains indices into the vertex coordinate sets, along with indices into material, texture and normal coordinates for the point\&. .SH "Constructor & Destructor Documentation" .PP .SS "SoPointDetail::SoPointDetail (\fBvoid\fP)" Sets up an empty detail instance (all indices are equal to 0)\&. .SS "SoPointDetail::~SoPointDetail ()\fC [virtual]\fP" Destructor\&. .SH "Member Function Documentation" .PP .SS "\fBSoType\fP SoPointDetail::getTypeId (\fBvoid\fP) const\fC [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 SoPointDetail::getClassTypeId (\fBvoid\fP)\fC [static]\fP" This static method returns the \fBSoType\fP object associated with objects of this class\&. .br .SS "\fBstatic\fP \fBvoid\fP SoPointDetail::cleanupClass (\fBvoid\fP)\fC [inline]\fP, \fC [static]\fP" This static method cleans up static data of the class\&. .br .SS "\fBSoDetail\fP * SoPointDetail::copy (\fBvoid\fP) const\fC [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 "int SoPointDetail::getCoordinateIndex (\fBvoid\fP) const" Returns index into coordinate set for the point's 3D coordinates\&. .SS "int SoPointDetail::getMaterialIndex (\fBvoid\fP) const" Returns point's index into set of materials\&. .SS "int SoPointDetail::getNormalIndex (\fBvoid\fP) const" Returns point's index into set of normals\&. .SS "int SoPointDetail::getTextureCoordIndex (\fBvoid\fP) const" Returns point's index into set of texture coordinates\&. .SS "\fBvoid\fP SoPointDetail::setCoordinateIndex (\fBconst\fP int idx)" Used by client code for initializing the point detail instance\&. .SS "\fBvoid\fP SoPointDetail::setMaterialIndex (\fBconst\fP int idx)" Used by client code for initializing the point detail instance\&. .SS "\fBvoid\fP SoPointDetail::setNormalIndex (\fBconst\fP int idx)" Used by client code for initializing the point detail instance\&. .SS "\fBvoid\fP SoPointDetail::setTextureCoordIndex (\fBconst\fP int idx)" Used by client code for initializing the point detail instance\&. .SH "Author" .PP Generated automatically by Doxygen for Coin from the source code\&.