.TH "SbCylinderSheetProjector" 3 "Tue Jun 23 2026 23:48:38" "Version 4.0.10" "Coin" \" -*- nroff -*- .ad l .nh .SH NAME SbCylinderSheetProjector \- The \fBSbCylinderSheetProjector\fP class projects 2D points to 3D points on a sheet covering a cylindrical shape\&. .SH SYNOPSIS .br .PP .PP \fR#include \fP .PP Inherits \fBSbCylinderProjector\fP\&. .SS "Public Member Functions" .in +1c .ti -1c .RI "\fBSbCylinderSheetProjector\fP (const SbBool orienttoeye=TRUE)" .br .ti -1c .RI "\fBSbCylinderSheetProjector\fP (const \fBSbCylinder\fP &cyl, const SbBool orienttoeye=TRUE)" .br .ti -1c .RI "virtual \fBSbProjector\fP * \fBcopy\fP (void) const" .br .ti -1c .RI "virtual \fBSbVec3f\fP \fBproject\fP (const \fBSbVec2f\fP &point)" .br .ti -1c .RI "virtual \fBSbRotation\fP \fBgetRotation\fP (const \fBSbVec3f\fP &point1, const \fBSbVec3f\fP &point2)" .br .in -1c Public Member Functions inherited from \fBSbCylinderProjector\fP .in +1c .ti -1c .RI "\fBSbVec3f\fP \fBprojectAndGetRotation\fP (const \fBSbVec2f\fP &point, \fBSbRotation\fP &rot)" .br .ti -1c .RI "void \fBsetCylinder\fP (const \fBSbCylinder\fP &cyl)" .br .ti -1c .RI "const \fBSbCylinder\fP & \fBgetCylinder\fP (void) const" .br .ti -1c .RI "void \fBsetOrientToEye\fP (const SbBool orienttoeye)" .br .ti -1c .RI "SbBool \fBisOrientToEye\fP (void) const" .br .ti -1c .RI "void \fBsetFront\fP (const SbBool infront)" .br .ti -1c .RI "SbBool \fBisFront\fP (void) const" .br .ti -1c .RI "SbBool \fBisPointInFront\fP (const \fBSbVec3f\fP &point) const" .br .ti -1c .RI "virtual void \fBsetWorkingSpace\fP (const \fBSbMatrix\fP &space)" .br .in -1c Public Member Functions inherited from \fBSbProjector\fP .in +1c .ti -1c .RI "virtual void \fBsetViewVolume\fP (const \fBSbViewVolume\fP &vol)" .br .ti -1c .RI "const \fBSbViewVolume\fP & \fBgetViewVolume\fP (void) const" .br .ti -1c .RI "const \fBSbMatrix\fP & \fBgetWorkingSpace\fP (void) const" .br .ti -1c .RI "virtual SbBool \fBtryProject\fP (const \fBSbVec2f\fP &point, const float epsilon, \fBSbVec3f\fP &result)" .br .in -1c .SS "Protected Member Functions" .in +1c .ti -1c .RI "virtual void \fBsetupPlane\fP (void)" .br .in -1c Protected Member Functions inherited from \fBSbCylinderProjector\fP .in +1c .ti -1c .RI "\fBSbCylinderProjector\fP (const SbBool orienttoeye)" .br .ti -1c .RI "\fBSbCylinderProjector\fP (const \fBSbCylinder\fP &\fBcylinder\fP, const SbBool orienttoeye)" .br .ti -1c .RI "SbBool \fBintersectCylinderFront\fP (const \fBSbLine\fP &line, \fBSbVec3f\fP &result)" .br .in -1c Protected Member Functions inherited from \fBSbProjector\fP .in +1c .ti -1c .RI "\fBSbProjector\fP (void)" .br .ti -1c .RI "virtual \fB~SbProjector\fP ()" .br .ti -1c .RI "\fBSbLine\fP \fBgetWorkingLine\fP (const \fBSbVec2f\fP &point) const" .br .ti -1c .RI "float \fBfindVanishingDistance\fP (void) const" .br .ti -1c .RI "SbBool \fBverifyProjection\fP (const \fBSbVec3f\fP &projpt) const" .br .in -1c .SS "Protected Attributes" .in +1c .ti -1c .RI "\fBSbVec3f\fP \fBworkingProjPoint\fP" .br .ti -1c .RI "\fBSbVec3f\fP \fBplaneDir\fP" .br .ti -1c .RI "\fBSbPlane\fP \fBtolPlane\fP" .br .in -1c Protected Attributes inherited from \fBSbCylinderProjector\fP .in +1c .ti -1c .RI "SbBool \fBintersectFront\fP" .br .ti -1c .RI "\fBSbCylinder\fP \fBcylinder\fP" .br .ti -1c .RI "SbBool \fBorientToEye\fP" .br .ti -1c .RI "SbBool \fBneedSetup\fP" .br .ti -1c .RI "\fBSbVec3f\fP \fBlastPoint\fP" .br .in -1c Protected Attributes inherited from \fBSbProjector\fP .in +1c .ti -1c .RI "\fBSbViewVolume\fP \fBviewVol\fP" .br .ti -1c .RI "\fBSbMatrix\fP \fBworldToWorking\fP" .br .ti -1c .RI "\fBSbMatrix\fP \fBworkingToWorld\fP" .br .in -1c .SH "Detailed Description" .PP The \fBSbCylinderSheetProjector\fP class projects 2D points to 3D points on a sheet covering a cylindrical shape\&. .SH "Constructor & Destructor Documentation" .PP .SS "SbCylinderSheetProjector::SbCylinderSheetProjector (const SbBool orienttoeye = \fRTRUE\fP)" Constructor\&. Uses default cylinder definition, see \fBSbCylinderProjector::SbCylinderProjector()\fP\&. .PP \fIorienttoeye\fP decides whether or not the cylinder and sheet should always be oriented towards the viewer\&. .SS "SbCylinderSheetProjector::SbCylinderSheetProjector (const \fBSbCylinder\fP & cyl, const SbBool orienttoeye = \fRTRUE\fP)" Constructor with explicit definition of projection cylinder\&. .SH "Member Function Documentation" .PP .SS "\fBSbProjector\fP * SbCylinderSheetProjector::copy (void ) const\fR [virtual]\fP" Construct and return a copy of this projector\&. The caller is responsible for destructing the new instance\&. .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 \fBSbProjector\fP\&. .SS "\fBSbVec3f\fP SbCylinderSheetProjector::project (const \fBSbVec2f\fP & point)\fR [virtual]\fP" Project the 2D \fIpoint\fP from normalized viewport coordinates to a 3D point\&. The mapping will be done in accordance with the type of the projector\&. .PP Implements \fBSbCylinderProjector\fP\&. .SS "\fBSbRotation\fP SbCylinderSheetProjector::getRotation (const \fBSbVec3f\fP & point1, const \fBSbVec3f\fP & point2)\fR [virtual]\fP" Returns rotation on the projection surface which reorients \fIpoint1\fP to \fIpoint2\fP\&. .PP Implements \fBSbCylinderProjector\fP\&. .SS "void SbCylinderSheetProjector::setupPlane (void )\fR [protected]\fP, \fR [virtual]\fP" Recalculates projection surface settings after changes to the parameters\&. .SH "Member Data Documentation" .PP .SS "\fBSbVec3f\fP SbCylinderSheetProjector::workingProjPoint\fR [protected]\fP" Last projected point, in the working space coordinate system\&. .SS "\fBSbVec3f\fP SbCylinderSheetProjector::planeDir\fR [protected]\fP" Normal vector of the plane defining the orientation of the sheet\&. .SS "\fBSbPlane\fP SbCylinderSheetProjector::tolPlane\fR [protected]\fP" The tolerance value specifying how much of the cylinder is "above" the sheet\&. .SH "Author" .PP Generated automatically by Doxygen for Coin from the source code\&.