#include <OSGVector.h>
Inheritance diagram for osg::VecStorage4< ValueTypeT >:

Public Member Functions | |
Constructor | |
| * | VecStorage4 (void) |
Destructor | |
| * | ~VecStorage4 (void) |
Access | |
| *void | setValues (const ValueTypeT rVal1, const ValueTypeT rVal2, const ValueTypeT rVal3, const ValueTypeT rVal4) |
| void | getSeparateValues (ValueTypeT &rVal1, ValueTypeT &rVal2, ValueTypeT &rVal3, ValueTypeT &rVal4) const |
| ValueTypeT | x (void) const |
| ValueTypeT | y (void) const |
| ValueTypeT | z (void) const |
| ValueTypeT | w (void) const |
Static Public Attributes | |
| static const UInt32 | _iSize = 4 |
| Storage size. | |
Protected Attributes | |
| ValueTypeT | _values [_iSize] |
| Value store. | |
Private Member Functions | |
| VecStorage4 (const VecStorage4 &source) | |
| prohibit default function (move to 'public' if needed) | |
| void | operator= (const VecStorage4 &source) |
| prohibit default function (move to 'public' if needed) | |
Definition at line 208 of file OSGVector.h.
|
||||||||||
|
Definition at line 209 of file OSGVector.inl. References osg::VecStorage4< ValueTypeT >::_iSize, and osg::VecStorage4< ValueTypeT >::_values. 00210 { 00211 for(UInt32 i = 0; i < _iSize; i++) 00212 { 00213 _values[i] = TypeTraits<ValueTypeT>::getZeroElement(); 00214 } 00215 }
|
|
||||||||||
|
Definition at line 219 of file OSGVector.inl.
|
|
||||||||||
|
|
|
||||||||||||||||||||||||
|
Definition at line 225 of file OSGVector.inl. References osg::VecStorage4< ValueTypeT >::_values. Referenced by osg::calcVertexTangents(), drawViewerQuads< posTrait, colTrait, texTrait, sizeTrait >::draw(), drawViewerQuads< posTrait, colTrait, texTrait, sizeTrait >::drawIndexed(), osg::DVRIsoShader::setupCombinerParametersDiffuse(), osg::DVRIsoShader::setupCombinerParametersSpecular(), osg::TransformationMatrix< ValueTypeT >::setValue(), osg::TransformationMatrix< ValueTypeT >::setValueTransposed(), and osg::TransformationMatrix< ValueTypeT >::TransformationMatrix(). 00229 { 00230 _values[0] = rVal1; 00231 _values[1] = rVal2; 00232 _values[2] = rVal3; 00233 _values[3] = rVal4; 00234 }
|
|
||||||||||||||||||||||||
|
Definition at line 238 of file OSGVector.inl. References osg::VecStorage4< ValueTypeT >::_values. 00242 { 00243 rVal1 = _values[0]; 00244 rVal2 = _values[1]; 00245 rVal3 = _values[2]; 00246 rVal4 = _values[3]; 00247 }
|
|
||||||||||
|
Definition at line 251 of file OSGVector.inl. References osg::VecStorage4< ValueTypeT >::_values. 00252 { 00253 return _values[0]; 00254 }
|
|
||||||||||
|
Definition at line 258 of file OSGVector.inl. References osg::VecStorage4< ValueTypeT >::_values. 00259 { 00260 return _values[1]; 00261 }
|
|
||||||||||
|
Definition at line 265 of file OSGVector.inl. References osg::VecStorage4< ValueTypeT >::_values. 00266 { 00267 return _values[2]; 00268 }
|
|
||||||||||
|
Definition at line 272 of file OSGVector.inl. References osg::VecStorage4< ValueTypeT >::_values. 00273 { 00274 return _values[3]; 00275 }
|
|
||||||||||
|
|
|
|||||
|
Referenced by osg::VecStorage4< ValueTypeT >::VecStorage4(). |
|
|||||
1.4.3