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

**NAME**

SbSpherePlaneProjector - TheSbSpherePlaneProjectorclass projects 2D points to a half-sphere and a plane. This projector uses a plane along with the half-sphere ofSbSphereSectionProjectorfor projections. If the 2D point mapping 'misses' the sphere section, the 3D point will be projected onto the plane.

**SYNOPSIS**

#include <Inventor/projectors/SbSpherePlaneProjector.h> InheritsSbSphereSectionProjector.PublicMemberFunctionsSbSpherePlaneProjector(const float edgetol=0.9f, const SbBool orienttoeye=TRUE)SbSpherePlaneProjector(constSbSphere&sph, 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**

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

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

SbSpherePlaneProjector::SbSpherePlaneProjector(constfloatedgetol=0.9f,constSbBoolorienttoeye=TRUE)Default constructor. SeeSbSphereSectionProjector::SbSphereSectionProjector().SbSpherePlaneProjector::SbSpherePlaneProjector(constSbSphere&sph,constfloatedgetol=0.9f,constSbBoolorienttoeye=TRUE)Constructor with explicit specification of projection sphere.

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

SbProjector*SbSpherePlaneProjector::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 fromSbSphereSectionProjector.SbVec3fSbSpherePlaneProjector::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 fromSbSphereSectionProjector.SbRotationSbSpherePlaneProjector::getRotation(constSbVec3f&point1,constSbVec3f&point2)[virtual]Returns rotation on the projection surface which re-orientspoint1topoint2. Reimplemented fromSbSphereSectionProjector.SbRotationSbSpherePlaneProjector::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.