00001 #ifndef SoUtils_SbProjector_h 00002 #define SoUtils_SbProjector_h 00003 00004 #include <Inventor/SbString.h> 00005 #include <Inventor/SbLinear.h> 00006 00012 namespace SoUtils { 00013 00014 class SbProjector { 00015 public: 00016 SbProjector(const SbString&); 00017 SbProjector(const SbProjector&); 00018 virtual ~SbProjector(); 00019 bool project(int,SbVec3f*) const; 00020 bool isRZ() const; 00021 bool isZR() const; 00022 protected: 00023 bool projectRZ(int,SbVec3f*) const; 00024 bool projectPHIZ(int,SbVec3f*) const; 00025 bool projectZR(int,SbVec3f*) const; 00026 bool projectNZR(int,SbVec3f*) const; 00027 bool projectNormZ(int,SbVec3f*) const; 00028 bool projectZPHI(int,SbVec3f*) const; 00029 bool projectPHIETA(int,SbVec3f*) const; 00030 private: 00031 int fProjection; 00032 }; 00033 00034 } 00035 00036 #endif