Inheritance diagram for osg::Pnt2s:

Public Types | |
| typedef VecStorage2 | Inherited |
| typedef TypeTraits< Int16 >::RealReturnType | RealReturnType |
| typedef Int16 | ValueType |
| typedef VectorInterface< Int16, VecStorage2 > | VecInterface |
| typedef PointInterface< Int16, VecStorage2 > | Self |
Public Member Functions | |
| * | PointInterface (void) |
| PointInterface (const Int16 *pVals) | |
| PointInterface (Int16 *pVals) | |
| PointInterface (const VectorT &vec) | |
| PointInterface (const PointInterface &source) | |
| PointInterface (const Int16rVal1, const Int16rVal2) | |
| PointInterface (const Int16rVal1, const Int16rVal2, const Int16rVal3) | |
| PointInterface (const Int16rVal1, const Int16rVal2, const Int16rVal3, const Int16rVal4) | |
| *void | setNull (void) |
| void | setValue (const PointInterface &vec) |
| void | setValue (const VectorT &vec) |
| void | setValue (const Int16 *pVals) |
| void | setValue (Int16 *pVals) |
| void | setValue (const Char8 *szString) |
| void | setValue (Char8 *szString) |
| void | setValueFromCString (const Char8 *szString) |
| void | setValueFromCString (Char8 *szString) |
| *Int16 * | getValues (void) |
| const Int16 * | getValues (void) const |
| *bool | isZero (void) const |
| void | negate (void) |
| bool | equals (const PointInterface &vec, const Int16tolerance) 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 Int16val) |
| void | operator/= (const Int16val) |
| VecInterface | operator- (const PointInterface &vec) const |
| PointInterface | operator- (const VecInterface &vec) const |
| PointInterface | operator- (void) |
| PointInterface | operator+ (const VecInterface &vec) const |
| PointInterface | operator * (const Int16rVal) const |
| void | operator+= (const VecInterface &vec) |
| void | operator-= (const VecInterface &vec) |
| *Int16 & | operator[] (const UInt32 uiVal) |
| const Int16 & | 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) |
| void | getSeparateValues (ValueTypeT &rVal1, ValueTypeT &rVal2) const |
| ValueTypeT | x (void) const |
| ValueTypeT | y (void) const |
Static Public Attributes | |
| static const PointInterface | Null |
| static const UInt32 | _iSize = 2 |
| 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 2552 of file dummyClasses.dox.
|
|
Reimplemented in osg::VectorInterface< Int16, VecStorage2 >. Definition at line 289 of file OSGVector.h. |
|
|
Reimplemented in osg::VectorInterface< Int16, VecStorage2 >. Definition at line 291 of file OSGVector.h. |
|
|
Reimplemented in osg::VectorInterface< Int16, VecStorage2 >. Definition at line 293 of file OSGVector.h. |
|
|
Definition at line 296 of file OSGVector.h. |
|
|
Reimplemented in osg::VectorInterface< Int16, VecStorage2 >. 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< Int16, VecStorage2 >. |
|
|
Reimplemented in osg::VectorInterface< Int16, VecStorage2 >. |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Reimplemented in osg::VectorInterface< Int16, VecStorage2 >. |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
||||||||||||||||
|
Definition at line 78 of file OSGVector.inl. References osg::VecStorage2< ValueTypeT >::_values. Referenced by osg::TextFace::calculateBoundingBox(), osg::TextLayoutResult::clear(), osg::GeoProperty< GeoPropertyDesc >::getValue(), osg::TextPixmapFace::makeImage(), osg::OFFSceneFileType::read(), and osg::OBJSceneFileType::read().
|
|
||||||||||||||||
|
Definition at line 87 of file OSGVector.inl. References osg::VecStorage2< ValueTypeT >::_values.
|
|
||||||||||
|
||||||||||
|
|
Reimplemented in osg::VectorInterface< Int16, VecStorage2 >. Definition at line 302 of file OSGVector.h. |
|
|||||
|
Referenced by osg::VecStorage2< ValueTypeT >::VecStorage2(). |
|
|||||
1.4.3