osg::VRMLExtrusionDesc Class Reference
[VRML-specific File Input/Output]

VRML Extrusion Desc. More...

#include <OSGVRMLNodeDescs.h>

Inheritance diagram for osg::VRMLExtrusionDesc:

osg::VRMLNodeDesc

List of all members.

Member



static UInt32 _uiIndent = 0
FieldNameTypeHash _mFieldTypes
GenericAttPtr _pGenAtt
FieldContainerPtr _pNodeProto
FieldContainerPtr _pNodeCoreProto
Field_pCurrField
std::string _szCurrentName
bool _bSaveOnEnd
FieldgetField (FieldContainerPtr pFC1, FieldContainerPtr pFC2, GenericAttPtr pGenAtt, const Char8 *szFieldname)

Public Member Functions

Constructors


 VRMLExtrusionDesc (void)
Destructor


virtual ~VRMLExtrusionDesc (void)
Helper


virtual void init (const Char8 *szName)
Field


virtual bool prototypeAddField (const Char8 *szFieldType, const UInt32 uiFieldTypeId, const Char8 *szFieldName)
virtual void endProtoInterface (void)
virtual void getFieldAndDesc (FieldContainerPtr pFC, const Char8 *szFieldname, Field *&pField, const FieldDescription *&pDesc)
Node


virtual FieldContainerPtr beginNode (const Char8 *szTypename, const Char8 *szName, FieldContainerPtr pCurrentFC)
virtual void endNode (FieldContainerPtr)
Dump


virtual void dump (const Char8 *szNodeName)
Helper


virtual void reset (void)
virtual void setOnEndSave (const Char8 *szName)
virtual void clearOnEndSave (void)
virtual bool getOnEndSave (void)
virtual const Char8getSavename (void)
virtual FieldContainerPtr getSaveFieldContainer (void)
Field


virtual FieldgetField (const Char8 *szFieldname)
Prototypes


virtual void prototypeAddFieldValue (const Char8 *szFieldVal)
FieldValue


virtual void addFieldValue (Field *pField, const Char8 *szFieldVal)
virtual bool use (FieldContainerPtr)

Static Public Member Functions

Class Get


static UInt32 getIndent (void)
static void incIndent (void)
static void decIndent (void)
static void resetIndent (void)

Protected Types

typedef std::map< const Char8
*, UInt32, LTString
FieldNameTypeHash

Private Types

typedef VRMLNodeDesc Inherited

Private Member Functions

 VRMLExtrusionDesc (const VRMLExtrusionDesc &source)
 prohibit default function (move to 'public' if needed)
void operator= (const VRMLExtrusionDesc &source)
 prohibit default function (move to 'public' if needed)


Detailed Description

VRML Extrusion description

Definition at line 1572 of file OSGVRMLNodeDescs.h.


Member Typedef Documentation

Definition at line 1643 of file OSGVRMLNodeDescs.h.

typedef std::map< const Char8 *, UInt32, LTString> osg::VRMLNodeDesc::FieldNameTypeHash [protected, inherited]

Definition at line 298 of file OSGVRMLNodeDescs.h.


Constructor & Destructor Documentation

VRMLExtrusionDesc::VRMLExtrusionDesc ( void   ) 

Definition at line 4571 of file OSGVRMLNodeDescs.cpp.

04571                                          :
04572      Inherited()
04573 {
04574 }

VRMLExtrusionDesc::~VRMLExtrusionDesc ( void   )  [virtual]

Definition at line 4579 of file OSGVRMLNodeDescs.cpp.

04580 {
04581 }

osg::VRMLExtrusionDesc::VRMLExtrusionDesc ( const VRMLExtrusionDesc source  )  [private]


Member Function Documentation

void VRMLExtrusionDesc::init ( const Char8 szName  )  [virtual]

Reimplemented from osg::VRMLNodeDesc.

Definition at line 4586 of file OSGVRMLNodeDescs.cpp.

References osg::VRMLNodeDesc::_pGenAtt, osg::VRMLNodeDesc::_pNodeProto, osg::DynFieldAttachment< AttachmentDescT >::create(), osg::Node::create(), osg::VRMLNodeDesc::getIndent(), osg::indentLog(), and PINFO.

04587 {
04588 #ifdef OSG_DEBUG_VRML
04589     indentLog(getIndent(), PINFO);
04590     PINFO << "ExtrusionDesc::init : " << szName << std::endl;
04591 #endif
04592 
04593     _pNodeProto     = Node::create();
04594 //    _pNodeCoreProto = Group::create();
04595 
04596     _pGenAtt        = GenericAtt::create();
04597     _pGenAtt->setInternal(true);
04598 }

bool VRMLExtrusionDesc::prototypeAddField ( const Char8 szFieldType,
const UInt32  uiFieldTypeId,
const Char8 szFieldName 
) [virtual]

Reimplemented from osg::VRMLNodeDesc.

Definition at line 4603 of file OSGVRMLNodeDescs.cpp.

References osg::VRMLNodeDesc::_pCurrField, and osg::VRMLNodeDesc::prototypeAddField().

04606 {
04607     _pCurrField = NULL;
04608 
04609     return Inherited::prototypeAddField(szFieldType,
04610                                         uiFieldTypeId,
04611                                         szFieldname);
04612 }

void VRMLExtrusionDesc::endProtoInterface ( void   )  [virtual]

Reimplemented from osg::VRMLNodeDesc.

Definition at line 4614 of file OSGVRMLNodeDescs.cpp.

04615 {
04616 }

void VRMLExtrusionDesc::getFieldAndDesc ( FieldContainerPtr  pFC,
const Char8 szFieldname,
Field *&  pField,
const FieldDescription *&  pDesc 
) [virtual]

Reimplemented from osg::VRMLNodeDesc.

Definition at line 4618 of file OSGVRMLNodeDescs.cpp.

References osg::VRMLNodeDesc::decIndent(), osg::VRMLNodeDesc::getFieldAndDesc(), osg::VRMLNodeDesc::getIndent(), osg::VRMLNodeDesc::incIndent(), osg::indentLog(), osg::NullFC, and PINFO.

04623 {
04624 #ifdef OSG_DEBUG_VRML
04625     indentLog(getIndent(), PINFO);
04626     PINFO << "VRMLExtrusionDesc::getFieldAndDesc : looking for "
04627           << szFieldname
04628           << std::endl;
04629 #endif
04630 
04631     if(szFieldname == NULL)
04632         return;
04633 
04634     if(pFC == NullFC)
04635         return;
04636 
04637     incIndent();
04638 
04639     Inherited::getFieldAndDesc(pFC,
04640                                szFieldname,
04641                                pField,
04642                                pDesc);
04643 
04644 #ifdef OSG_DEBUG_VRML
04645     decIndent();
04646 #endif
04647 }

FieldContainerPtr VRMLExtrusionDesc::beginNode ( const Char8 szTypename,
const Char8 szName,
FieldContainerPtr  pCurrentFC 
) [virtual]

Reimplemented from osg::VRMLNodeDesc.

Definition at line 4652 of file OSGVRMLNodeDescs.cpp.

References osg::VRMLNodeDesc::_pGenAtt, osg::VRMLNodeDesc::_pNodeProto, osg::NodePtr::dcast(), osg::FCPtr< BasePtrTypeT, FieldContainerTypeT >::dcast(), and osg::NullFC.

04656 {
04657     FieldContainerPtr returnValue = NullFC;
04658     NodePtr           pNode       = NullFC;
04659     GenericAttPtr     pAtt        = NullFC;
04660 
04661     if(_pNodeProto != NullFC)
04662     {
04663         FieldContainerPtr pAttClone = _pGenAtt->clone();
04664 
04665         pAtt = GenericAttPtr::dcast(pAttClone);
04666 
04667         if(pAtt != NullFC)
04668         {
04669             pAtt->setInternal(true);
04670         }
04671 
04672         returnValue = _pNodeProto->shallowCopy();
04673 
04674         pNode = NodePtr::dcast(returnValue);
04675 
04676         pNode->addAttachment(pAtt);
04677     }
04678 
04679     return returnValue;
04680 }

void VRMLExtrusionDesc::endNode ( FieldContainerPtr  pFC  )  [virtual]

Reimplemented from osg::VRMLNodeDesc.

Definition at line 4682 of file OSGVRMLNodeDescs.cpp.

References osg::beginEditCP(), osg::Node::CoreFieldMask, osg::NodePtr::dcast(), osg::endEditCP(), FLOG, FWARNING, osg::VRMLNodeDesc::getFieldAndDesc(), osg::VRMLNodeDesc::getIndent(), osg::SField< FieldTypeT, fieldNameSpace >::getValue(), osg::MField< FieldTypeT, fieldNameSpace >::getValues(), osg::indentLog(), osg::makeExtrusionGeo(), osg::NullFC, and PINFO.

04683 {
04684           Field            *pField = NULL;
04685     const FieldDescription *pDesc  = NULL;
04686           NodePtr           pNode  = NullFC;
04687 
04688     FLOG (("Run VRMLExtrusionDesc::endNode()\n"));
04689 
04690     if(pFC == NullFC)
04691         return;
04692 
04693     pNode = NodePtr::dcast(pFC);
04694 
04695     if(pNode == NullFC)
04696         return;
04697 
04698     SFBool       *pBeginCap     = NULL;
04699     SFBool       *pCcw          = NULL;
04700     SFBool       *pConvex       = NULL;
04701     SFReal32     *pCreaseAngle  = NULL;
04702     MFPnt2f      *pCrossSection = NULL;
04703     SFBool       *pEndCap       = NULL;
04704     MFQuaternion *pOrientation  = NULL;
04705     MFVec2f      *pScale        = NULL;
04706     SFBool       *pSolid        = NULL;
04707     MFPnt3f      *pSpine        = NULL;
04708 
04709     Inherited::getFieldAndDesc(pFC,
04710                                "beginCap",
04711                                pField,
04712                                pDesc);
04713 
04714     if(pField != NULL)
04715     {
04716         pBeginCap = static_cast<SFBool *>(pField);
04717     }
04718 
04719 
04720     Inherited::getFieldAndDesc(pFC,
04721                                "ccw",
04722                                pField,
04723                                pDesc);
04724 
04725     if(pField != NULL)
04726     {
04727         pCcw = static_cast<SFBool *>(pField);
04728     }
04729 
04730 
04731     Inherited::getFieldAndDesc(pFC,
04732                                "convex",
04733                                pField,
04734                                pDesc);
04735 
04736     if(pField != NULL)
04737     {
04738         pConvex = static_cast<SFBool *>(pField);
04739     }
04740 
04741 
04742     Inherited::getFieldAndDesc(pFC,
04743                                "creaseAngle",
04744                                pField,
04745                                pDesc);
04746 
04747     if(pField != NULL)
04748     {
04749         pCreaseAngle = static_cast<SFReal32 *>(pField);
04750     }
04751 
04752 
04753     Inherited::getFieldAndDesc(pFC,
04754                                "crossSection",
04755                                pField,
04756                                pDesc);
04757 
04758     if(pField != NULL)
04759     {
04760         pCrossSection = static_cast<MFPnt2f *>(pField);
04761     }
04762 
04763 
04764     Inherited::getFieldAndDesc(pFC,
04765                                "endCap",
04766                                pField,
04767                                pDesc);
04768 
04769     if(pField != NULL)
04770     {
04771         pEndCap = static_cast<SFBool *>(pField);
04772     }
04773 
04774 
04775     Inherited::getFieldAndDesc(pFC,
04776                                "orientation",
04777                                pField,
04778                                pDesc);
04779 
04780     if(pField != NULL)
04781     {
04782         pOrientation = static_cast<MFQuaternion *>(pField);
04783     }
04784 
04785 
04786     Inherited::getFieldAndDesc(pFC,
04787                                "scale",
04788                                pField,
04789                                pDesc);
04790 
04791     if(pField != NULL)
04792     {
04793         pScale = static_cast<MFVec2f *>(pField);
04794     }
04795 
04796 
04797     Inherited::getFieldAndDesc(pFC,
04798                                "solid",
04799                                pField,
04800                                pDesc);
04801 
04802     if(pField != NULL)
04803     {
04804         pSolid = static_cast<SFBool *>(pField);
04805     }
04806 
04807 
04808     Inherited::getFieldAndDesc(pFC,
04809                                "spine",
04810                                pField,
04811                                pDesc);
04812 
04813     if(pField != NULL)
04814     {
04815         pSpine = static_cast<MFPnt3f *>(pField);
04816     }
04817 
04818 
04819 
04820     if(pBeginCap     != NULL &&
04821        pCcw          != NULL &&
04822        pConvex       != NULL &&
04823        pCreaseAngle  != NULL &&
04824        pCrossSection != NULL &&
04825        pEndCap       != NULL &&
04826        pOrientation  != NULL &&
04827        pScale        != NULL &&
04828        pSolid        != NULL &&
04829        pSpine        != NULL)
04830     {
04831 #ifdef OSG_DEBUG_VRML
04832         indentLog(getIndent(), PINFO);
04833         PINFO << "VRMLExtrusionDesc::endNode"
04834               << std::endl;
04835 #endif
04836 
04837         // TODO: creaseAngle/numOfSubdivision param/handling ?
04838 
04839         GeometryPtr pGeo = makeExtrusionGeo ( pCrossSection->getValues(),
04840                                               pOrientation ->getValues(),
04841                                               pScale       ->getValues(),
04842                                               pSpine       ->getValues(),
04843                           pCreaseAngle ->getValue (),
04844                                               pBeginCap    ->getValue (),
04845                                               pEndCap      ->getValue (),
04846                                               pCcw         ->getValue (),
04847                                               pConvex      ->getValue (),
04848                                               true, // buildNormal
04849                                               true, // buildTexCoord
04850                                               0     // numOfSubdivision
04851                                               );
04852 
04853 
04854 /*
04855 // snip remove later
04856         fprintf(stderr, "%u %u %u %f | %u | %u | %u %u | %u | %u\n",
04857                 pBeginCap    ->getValue (),
04858                 pCcw         ->getValue (),
04859                 pConvex      ->getValue (),
04860                 pCreaseAngle ->getValue (),
04861                 pCrossSection->size     (),
04862                 pEndCap      ->getValue (),
04863                 pOrientation ->size     (),
04864                 pScale       ->size     (),
04865                 pSolid       ->getValue (),
04866                 pSpine       ->size     ());
04867 
04868 // snap end remove later2
04869 */
04870 
04871         beginEditCP(pNode, Node::CoreFieldMask);
04872         {
04873             pNode->setCore(pGeo);
04874         }
04875         endEditCP  (pNode, Node::CoreFieldMask);
04876     }
04877     else
04878     {
04879         FWARNING(("\n\nExtrusion parameter missing\n"));
04880     }
04881 }

void VRMLExtrusionDesc::dump ( const Char8 szNodeName  )  [virtual]

Reimplemented from osg::VRMLNodeDesc.

Definition at line 4886 of file OSGVRMLNodeDescs.cpp.

04887 {
04888 }

void osg::VRMLExtrusionDesc::operator= ( const VRMLExtrusionDesc source  )  [private]

UInt32 VRMLNodeDesc::getIndent ( void   )  [static, inherited]

Definition at line 128 of file OSGVRMLNodeDescs.cpp.

References osg::VRMLNodeDesc::_uiIndent.

Referenced by osg::VRMLNodeFactory< BaseT >::addFieldValue(), osg::VRMLNodeFactory< BaseT >::beginEventInDecl(), osg::VRMLNodeFactory< BaseT >::beginEventOutDecl(), osg::VRMLViewpointDesc::beginNode(), osg::VRMLInlineDesc::beginNode(), osg::VRMLGroupDesc::beginNode(), osg::VRMLSwitchDesc::beginNode(), osg::VRMLLODDesc::beginNode(), osg::VRMLPixelTextureDesc::beginNode(), osg::VRMLImageTextureDesc::beginNode(), osg::VRMLTextureTransformDesc::beginNode(), osg::VRMLAppearanceDesc::beginNode(), osg::VRMLGeometryPointSetDesc::beginNode(), osg::VRMLGeometryDesc::beginNode(), osg::VRMLShapeDesc::beginNode(), osg::VRMLFile::beginNode(), osg::VRMLNodeFactory< BaseT >::beginProto(), osg::VRMLFile::endField(), osg::VRMLViewpointDesc::endNode(), osg::VRMLInlineDesc::endNode(), endNode(), osg::VRMLGroupDesc::endNode(), osg::VRMLSwitchDesc::endNode(), osg::VRMLLODDesc::endNode(), osg::VRMLPixelTextureDesc::endNode(), osg::VRMLImageTextureDesc::endNode(), osg::VRMLTextureTransformDesc::endNode(), osg::VRMLAppearanceDesc::endNode(), osg::VRMLGeometryObjectDesc::endNode(), osg::VRMLGeometryPointSetDesc::endNode(), osg::VRMLGeometryDesc::endNode(), osg::VRMLShapeDesc::endNode(), osg::VRMLFile::endNode(), osg::VRMLNodeFactory< BaseT >::findNodeDesc(), osg::VRMLNodeDesc::getField(), osg::VRMLViewpointDesc::getFieldAndDesc(), osg::VRMLInlineDesc::getFieldAndDesc(), getFieldAndDesc(), osg::VRMLGroupDesc::getFieldAndDesc(), osg::VRMLSwitchDesc::getFieldAndDesc(), osg::VRMLLODDesc::getFieldAndDesc(), osg::VRMLAppearanceDesc::getFieldAndDesc(), osg::VRMLGeometryObjectDesc::getFieldAndDesc(), osg::VRMLGeometryPartDesc::getFieldAndDesc(), osg::VRMLGeometryPointSetDesc::getFieldAndDesc(), osg::VRMLGeometryDesc::getFieldAndDesc(), osg::VRMLShapeDesc::getFieldAndDesc(), osg::VRMLNodeDesc::getFieldAndDesc(), osg::VRMLFile::getFieldType(), osg::VRMLInlineDesc::init(), init(), osg::VRMLGroupDesc::init(), osg::VRMLSwitchDesc::init(), osg::VRMLLODDesc::init(), osg::VRMLPixelTextureDesc::init(), osg::VRMLImageTextureDesc::init(), osg::VRMLTextureTransformDesc::init(), osg::VRMLMaterialDesc::init(), osg::VRMLAppearanceDesc::init(), osg::VRMLGeometryObjectDesc::init(), osg::VRMLGeometryPartDesc::init(), osg::VRMLGeometryPointSetDesc::init(), osg::VRMLGeometryDesc::init(), osg::VRMLShapeDesc::init(), osg::VRMLPixelTextureDesc::prototypeAddField(), osg::VRMLImageTextureDesc::prototypeAddField(), osg::VRMLTextureTransformDesc::prototypeAddField(), osg::VRMLMaterialDesc::prototypeAddField(), osg::VRMLGeometryPartDesc::prototypeAddField(), osg::VRMLGeometryPointSetDesc::prototypeAddField(), osg::VRMLGeometryDesc::prototypeAddField(), osg::VRMLShapeDesc::prototypeAddField(), osg::VRMLNodeDesc::prototypeAddField(), osg::VRMLFile::setContainerFieldValue(), and osg::VRMLFile::use().

00129 {
00130     return _uiIndent;
00131 }

void VRMLNodeDesc::incIndent ( void   )  [static, inherited]

void VRMLNodeDesc::decIndent ( void   )  [static, inherited]

void VRMLNodeDesc::resetIndent ( void   )  [static, inherited]

void VRMLNodeDesc::reset ( void   )  [virtual, inherited]

void VRMLNodeDesc::setOnEndSave ( const Char8 szName  )  [virtual, inherited]

Definition at line 209 of file OSGVRMLNodeDescs.cpp.

References osg::VRMLNodeDesc::_bSaveOnEnd, and osg::VRMLNodeDesc::_szCurrentName.

Referenced by osg::VRMLFile::beginNode().

00210 {
00211     _szCurrentName = szName; // does that make a copy? I expect it to...
00212     _bSaveOnEnd = true;
00213 }

void VRMLNodeDesc::clearOnEndSave ( void   )  [virtual, inherited]

Definition at line 215 of file OSGVRMLNodeDescs.cpp.

References osg::VRMLNodeDesc::_bSaveOnEnd.

Referenced by osg::VRMLFile::endNode().

00216 {
00217     _bSaveOnEnd = false;
00218 }

bool VRMLNodeDesc::getOnEndSave ( void   )  [virtual, inherited]

Definition at line 220 of file OSGVRMLNodeDescs.cpp.

References osg::VRMLNodeDesc::_bSaveOnEnd.

Referenced by osg::VRMLFile::endNode().

00221 {
00222     return _bSaveOnEnd;
00223 }

const Char8 * VRMLNodeDesc::getSavename ( void   )  [virtual, inherited]

Definition at line 225 of file OSGVRMLNodeDescs.cpp.

References osg::VRMLNodeDesc::_szCurrentName.

Referenced by osg::VRMLFile::endNode().

00226 {
00227     return _szCurrentName.c_str();
00228 }

FieldContainerPtr VRMLNodeDesc::getSaveFieldContainer ( void   )  [virtual, inherited]

Reimplemented in osg::VRMLAppearanceDesc.

Definition at line 230 of file OSGVRMLNodeDescs.cpp.

References osg::NullFC.

Referenced by osg::VRMLFile::endNode().

00231 {
00232     return NullFC;
00233 }

Field * VRMLNodeDesc::getField ( const Char8 szFieldname  )  [virtual, inherited]

Field * VRMLNodeDesc::getField ( FieldContainerPtr  pFC1,
FieldContainerPtr  pFC2,
GenericAttPtr  pGenAtt,
const Char8 szFieldname 
) [protected, inherited]

Definition at line 607 of file OSGVRMLNodeDescs.cpp.

References osg::VRMLNodeDesc::decIndent(), osg::VRMLNodeDesc::getIndent(), osg::VRMLNodeDesc::incIndent(), osg::indentLog(), osg::NullFC, and PINFO.

00611 {
00612     Field *returnValue = NULL;
00613 
00614     if(szFieldname == NULL)
00615     {
00616         return returnValue;
00617     }
00618 
00619 #ifdef OSG_DEBUG_VRML
00620     indentLog(getIndent(), PINFO);
00621     PINFO << "VRMLNodeDesc::getField " << std::endl;
00622 
00623     incIndent();
00624 
00625     indentLog(getIndent(), PINFO);
00626     PINFO << "Trying to find field : " << szFieldname << std::endl;
00627 #endif
00628 
00629     if(pFC1 != NullFC)
00630     {
00631         returnValue = pFC1->getField(szFieldname);
00632     }
00633 
00634 #ifdef OSG_DEBUG_VRML
00635     incIndent();
00636 
00637     indentLog(getIndent(), PINFO);
00638     PINFO << "Got this from node : " << returnValue << std::endl;
00639 #endif
00640 
00641     if(returnValue != NULL)
00642         return returnValue;
00643 
00644     if(pFC2 != NullFC)
00645     {
00646         returnValue = pFC2->getField(szFieldname);
00647 
00648 #ifdef OSG_DEBUG_VRML
00649         indentLog(getIndent(), PINFO);
00650         PINFO << "Got this from nodecore : " << returnValue << std::endl;
00651 #endif
00652     }
00653     else
00654     {
00655 #ifdef OSG_DEBUG_VRML
00656         indentLog(getIndent(), PINFO);
00657         PINFO << "No core to check" << std::endl;
00658 #endif
00659     }
00660 
00661 
00662     if(returnValue != NULL)
00663         return returnValue;
00664 
00665     if(pGenAtt != NullFC)
00666     {
00667         returnValue = pGenAtt->getField(szFieldname);
00668     }
00669 
00670 #ifdef OSG_DEBUG_VRML
00671     indentLog(getIndent(), PINFO);
00672     PINFO << "Got this from attachment : " << returnValue << std::endl;
00673 
00674     decIndent();
00675     decIndent();
00676 #endif
00677 
00678     return returnValue;
00679 }

void VRMLNodeDesc::prototypeAddFieldValue ( const Char8 szFieldVal  )  [virtual, inherited]

Definition at line 477 of file OSGVRMLNodeDescs.cpp.

References osg::VRMLNodeDesc::_pCurrField, and osg::Field::pushValueByStr().

Referenced by osg::VRMLNodeFactory< BaseT >::addFieldValue().

00478 {
00479     if(_pCurrField       != NULL)
00480     {
00481         _pCurrField->pushValueByStr(szFieldVal);
00482     }
00483 }

void VRMLNodeDesc::addFieldValue ( Field pField,
const Char8 szFieldVal 
) [virtual, inherited]

Reimplemented in osg::VRMLGeometryDesc, osg::VRMLGeometryPointSetDesc, and osg::VRMLPixelTextureDesc.

Definition at line 551 of file OSGVRMLNodeDescs.cpp.

References osg::Field::pushValueByStr().

Referenced by osg::VRMLFile::addFieldValue().

00553 {
00554     if(pField != NULL)
00555     {
00556         pField->pushValueByStr(szFieldVal);
00557     }
00558 }

bool VRMLNodeDesc::use ( FieldContainerPtr   )  [virtual, inherited]

Reimplemented in osg::VRMLAppearanceDesc.

Definition at line 560 of file OSGVRMLNodeDescs.cpp.

Referenced by osg::VRMLFile::use().

00561 {
00562     return false;
00563 }


Member Data Documentation

UInt32 VRMLNodeDesc::_uiIndent = 0 [static, protected, inherited]

Definition at line 307 of file OSGVRMLNodeDescs.h.

Field* osg::VRMLNodeDesc::_pCurrField [protected, inherited]

std::string osg::VRMLNodeDesc::_szCurrentName [protected, inherited]

bool osg::VRMLNodeDesc::_bSaveOnEnd [protected, inherited]


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

Generated on Mon Mar 17 12:05:23 2008 for OpenSG by  doxygen 1.5.5