Inheritance diagram for osg::Pnt3f:

Public Types | |
| typedef VecStorage3 | Inherited |
| typedef TypeTraits< Real32 >::RealReturnType | RealReturnType |
| typedef Real32 | ValueType |
| typedef VectorInterface< Real32, VecStorage3 > | VecInterface |
| typedef PointInterface< Real32, VecStorage3 > | Self |
Public Member Functions | |
| * | PointInterface (void) |
| PointInterface (const Real32 *pVals) | |
| PointInterface (Real32 *pVals) | |
| PointInterface (const VectorT &vec) | |
| PointInterface (const PointInterface &source) | |
| PointInterface (const Real32rVal1, const Real32rVal2) | |
| PointInterface (const Real32rVal1, const Real32rVal2, const Real32rVal3) | |
| PointInterface (const Real32rVal1, const Real32rVal2, const Real32rVal3, const Real32rVal4) | |
| *void | setNull (void) |
| void | setValue (const PointInterface &vec) |
| void | setValue (const VectorT &vec) |
| void | setValue (const Real32 *pVals) |
| void | setValue (Real32 *pVals) |
| void | setValue (const Char8 *szString) |
| void | setValue (Char8 *szString) |
| void | setValueFromCString (const Char8 *szString) |
| void | setValueFromCString (Char8 *szString) |
| *Real32 * | getValues (void) |
| const Real32 * | getValues (void) const |
| *bool | isZero (void) const |
| void | negate (void) |
| bool | equals (const PointInterface &vec, const Real32tolerance) const |
| VecInterface & | subZero (void) |
| const VecInterface & | subZero (void) const |
| RealReturnType | dist (const PointInterface &vec) const |
| RealReturnType | dist2 (const PointInterface &vec) const |
| RealReturnType | maxValue (void) const |
| *void | operator *= (const Real32val) |
| void | operator/= (const Real32val) |
| VecInterface | operator- (const PointInterface &vec) const |
| PointInterface | operator- (const VecInterface &vec) const |
| PointInterface | operator- (void) |
| PointInterface | operator+ (const VecInterface &vec) const |
| PointInterface | operator * (const Real32rVal) const |
| void | operator+= (const VecInterface &vec) |
| void | operator-= (const VecInterface &vec) |
| *Real32 & | operator[] (const UInt32 uiVal) |
| const Real32 & | operator[] (const UInt32 uiVal) const |
| *bool | operator< (const PointInterface &other) const |
| bool | operator== (const PointInterface &other) const |
| bool | operator!= (const PointInterface &other) const |
Access | |
| *void | setValues (const ValueTypeT rVal1, const ValueTypeT rVal2, const ValueTypeT rVal3) |
| void | getSeparateValues (ValueTypeT &rVal1, ValueTypeT &rVal2, ValueTypeT &rVal3) const |
| ValueTypeT | x (void) const |
| ValueTypeT | y (void) const |
| ValueTypeT | z (void) const |
Static Public Attributes | |
| static const PointInterface | Null |
| static const UInt32 | _iSize = 3 |
| Storage size. | |
Protected Attributes | |
| ValueTypeT | _values [_iSize] |
| Value store. | |
This is just to give you an idea of the conceptual relations and to help you understand the available methods of this class.
Definition at line 2612 of file dummyClasses.dox.
|
|
Reimplemented in osg::VectorInterface< Real32, VecStorage3 >. Definition at line 289 of file OSGVector.h. |
|
|
Reimplemented in osg::VectorInterface< Real32, VecStorage3 >. Definition at line 291 of file OSGVector.h. |
|
|
Reimplemented in osg::VectorInterface< Real32, VecStorage3 >. Definition at line 293 of file OSGVector.h. |
|
|
Definition at line 296 of file OSGVector.h. |
|
|
Reimplemented in osg::VectorInterface< Real32, VecStorage3 >. Definition at line 300 of file OSGVector.h. |
|
|
|
|
|
Be shure the array size at least as large as the vector size. |
|
|
Be shure the array size at least as large as the vector size. |
|
|
Definition at line 319 of file OSGVector.h. 00320 { 00321 if(Self::_iSize <= VectorT::_iSize) 00322 { 00323 for(UInt32 i = 0; i < Self::_iSize; i++) 00324 { 00325 Self::_values[i] = vec.getValues()[i]; 00326 } 00327 } 00328 else 00329 { 00330 UInt32 i; 00331 for(i = 0; i < VectorT::_iSize; i++) 00332 { 00333 Self::_values[i] = vec.getValues()[i]; 00334 } 00335 for(i = VectorT::_iSize; i < Self::_iSize; i++) 00336 { 00337 Self::_values[i] = TypeTraits<ValueTypeT>::getZeroElement(); 00338 } 00339 } 00340 }
|
|
|
|
|
||||||||||||
|
|
|
||||||||||||||||
|
|
|
||||||||||||||||||||
|
|
|
|
|
|
|
|
|
|
Definition at line 393 of file OSGVector.h. 00394 { 00395 for(UInt32 i = 0; 00396 i < (Self::_iSize < VectorT::_iSize ? 00397 Self::_iSize : VectorT::_iSize); 00398 ++i) 00399 { 00400 Self::_values[i] = vec.getValues()[i]; 00401 } 00402 }
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
||||||||||||
|
|
|
|
Reimplemented in osg::VectorInterface< Real32, VecStorage3 >. |
|
|
Reimplemented in osg::VectorInterface< Real32, VecStorage3 >. |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Reimplemented in osg::VectorInterface< Real32, VecStorage3 >. |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
||||||||||||||||||||
|
||||||||||||||||||||
|
Definition at line 157 of file OSGVector.inl. References osg::VecStorage3< ValueTypeT >::_values. Referenced by osg::BoxVolume::getBounds().
|
|
||||||||||
|
Definition at line 168 of file OSGVector.inl. References osg::VecStorage3< ValueTypeT >::_values. Referenced by osg::Surface::buildSurface(), osg::calcVertexNormals(), osg::createNormalizationCubeMap(), osg::Slices::createSlice(), osg::Slices::drawSlices(), osg::NormalQuantifier::getIndex(), osg::Slices::initEdgeVec(), osg::FrustumVolume::intersect(), osg::DynamicVolume::morphToType(), osg::BoxVolume::setBoundsByCenterAndSize(), and osg::Surface::writetoobj(). 00169 { 00170 return _values[0]; 00171 }
|
|
||||||||||
|
Definition at line 175 of file OSGVector.inl. References osg::VecStorage3< ValueTypeT >::_values. Referenced by osg::Surface::buildSurface(), osg::calcVertexNormals(), osg::createNormalizationCubeMap(), osg::Slices::drawSlices(), osg::NormalQuantifier::getIndex(), osg::Slices::initEdgeVec(), osg::FrustumVolume::intersect(), osg::DynamicVolume::morphToType(), osg::BoxVolume::setBoundsByCenterAndSize(), and osg::Surface::writetoobj(). 00176 { 00177 return _values[1]; 00178 }
|
|
||||||||||
|
Definition at line 182 of file OSGVector.inl. References osg::VecStorage3< ValueTypeT >::_values. Referenced by osg::Surface::buildSurface(), osg::calcVertexNormals(), osg::createNormalizationCubeMap(), osg::Slices::drawSlices(), osg::NormalQuantifier::getIndex(), osg::Slices::initEdgeVec(), osg::FrustumVolume::intersect(), osg::DynamicVolume::morphToType(), osg::BoxVolume::setBoundsByCenterAndSize(), and osg::Surface::writetoobj(). 00183 { 00184 return _values[2]; 00185 }
|
|
|
Reimplemented in osg::VectorInterface< Real32, VecStorage3 >. Definition at line 302 of file OSGVector.h. Referenced by osg::IntersectAction::getHitPoint(), and osg::FaceIterator::getPosition(). |
|
|||||
|
Referenced by osg::VecStorage3< ValueTypeT >::VecStorage3(). |
|
|||||
1.4.3