osg::MFUInt32 Class Reference
[Multi-Element Fields]

Inheritance diagram for osg::MFUInt32:
osg::MField< FieldTypeT, fieldNameSpace > osg::Field

List of all members.

Public Types

typedef MFieldVector< FieldTypeT > StorageType
typedef StorageType::Inherited StorageTypeParent
typedef StorageType::iterator iterator
typedef StorageType::const_iterator const_iterator
typedef
StorageType::reverse_iterator 
reverse_iterator
typedef
StorageType::const_reverse_iterator 
const_reverse_iterator
typedef StorageType::reference reference
typedef
StorageType::const_reference 
const_reference
typedef osgIF< fieldNameSpace==0,
FieldDataTraits< FieldTypeT >
, InvalidTrait >::_IRet 
MF0Trait
typedef osgIF< fieldNameSpace==1,
FieldDataTraits1< FieldTypeT >
, MF0Trait >::_IRet 
MF1Trait
typedef osgIF< fieldNameSpace==2,
FieldDataTraits2< FieldTypeT >
, MF1Trait >::_IRet 
MFieldTraits
typedef MField< FieldTypeT,
fieldNameSpace > 
Self
typedef FieldTypeT StoredType
typedef MFieldTraits::ArgumentType ArgumentType

Public Member Functions

template<>
UInt32 getBinSize (void) const
template<>
void copyToBin (BinaryDataHandler &pMem) const
template<>
void copyFromBin (BinaryDataHandler &pMem)
Get



reference getValue (const UInt32 index)
const_reference getValue (const UInt32 index) const
virtual UInt32 getSize (void) const
StorageTypegetValues (void)
const StorageTypegetValues (void) const
virtual const FieldTypegetType (void) const
virtual bool isEmpty (void) const
Set



void setValues (const StorageType &value)
void setValues (const StorageTypeParent &value)
void setValues (const Self &obj)
virtual void setAbstrValue (const Field &obj)
 Copies the values from a given field iff the two fieldtypes are equal.
void setValue (ArgumentType value, const UInt32 index)
void addValue (ArgumentType value)
Set



virtual void setAbstrValue (const Field &obj)=0
STL Interface



iterator begin (void)
const_iterator begin (void) const
iterator end (void)
const_iterator end (void) const
reverse_iterator rbegin (void)
const_reverse_iterator rbegin (void) const
reverse_iterator rend (void)
const_reverse_iterator rend (void) const
reference front (void)
const_reference front (void) const
reference back (void)
const_reference back (void) const
void clear (void)
iterator insert (iterator pos, ArgumentType value)
iterator erase (iterator pos)
iterator erase (iterator first, iterator last)
iterator find (ArgumentType value)
const_iterator find (ArgumentType value) const
void push_back (ArgumentType value)
void resize (size_t newsize, FieldTypeT t=FieldTypeT())
void reserve (size_t newsize)
UInt32 size (void) const
UInt32 capacity (void) const
bool empty (void) const
void swap (MField &right)
Index Operator



reference operator[] (UInt32 index)
const_reference operator[] (UInt32 index) const
String IO



virtual void pushValueByStr (const Char8 *str)
virtual std::string & getValueByStr (std::string &str) const
virtual std::string & getValueByStr (std::string &str, StringConversionStateBase &state) const
virtual std::string & getValueByStr (std::string &str, UInt32 index) const
MT Sync



void syncWith (Self &source)
Binary Interface



UInt32 getBinSize (void) const
void copyToBin (BinaryDataHandler &pMem) const
void copyFromBin (BinaryDataHandler &pMem)
Dump



virtual void dump (void) const
Get



const DataTypegetContentType (void) const
FieldType::Cardinality getCardinality (void) const

Static Public Member Functions

Class Get



static const FieldTypegetClassType (void)

Protected Types

typedef Field Inherited

Static Protected Member Functions

static Fieldcreate (void)

Protected Attributes

StorageType _values
UInt32 _uiSharedWith

Static Protected Attributes

static const FieldType _fieldType

Detailed Description

This is a documentation wrapper. Its only purpose is to fool doxygen into thinking of a typedef as a class and to allow you to find all the needed info from this page.

Warning:
The real inheritance is not what you see here.
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 5101 of file dummyClasses.dox.


Member Typedef Documentation

template<class FieldTypeT, Int32 fieldNameSpace = 0>
typedef MFieldVector<FieldTypeT> osg::MField< FieldTypeT, fieldNameSpace >::StorageType [inherited]

Definition at line 78 of file OSGMField.h.

template<class FieldTypeT, Int32 fieldNameSpace = 0>
typedef StorageType::Inherited osg::MField< FieldTypeT, fieldNameSpace >::StorageTypeParent [inherited]

Definition at line 79 of file OSGMField.h.

template<class FieldTypeT, Int32 fieldNameSpace = 0>
typedef StorageType::iterator osg::MField< FieldTypeT, fieldNameSpace >::iterator [inherited]

Definition at line 81 of file OSGMField.h.

template<class FieldTypeT, Int32 fieldNameSpace = 0>
typedef StorageType::const_iterator osg::MField< FieldTypeT, fieldNameSpace >::const_iterator [inherited]

Definition at line 82 of file OSGMField.h.

template<class FieldTypeT, Int32 fieldNameSpace = 0>
typedef StorageType::reverse_iterator osg::MField< FieldTypeT, fieldNameSpace >::reverse_iterator [inherited]

Definition at line 85 of file OSGMField.h.

template<class FieldTypeT, Int32 fieldNameSpace = 0>
typedef StorageType::const_reverse_iterator osg::MField< FieldTypeT, fieldNameSpace >::const_reverse_iterator [inherited]

Definition at line 87 of file OSGMField.h.

template<class FieldTypeT, Int32 fieldNameSpace = 0>
typedef StorageType::reference osg::MField< FieldTypeT, fieldNameSpace >::reference [inherited]

Definition at line 90 of file OSGMField.h.

template<class FieldTypeT, Int32 fieldNameSpace = 0>
typedef StorageType::const_reference osg::MField< FieldTypeT, fieldNameSpace >::const_reference [inherited]

Definition at line 91 of file OSGMField.h.

template<class FieldTypeT, Int32 fieldNameSpace = 0>
typedef osgIF<fieldNameSpace == 0, FieldDataTraits <FieldTypeT>, InvalidTrait >::_IRet osg::MField< FieldTypeT, fieldNameSpace >::MF0Trait [inherited]

Definition at line 96 of file OSGMField.h.

template<class FieldTypeT, Int32 fieldNameSpace = 0>
typedef osgIF<fieldNameSpace == 1, FieldDataTraits1<FieldTypeT>, MF0Trait >::_IRet osg::MField< FieldTypeT, fieldNameSpace >::MF1Trait [inherited]

Definition at line 100 of file OSGMField.h.

template<class FieldTypeT, Int32 fieldNameSpace = 0>
typedef osgIF<fieldNameSpace == 2, FieldDataTraits2<FieldTypeT>, MF1Trait >::_IRet osg::MField< FieldTypeT, fieldNameSpace >::MFieldTraits [inherited]

Definition at line 104 of file OSGMField.h.

template<class FieldTypeT, Int32 fieldNameSpace = 0>
typedef MField<FieldTypeT, fieldNameSpace> osg::MField< FieldTypeT, fieldNameSpace >::Self [inherited]

Definition at line 106 of file OSGMField.h.

template<class FieldTypeT, Int32 fieldNameSpace = 0>
typedef FieldTypeT osg::MField< FieldTypeT, fieldNameSpace >::StoredType [inherited]

Definition at line 108 of file OSGMField.h.

template<class FieldTypeT, Int32 fieldNameSpace = 0>
typedef MFieldTraits::ArgumentType osg::MField< FieldTypeT, fieldNameSpace >::ArgumentType [inherited]

Definition at line 110 of file OSGMField.h.

template<class FieldTypeT, Int32 fieldNameSpace = 0>
typedef Field osg::MField< FieldTypeT, fieldNameSpace >::Inherited [protected, inherited]

Definition at line 294 of file OSGMField.h.


Member Function Documentation

template<class FieldTypeT , Int32 fieldNameSpace>
const FieldType & osg::MField< FieldTypeT, fieldNameSpace >::getClassType ( void   )  [inline, static, inherited]
template<class FieldTypeT , Int32 fieldNameSpace>
MField< FieldTypeT, fieldNameSpace >::reference osg::MField< FieldTypeT, fieldNameSpace >::getValue ( const UInt32  index  )  [inline, inherited]

Definition at line 500 of file OSGMField.inl.

References osg::MField< FieldTypeT, fieldNameSpace >::operator[]().

00501 {
00502     return operator[](index);
00503 }

template<class FieldTypeT , Int32 fieldNameSpace>
MField< FieldTypeT, fieldNameSpace >::const_reference osg::MField< FieldTypeT, fieldNameSpace >::getValue ( const UInt32  index  )  const [inline, inherited]

Definition at line 507 of file OSGMField.inl.

References osg::MField< FieldTypeT, fieldNameSpace >::operator[]().

00508 {
00509     return operator[](index);
00510 }

template<class FieldTypeT , Int32 fieldNameSpace>
UInt32 osg::MField< FieldTypeT, fieldNameSpace >::getSize ( void   )  const [inline, virtual, inherited]
template<class FieldTypeT , Int32 fieldNameSpace>
MField< FieldTypeT, fieldNameSpace >::StorageType & osg::MField< FieldTypeT, fieldNameSpace >::getValues ( void   )  [inline, inherited]
template<class FieldTypeT , Int32 fieldNameSpace>
const MField< FieldTypeT, fieldNameSpace >::StorageType & osg::MField< FieldTypeT, fieldNameSpace >::getValues ( void   )  const [inline, inherited]

Return a const reference to the value store

Definition at line 116 of file OSGMField.inl.

References osg::MField< FieldTypeT, fieldNameSpace >::_values.

00117 {
00118     return _values;
00119 }

template<class FieldTypeT , Int32 fieldNameSpace>
const FieldType & osg::MField< FieldTypeT, fieldNameSpace >::getType ( void   )  const [inline, virtual, inherited]

Implements osg::Field.

Definition at line 123 of file OSGMField.inl.

References osg::MField< FieldTypeT, fieldNameSpace >::_fieldType.

Referenced by osg::MField< FieldTypeT, fieldNameSpace >::setAbstrValue().

00124 {
00125     return _fieldType;
00126 }

template<class FieldTypeT , Int32 fieldNameSpace>
bool osg::MField< FieldTypeT, fieldNameSpace >::isEmpty ( void   )  const [inline, virtual, inherited]

Implements osg::Field.

Definition at line 130 of file OSGMField.inl.

References osg::MField< FieldTypeT, fieldNameSpace >::empty().

00131 {
00132     return empty();
00133 }

template<class FieldTypeT , Int32 fieldNameSpace>
void osg::MField< FieldTypeT, fieldNameSpace >::setValues ( const StorageType value  )  [inline, inherited]
template<class FieldTypeT , Int32 fieldNameSpace>
void osg::MField< FieldTypeT, fieldNameSpace >::setValues ( const StorageTypeParent value  )  [inline, inherited]

Definition at line 168 of file OSGMField.inl.

References osg::MField< FieldTypeT, fieldNameSpace >::_values.

00170 {
00171     // Hack probably move it to MFieldVector (GV)
00172 
00173     *(static_cast<StorageTypeParent *>(&_values)) = value;
00174 }

template<class FieldTypeT , Int32 fieldNameSpace>
void osg::MField< FieldTypeT, fieldNameSpace >::setValues ( const Self obj  )  [inline, inherited]

Definition at line 177 of file OSGMField.inl.

References osg::MField< FieldTypeT, fieldNameSpace >::_values.

00178 {
00179     _values = obj._values;
00180 }

template<class FieldTypeT , Int32 fieldNameSpace>
void osg::MField< FieldTypeT, fieldNameSpace >::setAbstrValue ( const Field obj  )  [inline, virtual, inherited]

Definition at line 152 of file OSGMField.inl.

References osg::Field::getType(), osg::MField< FieldTypeT, fieldNameSpace >::getType(), and osg::MField< FieldTypeT, fieldNameSpace >::setValues().

00153 {
00154     if(getType() == obj.getType())
00155     {
00156         setValues(
00157             *(static_cast<const MField<FieldTypeT, fieldNameSpace> *>(&obj)));
00158     }
00159 }

virtual void osg::Field::setAbstrValue ( const Field obj  )  [pure virtual, inherited]
template<class FieldTypeT , Int32 fieldNameSpace>
void osg::MField< FieldTypeT, fieldNameSpace >::setValue ( ArgumentType  value,
const UInt32  index 
) [inline, inherited]

Definition at line 513 of file OSGMField.inl.

References osg::MField< FieldTypeT, fieldNameSpace >::operator[]().

00515 {
00516     operator[](index) = value;
00517 }

template<class FieldTypeT , Int32 fieldNameSpace>
void osg::MField< FieldTypeT, fieldNameSpace >::addValue ( ArgumentType  value  )  [inline, inherited]

Definition at line 520 of file OSGMField.inl.

References osg::MField< FieldTypeT, fieldNameSpace >::push_back().

00521 {
00522     push_back(value);
00523 }

template<class FieldTypeT , Int32 fieldNameSpace>
MField< FieldTypeT, fieldNameSpace >::iterator osg::MField< FieldTypeT, fieldNameSpace >::begin ( void   )  [inline, inherited]

Definition at line 188 of file OSGMField.inl.

References osg::MField< FieldTypeT, fieldNameSpace >::begin().

Referenced by osg::State::activate(), osg::MField< FieldTypeT, fieldNameSpace >::begin(), osg::calcVertexTangents(), osg::calcVertexTexCoords(), osg::SwitchMaterial::changed(), osg::Node::changed(), osg::MultiSwitch::changed(), osg::MultiPassMaterial::changed(), osg::MaterialPool::changed(), osg::Image::changed(), osg::ChunkMaterial::changed(), osg::State::changeFrom(), osg::MaterialPool::clear(), osg::State::clearChunks(), osg::ChunkMaterial::clearChunks(), osg::Window::clearPorts(), osg::Geometry::CompareMaterials(), osg::PhongMaterial::createFragmentProgram(), osg::State::deactivate(), osg::MultiSwitch::draw(), osg::DisplayFilterForeground::draw(), osg::Window::drawAllViewports(), osg::State::dump(), osg::SimpleMaterial::dump(), osg::DVRLookupTable::dump(), osg::VRMLGeometryPointSetDesc::endNode(), osg::VRMLGeometryDesc::endNode(), osg::ProgramChunk::findParameter(), osg::Attachment::findParent(), osg::MaterialPool::get(), osg::StringAttributeMap::getAttribute(), osg::FCPtrAttributeMap::getAttribute(), osg::QNodeTreeView::getBranchRecursion(), osg::Image::imageContentChanged(), osg::Node::insertChild(), osg::Window::insertPort(), osg::MultiSwitch::intersect(), osg::MultiPassMaterial::isTransparent(), osg::ChunkMaterial::isTransparent(), osg::PhongMaterial::makeState(), osg::FresnelMaterial::makeState(), osg::MaterialPool::onDestroy(), osg::StringAttributeMap::operator[](), osg::FCPtrAttributeMap::operator[](), osg::PhongMaterial::rebuildState(), osg::FresnelMaterial::rebuildState(), osg::DVRClipObjects::remove(), osg::Window::renderAllViewports(), osg::StringAttributeMap::setAttribute(), osg::FCPtrAttributeMap::setAttribute(), osg::MaterialPool::sub(), osg::Node::subChild(), osg::ChunkMaterial::subChunk(), osg::SwitchMaterial::subMaterial(), osg::MultiPassMaterial::subMaterial(), osg::ShaderParameterAccess::subParameter(), osg::Window::subPort(), osg::SHLChunk::subProgramParameter(), osg::MaterialPool::sync(), osg::MultiDisplayWindow::updateViewport(), osg::Node::updateVolume(), osg::MultiPassMaterial::~MultiPassMaterial(), osg::Node::~Node(), and osg::SwitchMaterial::~SwitchMaterial().

00189 {
00190     return _values.begin();
00191 }

template<class FieldTypeT , Int32 fieldNameSpace>
MField< FieldTypeT, fieldNameSpace >::const_iterator osg::MField< FieldTypeT, fieldNameSpace >::begin ( void   )  const [inline, inherited]

Definition at line 222 of file OSGMField.inl.

References osg::MField< FieldTypeT, fieldNameSpace >::begin().

00224 {
00225     return _values.begin();
00226 }

template<class FieldTypeT , Int32 fieldNameSpace>
MField< FieldTypeT, fieldNameSpace >::iterator osg::MField< FieldTypeT, fieldNameSpace >::end ( void   )  [inline, inherited]

Definition at line 196 of file OSGMField.inl.

References osg::MField< FieldTypeT, fieldNameSpace >::end().

Referenced by osg::State::activate(), osg::SwitchMaterial::changed(), osg::Node::changed(), osg::MultiSwitch::changed(), osg::MultiPassMaterial::changed(), osg::MaterialPool::changed(), osg::Image::changed(), osg::ChunkMaterial::changed(), osg::State::changeFrom(), osg::MaterialPool::clear(), osg::State::clearChunks(), osg::ChunkMaterial::clearChunks(), osg::Window::clearPorts(), osg::Geometry::CompareMaterials(), osg::PhongMaterial::createFragmentProgram(), osg::State::deactivate(), osg::MultiSwitch::draw(), osg::DisplayFilterForeground::draw(), osg::Window::drawAllViewports(), osg::State::dump(), osg::SimpleMaterial::dump(), osg::DVRLookupTable::dump(), osg::MField< FieldTypeT, fieldNameSpace >::end(), osg::VRMLGeometryPointSetDesc::endNode(), osg::VRMLGeometryDesc::endNode(), osg::ExtrusionSurface::fillGeometry(), osg::Attachment::findParent(), osg::MaterialPool::get(), osg::StringAttributeMap::getAttribute(), osg::FCPtrAttributeMap::getAttribute(), osg::QNodeTreeView::getBranchRecursion(), osg::StringAttributeMap::hasAttribute(), osg::FCPtrAttributeMap::hasAttribute(), osg::Image::imageContentChanged(), osg::ClusterWindow::init(), osg::MultiSwitch::intersect(), osg::MultiPassMaterial::isTransparent(), osg::ChunkMaterial::isTransparent(), osg::PhongMaterial::makeState(), osg::FresnelMaterial::makeState(), osg::MaterialPool::onDestroy(), osg::StringAttributeMap::operator[](), osg::FCPtrAttributeMap::operator[](), osg::PhongMaterial::rebuildState(), osg::FresnelMaterial::rebuildState(), osg::Window::refreshGLObject(), osg::Window::reinitializeGLObject(), osg::DVRClipObjects::remove(), osg::Window::renderAllViewports(), osg::Node::replaceChildBy(), osg::Window::replacePortBy(), osg::StringAttributeMap::setAttribute(), osg::FCPtrAttributeMap::setAttribute(), osg::MaterialPool::sub(), osg::Node::subChild(), osg::NodeCore::subParent(), osg::Image::subParent(), osg::Attachment::subParent(), osg::Window::subPort(), osg::MaterialPool::sync(), osg::MultiDisplayWindow::updateViewport(), osg::Node::updateVolume(), osg::MultiPassMaterial::~MultiPassMaterial(), osg::Node::~Node(), and osg::SwitchMaterial::~SwitchMaterial().

00197 {
00198     return _values.end();
00199 }

template<class FieldTypeT , Int32 fieldNameSpace>
MField< FieldTypeT, fieldNameSpace >::const_iterator osg::MField< FieldTypeT, fieldNameSpace >::end ( void   )  const [inline, inherited]

Definition at line 231 of file OSGMField.inl.

References osg::MField< FieldTypeT, fieldNameSpace >::end().

00233 {
00234     return _values.end();
00235 }

template<class FieldTypeT , Int32 fieldNameSpace>
MField< FieldTypeT, fieldNameSpace >::reverse_iterator osg::MField< FieldTypeT, fieldNameSpace >::rbegin ( void   )  [inline, inherited]
template<class FieldTypeT , Int32 fieldNameSpace>
MField< FieldTypeT, fieldNameSpace >::const_reverse_iterator osg::MField< FieldTypeT, fieldNameSpace >::rbegin ( void   )  const [inline, inherited]

Definition at line 241 of file OSGMField.inl.

References osg::MField< FieldTypeT, fieldNameSpace >::rbegin().

00242 {
00243     return _values.rbegin();
00244 }

template<class FieldTypeT , Int32 fieldNameSpace>
MField< FieldTypeT, fieldNameSpace >::reverse_iterator osg::MField< FieldTypeT, fieldNameSpace >::rend ( void   )  [inline, inherited]
template<class FieldTypeT , Int32 fieldNameSpace>
MField< FieldTypeT, fieldNameSpace >::const_reverse_iterator osg::MField< FieldTypeT, fieldNameSpace >::rend ( void   )  const [inline, inherited]

Definition at line 250 of file OSGMField.inl.

References osg::MField< FieldTypeT, fieldNameSpace >::rend().

00251 {
00252     return _values.rend();
00253 }

template<class FieldTypeT , Int32 fieldNameSpace>
MField< FieldTypeT, fieldNameSpace >::reference osg::MField< FieldTypeT, fieldNameSpace >::front ( void   )  [inline, inherited]

Definition at line 258 of file OSGMField.inl.

References osg::MField< FieldTypeT, fieldNameSpace >::front().

Referenced by osg::MField< FieldTypeT, fieldNameSpace >::front().

00259 {
00260     return _values.front();
00261 }

template<class FieldTypeT , Int32 fieldNameSpace>
MField< FieldTypeT, fieldNameSpace >::const_reference osg::MField< FieldTypeT, fieldNameSpace >::front ( void   )  const [inline, inherited]

Definition at line 266 of file OSGMField.inl.

References osg::MField< FieldTypeT, fieldNameSpace >::front().

00268 {
00269     return _values.front();
00270 }

template<class FieldTypeT , Int32 fieldNameSpace>
MField< FieldTypeT, fieldNameSpace >::reference osg::MField< FieldTypeT, fieldNameSpace >::back ( void   )  [inline, inherited]
template<class FieldTypeT , Int32 fieldNameSpace>
MField< FieldTypeT, fieldNameSpace >::const_reference osg::MField< FieldTypeT, fieldNameSpace >::back ( void   )  const [inline, inherited]

Definition at line 283 of file OSGMField.inl.

References osg::MField< FieldTypeT, fieldNameSpace >::back().

00285 {
00286     return _values.back();
00287 }

template<class FieldTypeT , Int32 fieldNameSpace>
void osg::MField< FieldTypeT, fieldNameSpace >::clear ( void   )  [inline, inherited]
template<class FieldTypeT , Int32 fieldNameSpace>
MField< FieldTypeT, fieldNameSpace >::iterator osg::MField< FieldTypeT, fieldNameSpace >::insert ( iterator  pos,
ArgumentType  value 
) [inline, inherited]
template<class FieldTypeT , Int32 fieldNameSpace>
MField< FieldTypeT, fieldNameSpace >::iterator osg::MField< FieldTypeT, fieldNameSpace >::erase ( iterator  pos  )  [inline, inherited]
template<class FieldTypeT , Int32 fieldNameSpace>
MField< FieldTypeT, fieldNameSpace >::iterator osg::MField< FieldTypeT, fieldNameSpace >::erase ( iterator  first,
iterator  last 
) [inline, inherited]

Definition at line 316 of file OSGMField.inl.

References osg::MField< FieldTypeT, fieldNameSpace >::erase().

00319 {
00320     return _values.erase(first, last);
00321 }

template<class FieldTypeT , Int32 fieldNameSpace>
MField< FieldTypeT, fieldNameSpace >::iterator osg::MField< FieldTypeT, fieldNameSpace >::find ( ArgumentType  value  )  [inline, inherited]
template<class FieldTypeT , Int32 fieldNameSpace>
MField< FieldTypeT, fieldNameSpace >::const_iterator osg::MField< FieldTypeT, fieldNameSpace >::find ( ArgumentType  value  )  const [inline, inherited]

Definition at line 335 of file OSGMField.inl.

00337 {
00338     return STD::find(_values.begin(), _values.end(), value);
00339 }

template<class FieldTypeT , Int32 fieldNameSpace>
void osg::MField< FieldTypeT, fieldNameSpace >::push_back ( ArgumentType  value  )  [inline, inherited]

Definition at line 342 of file OSGMField.inl.

References osg::MField< FieldTypeT, fieldNameSpace >::_values.

Referenced by osg::MaterialPool::add(), osg::DVRClipObjects::add(), osg::Node::addChild(), osg::ChunkMaterial::addChunk(), osg::Surface::addCurve(), osg::SimpleStatisticsForeground::addElement(), osg::GraphicStatisticsForeground::addElement(), osg::Viewport::addForeground(), osg::ImageForeground::addImage(), osg::GradientBackground::addLine(), osg::SwitchMaterial::addMaterial(), osg::MultiPassMaterial::addMaterial(), osg::NodeCore::addParent(), osg::Image::addParent(), osg::Attachment::addParent(), osg::Window::addPort(), osg::SHLChunk::addProgramParameter(), osg::MField< FieldTypeT, fieldNameSpace >::addValue(), osg::calcFaceNormals(), osg::Surface::calcIndexMapping(), osg::calcVertexNormals(), osg::calcVertexTangents(), osg::calcVertexTexCoords(), osg::SortFirstWindow::clientPreSync(), osg::ExtrusionSurface::fillGeometry(), osg::ClusterWindow::loadCalibration(), osg::ClusterWindow::loadFilter(), osg::Geometry::merge(), osg::StringAttributeMap::operator[](), osg::FCPtrAttributeMap::operator[](), osg::MField< FieldTypeT, fieldNameSpace >::pushValueByStr(), osg::Surface::readfromtso(), osg::FBOViewport::render(), osg::StringAttributeMap::setAttribute(), osg::FCPtrAttributeMap::setAttribute(), osg::MultiSwitch::setBitfield(), osg::ShaderParameterAccess::setMParameter(), osg::ShaderParameterAccess::setParameter(), osg::GeoTypeGraphOp::travNodeEnter(), and osg::MultiDisplayWindow::updateViewport().

00343 {
00344     _values.push_back(value);
00345 }

template<class FieldTypeT, Int32 fieldNameSpace>
void osg::MField< FieldTypeT, fieldNameSpace >::resize ( size_t  newsize,
FieldTypeT  t = FieldTypeT() 
) [inline, inherited]
template<class FieldTypeT , Int32 fieldNameSpace>
void osg::MField< FieldTypeT, fieldNameSpace >::reserve ( size_t  newsize  )  [inline, inherited]
template<class FieldTypeT , Int32 fieldNameSpace>
UInt32 osg::MField< FieldTypeT, fieldNameSpace >::size ( void   )  const [inline, inherited]

Definition at line 360 of file OSGMField.inl.

References osg::MField< FieldTypeT, fieldNameSpace >::_values.

Referenced by osg::PolygonChunk::activate(), osg::SharePtrGraphOp::addAttachmentParent(), osg::State::addChunk(), osg::ChunkMaterial::addChunk(), osg::ChunkMaterial::addChunks(), osg::Surface::addCurve(), osg::QFCItem::addParents(), osg::Particles::adjustVolume(), osg::ParticleBSPTree::build(), osg::calcFaceNormals(), osg::Particles::calcIndex(), osg::Geometry::calcMappingIndex(), osg::calcVertexNormals(), osg::calcVertexTangents(), osg::calcVertexTexCoords(), osg::SkyBackground::changed(), osg::ProxyGroup::changed(), osg::Particles::changed(), osg::GraphicStatisticsForeground::changed(), osg::Geometry::changed(), osg::DVRLookupTable::changed(), osg::State::changeFrom(), osg::PolygonChunk::changeFrom(), osg::SHLChunk::checkOSGParameters(), osg::State::chunkPresent(), osg::PolygonBackground::clear(), osg::GradientBackground::clear(), osg::SharePtrGraphOp::clearAttachmentParent(), osg::Viewport::clearForegrounds(), osg::ShaderParameterChunk::clearUniformParameters(), osg::MultiDisplayWindow::clientInit(), osg::SortFirstWindow::clientPreSync(), osg::SortFirstWindow::clientSwap(), osg::Geometry::CompareMaterials(), compareMField(), osg::Surface::convertSurface(), osg::DVRClipObjects::count(), osg::DisplayCalibration::createCMViewports(), osg::DistortionDisplayFilter::createFilter(), osg::PolygonChunk::deactivate(), osg::Window::doInitRegisterGLObject(), osg::Viewport::draw(), osg::SimpleStatisticsForeground::draw(), osg::PolygonForeground::draw(), osg::ImageForeground::draw(), osg::GraphicStatisticsForeground::draw(), osg::DistanceLOD::draw(), osg::DisplayFilterForeground::draw(), osg::Particles::drawPrimitives(), osg::NodeCore::dump(), osg::Node::dump(), osg::Geometry::dump(), osg::DVRLookupTable::dump(), osg::ChunkMaterial::dump(), osg::Attachment::dump(), osg::VRMLInlineDesc::endNode(), osg::VRMLImageTextureDesc::endNode(), osg::VRMLGeometryPointSetDesc::endNode(), osg::VRMLGeometryDesc::endNode(), osg::ExtrusionSurface::fillGeometry(), osg::MaterialPool::find(), osg::ChunkMaterial::find(), osg::Node::findChild(), osg::Surface::FindClosestPoint(), osg::Particles::findDrawer(), osg::MaterialPool::get(), osg::Node::getChild(), osg::State::getChunk(), osg::MaterialPool::getCount(), osg::SwitchMaterial::getCurrentMaterial(), osg::GeoPumpFactory::getIndex(), osg::SwitchMaterial::getMaterial(), osg::Node::getNChildren(), osg::SwitchMaterial::getNPasses(), osg::MultiPassMaterial::getNPasses(), osg::SHLChunk::getProgramParameter(), osg::SHLChunk::getProgramParameters(), osg::SwitchMaterial::getRealSortKey(), osg::MField< FieldTypeT, fieldNameSpace >::getSize(), osg::SwitchMaterial::getState(), osg::MultiPassMaterial::getState(), osg::ProgramChunk::handleGL(), osg::SwitchMaterial::hasMaterial(), osg::MultiPassMaterial::hasMaterial(), NormalTraitGeneric3f::init(), TexTraitGeneric::init(), SizeTraitGeneric::init(), osg::ClusterWindow::init(), osg::DVRClipObjects::initialize(), osg::NodeCore::invalidateVolume(), osg::SwitchMaterial::isMultiPass(), osg::SwitchMaterial::isTransparent(), osg::SwitchMaterial::makeState(), osg::GeoPumpFactory::masterGeoPump(), osg::Geometry::merge0(), osg::Geometry::merge3(), osg::Geometry::merge5(), osg::Geometry::MergeIndex(), osg::MaterialPool::onDestroy(), osg::SHLParameterChunk::operator==(), osg::SHLChunk::operator==(), osg::ProgramChunk::operator==(), osg::PolygonChunk::operator==(), osg::StringAttributeMap::operator[](), osg::FCPtrAttributeMap::operator[](), osg::SwitchMaterial::rebuildState(), osg::MultiPassMaterial::rebuildState(), osg::Window::refreshGLObject(), osg::Window::reinitializeGLObject(), osg::GraphicStatisticsForeground::removeElement(), osg::Viewport::render(), osg::FBOViewport::render(), osg::Node::replaceChild(), osg::ClusterWindow::saveCalibration(), osg::SortFirstWindow::serverRender(), osg::MultiDisplayWindow::serverRender(), osg::ClusterWindow::serverRender(), osg::ShaderParameterAccess::setMParameter(), osg::ShaderParameterAccess::setParameter(), osg::DVRClipObjects::setReferencePlane(), osg::DVRLookupTable::setTouched(), osg::QFCItem::setup(), osg::State::subChunk(), osg::ChunkMaterial::subChunk(), osg::SwitchMaterial::subMaterial(), osg::MultiPassMaterial::subMaterial(), osg::SHLChunk::subProgramParameter(), osg::MaterialPool::sync(), osg::GeoTypeGraphOp::travNodeEnter(), osg::Geometry::updateCachedGeoStat(), osg::ClusterWindow::updateFilter(), osg::DisplayCalibration::updateGamma(), osg::Geometry::updateLowHighIndices(), osg::ShaderParameterAccess::updateMap(), osg::SHLChunk::updateParameterLocations(), osg::SHLChunk::updateParameters(), osg::SHLChunk::updateProgramParameters(), osg::MultiDisplayWindow::updateViewport(), osg::Window::validateGLObject(), osg::OSGWriter::visitField(), osg::OSGWriter::writeField(), and osg::SwitchMaterial::~SwitchMaterial().

00361 {
00362     return _values.size();
00363 }

template<class FieldTypeT , Int32 fieldNameSpace>
UInt32 osg::MField< FieldTypeT, fieldNameSpace >::capacity ( void   )  const [inline, inherited]

Definition at line 366 of file OSGMField.inl.

References osg::MField< FieldTypeT, fieldNameSpace >::_values.

00367 {
00368     return _values.capacity();
00369 }

template<class FieldTypeT , Int32 fieldNameSpace>
bool osg::MField< FieldTypeT, fieldNameSpace >::empty ( void   )  const [inline, inherited]
template<class FieldTypeT , Int32 fieldNameSpace>
void osg::MField< FieldTypeT, fieldNameSpace >::swap ( MField< FieldTypeT, fieldNameSpace > &  right  )  [inline, inherited]

Definition at line 378 of file OSGMField.inl.

References osg::MField< FieldTypeT, fieldNameSpace >::_values.

Referenced by osg::Image::createData().

00379 {
00380     _values.swap(right._values);
00381 }

template<class FieldTypeT , Int32 fieldNameSpace>
MField< FieldTypeT, fieldNameSpace >::reference osg::MField< FieldTypeT, fieldNameSpace >::operator[] ( UInt32  index  )  [inline, inherited]
template<class FieldTypeT , Int32 fieldNameSpace>
MField< FieldTypeT, fieldNameSpace >::const_reference osg::MField< FieldTypeT, fieldNameSpace >::operator[] ( UInt32  index  )  const [inline, inherited]

Definition at line 492 of file OSGMField.inl.

References osg::MField< FieldTypeT, fieldNameSpace >::_values.

00493 {
00494     return _values[index];
00495 }

template<class FieldTypeT , Int32 fieldNameSpace>
void osg::MField< FieldTypeT, fieldNameSpace >::pushValueByStr ( const Char8 str  )  [inline, virtual, inherited]

Implements osg::Field.

Definition at line 387 of file OSGMField.inl.

References osg::FieldTraits::FromStringConvertable, and osg::MField< FieldTypeT, fieldNameSpace >::push_back().

00388 {
00389     FieldTypeT  tmpVal = FieldTypeT();
00390 
00391     typedef typename osgIF< (MFieldTraits::StringConvertable &
00392                              FieldTraits ::FromStringConvertable), 
00393                             MFieldTraits, 
00394                             ErrorFromToString<FieldTypeT> >::_IRet Converter;
00395     
00396     Converter::getFromString(tmpVal, str);
00397     
00398     push_back(tmpVal);
00399 }

template<class FieldTypeT , Int32 fieldNameSpace>
std::string & osg::MField< FieldTypeT, fieldNameSpace >::getValueByStr ( std::string &  str  )  const [inline, virtual, inherited]

Implements osg::Field.

Definition at line 403 of file OSGMField.inl.

References osg::FieldTraits::ToStringConvertable.

00404 {
00405     std::string tmpString;
00406 
00407     typedef typename osgIF< (MFieldTraits::StringConvertable &
00408                              FieldTraits ::ToStringConvertable),
00409                             MFieldTraits,
00410                             ErrorFromToString<FieldTypeT> >::_IRet Converter;
00411 
00412     for(UInt32 i = 0; i < size(); ++i)
00413     {
00414         Converter::putToString(_values[i], tmpString);
00415 
00416         str.append(tmpString);
00417 
00418         if(i < (size()-1))
00419         {
00420             str.append(", ");
00421         }
00422     }
00423 
00424     return str;
00425 }

template<class FieldTypeT , Int32 fieldNameSpace>
std::string & osg::MField< FieldTypeT, fieldNameSpace >::getValueByStr ( std::string &  str,
StringConversionStateBase state 
) const [inline, virtual, inherited]

Implements osg::Field.

Definition at line 429 of file OSGMField.inl.

References osg::MField< FieldTypeT, fieldNameSpace >::erase(), and osg::FieldTraits::ToStringConvertable.

00432 {
00433     std::string valStr;
00434 
00435     typedef typename osgIF< (MFieldTraits::StringConvertable &
00436                              FieldTraits ::ToStringConvertable),
00437                             MFieldTraits,
00438                             ErrorFromToString<FieldTypeT> >::_IRet Converter;
00439 
00440     state.beginField(this, outStr);
00441 
00442     for(UInt32 i = 0; i < size(); ++i)
00443     {
00444         valStr.erase();
00445         Converter::putToString(_values[i], valStr);
00446 
00447         state.addValueStr(valStr, outStr);
00448     }
00449 
00450     state.endField(this, outStr);
00451     
00452     return outStr;
00453 }

template<class FieldTypeT , Int32 fieldNameSpace>
std::string & osg::MField< FieldTypeT, fieldNameSpace >::getValueByStr ( std::string &  str,
UInt32  index 
) const [inline, virtual, inherited]

Implements osg::Field.

Definition at line 457 of file OSGMField.inl.

References osg::FieldTraits::ToStringConvertable.

00460 {
00461     if(index >= size())
00462     {
00463         return str;
00464     }
00465 
00466     std::string tmpString;
00467 
00468     typedef typename osgIF< (MFieldTraits::StringConvertable &
00469                              FieldTraits::ToStringConvertable),
00470                             MFieldTraits,
00471                             ErrorFromToString<FieldTypeT> >::_IRet Converter;
00472 
00473     Converter::putToString(_values[index], tmpString);
00474 
00475     str.append(tmpString);
00476 
00477     return str;
00478 }

template<class FieldTypeT , Int32 fieldNameSpace>
void osg::MField< FieldTypeT, fieldNameSpace >::syncWith ( Self source  )  [inline, inherited]

Definition at line 537 of file OSGMField.inl.

References osg::MField< FieldTypeT, fieldNameSpace >::setValues().

Referenced by osg::WindowBase::executeSyncImpl(), osg::ViewportBase::executeSyncImpl(), osg::TextureChunkBase::executeSyncImpl(), osg::TextureBackgroundBase::executeSyncImpl(), osg::SwitchMaterialBase::executeSyncImpl(), osg::SurfaceBase::executeSyncImpl(), osg::StringAttributeMapBase::executeSyncImpl(), osg::StatisticsForegroundBase::executeSyncImpl(), osg::StateBase::executeSyncImpl(), osg::SortFirstWindowBase::executeSyncImpl(), osg::SkyBackgroundBase::executeSyncImpl(), osg::SimpleStatisticsForegroundBase::executeSyncImpl(), osg::SHLChunkBase::executeSyncImpl(), osg::ShaderParameterMVec4fBase::executeSyncImpl(), osg::ShaderParameterMVec3fBase::executeSyncImpl(), osg::ShaderParameterMVec2fBase::executeSyncImpl(), osg::ShaderParameterMRealBase::executeSyncImpl(), osg::ShaderParameterMMatrixBase::executeSyncImpl(), osg::ShaderParameterMIntBase::executeSyncImpl(), osg::ShaderParameterChunkBase::executeSyncImpl(), osg::RegisterCombinersChunkBase::executeSyncImpl(), osg::ProxyGroupBase::executeSyncImpl(), osg::ProjectionCameraDecoratorBase::executeSyncImpl(), osg::ProgramChunkBase::executeSyncImpl(), osg::PolygonForegroundBase::executeSyncImpl(), osg::PolygonChunkBase::executeSyncImpl(), osg::PolygonBackgroundBase::executeSyncImpl(), osg::ParticlesBase::executeSyncImpl(), osg::Node::executeSyncImpl(), osg::NodeCore::executeSyncImpl(), osg::MultiSwitchBase::executeSyncImpl(), osg::MultiPassMaterialBase::executeSyncImpl(), osg::MaterialPoolBase::executeSyncImpl(), osg::InlineBase::executeSyncImpl(), osg::ImageForegroundBase::executeSyncImpl(), osg::ImageBase::executeSyncImpl(), osg::GraphicStatisticsForegroundBase::executeSyncImpl(), osg::GradientBackgroundBase::executeSyncImpl(), osg::GeometryBase::executeSyncImpl(), osg::FCPtrAttributeMapBase::executeSyncImpl(), osg::FBOViewportBase::executeSyncImpl(), osg::DVRVolumeTextureBase::executeSyncImpl(), osg::DVRVolumeBase::executeSyncImpl(), osg::DVRLookupTableBase::executeSyncImpl(), osg::DVRClipObjectsBase::executeSyncImpl(), osg::DistortionDisplayFilterBase::executeSyncImpl(), osg::DistanceLODBase::executeSyncImpl(), osg::DisplayFilterForegroundBase::executeSyncImpl(), osg::DisplayCalibrationBase::executeSyncImpl(), osg::ColorDisplayFilterBase::executeSyncImpl(), osg::ClusterWindowBase::executeSyncImpl(), osg::ChunkMaterialBase::executeSyncImpl(), and osg::Attachment::executeSyncImpl().

00538 {
00539     setValues(source);
00540 }

template<class FieldTypeT , Int32 fieldNameSpace>
UInt32 osg::MField< FieldTypeT, fieldNameSpace >::getBinSize ( void   )  const [inline, inherited]

Definition at line 704 of file OSGMField.inl.

References osg::MField< FieldTypeT, fieldNameSpace >::_values, and osg::FieldTraitsRecurseMapper2< FieldTypeT, false >::getBinSize().

Referenced by osg::WindowBase::getBinSize(), osg::ViewportBase::getBinSize(), osg::TextureChunkBase::getBinSize(), osg::TextureBackgroundBase::getBinSize(), osg::SwitchMaterialBase::getBinSize(), osg::SurfaceBase::getBinSize(), osg::StringAttributeMapBase::getBinSize(), osg::StatisticsForegroundBase::getBinSize(), osg::StateBase::getBinSize(), osg::SortFirstWindowBase::getBinSize(), osg::SkyBackgroundBase::getBinSize(), osg::SimpleStatisticsForegroundBase::getBinSize(), osg::SHLChunkBase::getBinSize(), osg::ShaderParameterMVec4fBase::getBinSize(), osg::ShaderParameterMVec3fBase::getBinSize(), osg::ShaderParameterMVec2fBase::getBinSize(), osg::ShaderParameterMRealBase::getBinSize(), osg::ShaderParameterMMatrixBase::getBinSize(), osg::ShaderParameterMIntBase::getBinSize(), osg::ShaderParameterChunkBase::getBinSize(), osg::RegisterCombinersChunkBase::getBinSize(), osg::ProxyGroupBase::getBinSize(), osg::ProjectionCameraDecoratorBase::getBinSize(), osg::ProgramChunkBase::getBinSize(), osg::PolygonForegroundBase::getBinSize(), osg::PolygonChunkBase::getBinSize(), osg::PolygonBackgroundBase::getBinSize(), osg::ParticlesBase::getBinSize(), osg::Node::getBinSize(), osg::NodeCore::getBinSize(), osg::MultiSwitchBase::getBinSize(), osg::MultiPassMaterialBase::getBinSize(), osg::MaterialPoolBase::getBinSize(), osg::InlineBase::getBinSize(), osg::ImageForegroundBase::getBinSize(), osg::ImageBase::getBinSize(), osg::GraphicStatisticsForegroundBase::getBinSize(), osg::GradientBackgroundBase::getBinSize(), osg::GeometryBase::getBinSize(), osg::FCPtrAttributeMapBase::getBinSize(), osg::FBOViewportBase::getBinSize(), osg::DVRVolumeTextureBase::getBinSize(), osg::DVRVolumeBase::getBinSize(), osg::DVRLookupTableBase::getBinSize(), osg::DVRClipObjectsBase::getBinSize(), osg::DistortionDisplayFilterBase::getBinSize(), osg::DistanceLODBase::getBinSize(), osg::DisplayFilterForegroundBase::getBinSize(), osg::DisplayCalibrationBase::getBinSize(), osg::ColorDisplayFilterBase::getBinSize(), osg::ClusterWindowBase::getBinSize(), osg::ChunkMaterialBase::getBinSize(), and osg::Attachment::getBinSize().

00705 {
00706     return sizeof(UInt32) + // num elements
00707         (_values.size() ? 
00708             MFieldTraits::getBinSize(&(_values[0]), _values.size()) : 0);
00709 }

template<>
UInt32 osg::MField< bool, 2 >::getBinSize ( void   )  const [inline, inherited]

Definition at line 78 of file OSGMFSysTypes.h.

References osg::MField< FieldTypeT, fieldNameSpace >::_values.

00079 {
00080     return sizeof(UInt32) + // num elements
00081            sizeof(UInt8) * _values.size();
00082 }

template<class FieldTypeT , Int32 fieldNameSpace>
void osg::MField< FieldTypeT, fieldNameSpace >::copyToBin ( BinaryDataHandler pMem  )  const [inline, inherited]

Definition at line 713 of file OSGMField.inl.

Referenced by osg::WindowBase::copyToBin(), osg::ViewportBase::copyToBin(), osg::TextureChunkBase::copyToBin(), osg::TextureBackgroundBase::copyToBin(), osg::SwitchMaterialBase::copyToBin(), osg::SurfaceBase::copyToBin(), osg::StringAttributeMapBase::copyToBin(), osg::StatisticsForegroundBase::copyToBin(), osg::StateBase::copyToBin(), osg::SortFirstWindowBase::copyToBin(), osg::SkyBackgroundBase::copyToBin(), osg::SimpleStatisticsForegroundBase::copyToBin(), osg::SHLChunkBase::copyToBin(), osg::ShaderParameterMVec4fBase::copyToBin(), osg::ShaderParameterMVec3fBase::copyToBin(), osg::ShaderParameterMVec2fBase::copyToBin(), osg::ShaderParameterMRealBase::copyToBin(), osg::ShaderParameterMMatrixBase::copyToBin(), osg::ShaderParameterMIntBase::copyToBin(), osg::ShaderParameterChunkBase::copyToBin(), osg::RegisterCombinersChunkBase::copyToBin(), osg::ProxyGroupBase::copyToBin(), osg::ProjectionCameraDecoratorBase::copyToBin(), osg::ProgramChunkBase::copyToBin(), osg::PolygonForegroundBase::copyToBin(), osg::PolygonChunkBase::copyToBin(), osg::PolygonBackgroundBase::copyToBin(), osg::ParticlesBase::copyToBin(), osg::Node::copyToBin(), osg::NodeCore::copyToBin(), osg::MultiSwitchBase::copyToBin(), osg::MultiPassMaterialBase::copyToBin(), osg::MaterialPoolBase::copyToBin(), osg::InlineBase::copyToBin(), osg::ImageForegroundBase::copyToBin(), osg::ImageBase::copyToBin(), osg::GraphicStatisticsForegroundBase::copyToBin(), osg::GradientBackgroundBase::copyToBin(), osg::GeometryBase::copyToBin(), osg::FCPtrAttributeMapBase::copyToBin(), osg::FBOViewportBase::copyToBin(), osg::DVRVolumeTextureBase::copyToBin(), osg::DVRVolumeBase::copyToBin(), osg::DVRLookupTableBase::copyToBin(), osg::DVRClipObjectsBase::copyToBin(), osg::DistortionDisplayFilterBase::copyToBin(), osg::DistanceLODBase::copyToBin(), osg::DisplayFilterForegroundBase::copyToBin(), osg::DisplayCalibrationBase::copyToBin(), osg::ColorDisplayFilterBase::copyToBin(), osg::ClusterWindowBase::copyToBin(), osg::ChunkMaterialBase::copyToBin(), and osg::Attachment::copyToBin().

00714 {
00715     UInt32 n = _values.size();
00716 
00717     pMem.putValue(n);
00718     if(n)
00719         MFieldTraits::copyToBin(   pMem, 
00720                                 &(_values[0]),
00721                                   _values.size());
00722 }

template<>
void osg::MField< bool, 2 >::copyToBin ( BinaryDataHandler pMem  )  const [inline, inherited]

Definition at line 85 of file OSGMFSysTypes.h.

References osg::MField< FieldTypeT, fieldNameSpace >::_values, and osg::BinaryDataHandler::putValue().

00086 {
00087     UInt32 n = _values.size();
00088 
00089     pMem.putValue(n);
00090 
00091     for(UInt32 i = 0; i < n; ++i)
00092     {
00093         UInt8 bval = _values[i];
00094 
00095         pMem.putValue(bval);
00096     }
00097 }

template<class FieldTypeT , Int32 fieldNameSpace>
void osg::MField< FieldTypeT, fieldNameSpace >::copyFromBin ( BinaryDataHandler pMem  )  [inline, inherited]

Definition at line 725 of file OSGMField.inl.

References osg::MField< FieldTypeT, fieldNameSpace >::_values, osg::FieldTraitsRecurseMapper2< FieldTypeT, false >::copyFromBin(), and osg::BinaryDataHandler::getValue().

Referenced by osg::WindowBase::copyFromBin(), osg::ViewportBase::copyFromBin(), osg::TextureChunkBase::copyFromBin(), osg::TextureBackgroundBase::copyFromBin(), osg::SwitchMaterialBase::copyFromBin(), osg::SurfaceBase::copyFromBin(), osg::StringAttributeMapBase::copyFromBin(), osg::StatisticsForegroundBase::copyFromBin(), osg::StateBase::copyFromBin(), osg::SortFirstWindowBase::copyFromBin(), osg::SkyBackgroundBase::copyFromBin(), osg::SimpleStatisticsForegroundBase::copyFromBin(), osg::SHLChunkBase::copyFromBin(), osg::ShaderParameterMVec4fBase::copyFromBin(), osg::ShaderParameterMVec3fBase::copyFromBin(), osg::ShaderParameterMVec2fBase::copyFromBin(), osg::ShaderParameterMRealBase::copyFromBin(), osg::ShaderParameterMMatrixBase::copyFromBin(), osg::ShaderParameterMIntBase::copyFromBin(), osg::ShaderParameterChunkBase::copyFromBin(), osg::RegisterCombinersChunkBase::copyFromBin(), osg::ProxyGroupBase::copyFromBin(), osg::ProjectionCameraDecoratorBase::copyFromBin(), osg::ProgramChunkBase::copyFromBin(), osg::PolygonForegroundBase::copyFromBin(), osg::PolygonChunkBase::copyFromBin(), osg::PolygonBackgroundBase::copyFromBin(), osg::ParticlesBase::copyFromBin(), osg::Node::copyFromBin(), osg::NodeCore::copyFromBin(), osg::MultiSwitchBase::copyFromBin(), osg::MultiPassMaterialBase::copyFromBin(), osg::MaterialPoolBase::copyFromBin(), osg::InlineBase::copyFromBin(), osg::ImageForegroundBase::copyFromBin(), osg::ImageBase::copyFromBin(), osg::GraphicStatisticsForegroundBase::copyFromBin(), osg::GradientBackgroundBase::copyFromBin(), osg::GeometryBase::copyFromBin(), osg::FCPtrAttributeMapBase::copyFromBin(), osg::FBOViewportBase::copyFromBin(), osg::DVRVolumeTextureBase::copyFromBin(), osg::DVRVolumeBase::copyFromBin(), osg::DVRLookupTableBase::copyFromBin(), osg::DVRClipObjectsBase::copyFromBin(), osg::DistortionDisplayFilterBase::copyFromBin(), osg::DistanceLODBase::copyFromBin(), osg::DisplayFilterForegroundBase::copyFromBin(), osg::DisplayCalibrationBase::copyFromBin(), osg::ColorDisplayFilterBase::copyFromBin(), osg::ClusterWindowBase::copyFromBin(), osg::ChunkMaterialBase::copyFromBin(), and osg::Attachment::copyFromBin().

00726 {
00727     UInt32 n;
00728 
00729      pMem  .getValue(n);
00730     _values.clear ( );
00731 
00732 #ifdef __hpux
00733     FieldTypeT tmpVal;
00734 
00735     _values.resize(n, tmpVal);
00736 #else
00737     _values.resize(n);
00738 #endif
00739 
00740     if(n)
00741         MFieldTraits::copyFromBin(pMem, 
00742                                   &(_values[0]),
00743                                   n);
00744 }

template<>
void osg::MField< bool, 2 >::copyFromBin ( BinaryDataHandler pMem  )  [inline, inherited]

Definition at line 100 of file OSGMFSysTypes.h.

References osg::MField< FieldTypeT, fieldNameSpace >::_values, and osg::BinaryDataHandler::getValue().

00101 {
00102     UInt32 n;
00103     
00104      pMem  .getValue(n);
00105     _values.clear ( );
00106 
00107 #ifdef __hpux
00108     bool tmpVal;
00109 
00110     _values.resize(n, tmpVal);
00111 #else
00112     _values.resize(n);
00113 #endif
00114 
00115     UInt8 tmpBVal;
00116 
00117     for(UInt32 i = 0; i < n; ++i)
00118     {
00119         pMem.getValue(tmpBVal);
00120 
00121         _values[i] = (tmpBVal != 0);
00122     }
00123 }

template<class FieldTypeT , Int32 fieldNameSpace>
void osg::MField< FieldTypeT, fieldNameSpace >::dump ( void   )  const [inline, virtual, inherited]

Implements osg::Field.

Definition at line 750 of file OSGMField.inl.

References osg::MField< FieldTypeT, fieldNameSpace >::_values.

Referenced by osg::Node::dump().

00751 {
00752     std::cout << "STMFST : " << std::endl;
00753 
00754     for(UInt32 i = 0; i < _values.size(); i++)
00755     {
00756 //        cout << _values[i] << " , ";
00757     }
00758 
00759     std::cout << std::endl;
00760 }

template<class FieldTypeT , Int32 fieldNameSpace>
Field * osg::MField< FieldTypeT, fieldNameSpace >::create ( void   )  [inline, static, protected, inherited]

Definition at line 766 of file OSGMField.inl.

00767 {
00768     return new MField<FieldTypeT, fieldNameSpace>(); 
00769 }

const DataType & Field::getContentType ( void   )  const [inherited]
FieldType::Cardinality Field::getCardinality ( void   )  const [inherited]

Member Data Documentation

template<class FieldTypeT, Int32 fieldNameSpace = 0>
const FieldType osg::MField< FieldTypeT, fieldNameSpace >::_fieldType [static, protected, inherited]
template<class FieldTypeT, Int32 fieldNameSpace = 0>
StorageType osg::MField< FieldTypeT, fieldNameSpace >::_values [protected, inherited]
template<class FieldTypeT, Int32 fieldNameSpace = 0>
UInt32 osg::MField< FieldTypeT, fieldNameSpace >::_uiSharedWith [protected, inherited]

Definition at line 303 of file OSGMField.h.


The documentation for this class was generated from the following file:

Generated on 8 Feb 2010 for OpenSG by  doxygen 1.6.1