Provided by: libcoin80-doc_3.1.4~abc9f50-4ubuntu2_all

**NAME**

SbCylinderPlaneProjector - TheSbCylinderPlaneProjectorclass projects 2D points to a half-cylinder and a plane. This projector uses a plane along with the half-cylinder ofSbCylinderSectionProjectorfor projections. If the 2D point mapping 'misses' the cylinder section, the 3D point will be projected onto the plane.

**SYNOPSIS**

#include <Inventor/projectors/SbCylinderPlaneProjector.h> InheritsSbCylinderSectionProjector.PublicMemberFunctionsSbCylinderPlaneProjector(const float edgetol=0.9f, const SbBool orienttoeye=TRUE)SbCylinderPlaneProjector(constSbCylinder&cyl, const float edgetol=0.9f, const SbBool orienttoeye=TRUE) virtualSbProjector*copy(void) const virtualSbVec3fproject(constSbVec2f&point) virtualSbRotationgetRotation(constSbVec3f&point1, constSbVec3f&point2)ProtectedMemberFunctionsSbRotationgetRotation(constSbVec3f&point1, const SbBool tol1, constSbVec3f&point2, const SbBool tol2)AdditionalInheritedMembers

**Detailed** **Description**

TheSbCylinderPlaneProjectorclass projects 2D points to a half-cylinder and a plane. This projector uses a plane along with the half-cylinder ofSbCylinderSectionProjectorfor projections. If the 2D point mapping 'misses' the cylinder section, the 3D point will be projected onto the plane.SeeAlso:SbSpherePlaneProjector

**Constructor** **&** **Destructor** **Documentation**

SbCylinderPlaneProjector::SbCylinderPlaneProjector(constfloatedgetol=0.9f,constSbBoolorienttoeye=TRUE)Default constructor. SeeSbCylinderSectionProjector::SbCylinderSectionProjector().SbCylinderPlaneProjector::SbCylinderPlaneProjector(constSbCylinder&cyl,constfloatedgetol=0.9f,constSbBoolorienttoeye=TRUE)Constructor with explicit specification of projection cylinder.

**Member** **Function** **Documentation**

SbProjector*SbCylinderPlaneProjector::copy(void)const[virtual]Construct and return a copy of this projector. The caller is responsible for destructing the new instance.NotethatiftheCoinlibraryhasbeenbuiltasaDLLunderMicrosoftWindowsandyouusethismethodfromapplicationcode,youmustmakesurethatboththeCoinDLLandtheapplicationexecutableisusingthesameinstanceofaCRun-Time(CRT)library.Otherwise,youwillgetmemoryheapcorruptionupondeallocatingthereturnedinstances,eventuallyleadingtomysteriouscrashes.Reimplemented fromSbCylinderSectionProjector.SbVec3fSbCylinderPlaneProjector::project(constSbVec2f&point)[virtual]Project the 2Dpointfrom normalized viewport coordinates to a 3D point. The mapping will be done in accordance with the type of the projector. Reimplemented fromSbCylinderSectionProjector.SbRotationSbCylinderPlaneProjector::getRotation(constSbVec3f&point1,constSbVec3f&point2)[virtual]Returns rotation on the projection surface which re-orientspoint1topoint2. Reimplemented fromSbCylinderSectionProjector.SbRotationSbCylinderPlaneProjector::getRotation(constSbVec3f&point1,constSbBooltol1,constSbVec3f&point2,constSbBooltol2)[protected]Calculates rotation frompoint1topoint2, withtol1andtol2deciding whether or not to use the tolerance setting.

**Author**

Generated automatically by Doxygen for Coin from the source code.