Definition at line 194 of file OSGBarrier.h.
| typedef BasePThreadBase osg::BaseThreadBase |
Definition at line 264 of file OSGBaseThread.h.
Definition at line 328 of file OSGColor.h.
Definition at line 335 of file OSGColor.h.
Definition at line 342 of file OSGColor.h.
Definition at line 349 of file OSGColor.h.
| typedef DataType* osg::DataTypeP |
Definition at line 97 of file OSGDataType.h.
| typedef Date* osg::DateP |
| typedef DynamicVolume* osg::DynamicVolumeP |
Definition at line 166 of file OSGDynamicVolume.h.
| typedef LinearTransform< Real32 > osg::LinearTransform4f |
Definition at line 223 of file OSGLinearTransform.h.
| typedef PThreadLockBase osg::PthreadLockBase |
| typedef BaseThread*(* osg::CreateThreadF)(const Char8 *szName, UInt32 uiId) |
Definition at line 58 of file OSGMPBase.h.
| typedef Barrier*(* osg::CreateBarrierF)(const Char8 *szName, UInt32 uiId) |
Definition at line 60 of file OSGMPBase.h.
| typedef Lock*(* osg::CreateLockF)(const Char8 *szName, UInt32 uiId) |
Definition at line 62 of file OSGMPBase.h.
| typedef LockPool*(* osg::CreateLockPoolF)(const Char8 *szName, UInt32 uiId) |
Definition at line 64 of file OSGMPBase.h.
| typedef void(* osg::InitThreadingF)(void) |
Definition at line 66 of file OSGMPBase.h.
| typedef PolytopeVolume* osg::PolytopeVolumePtr |
Definition at line 154 of file OSGPolytopeVolume.h.
| typedef void * osg::SharedHandle |
Definition at line 57 of file OSGSharedLibrary.h.
| typedef void * osg::AnonSymbolHandle |
Definition at line 60 of file OSGSharedLibrary.h.
| typedef osg ::SharedObject* osg::SharedObjectP |
Definition at line 94 of file OSGSharedObjectHandler.h.
| typedef osg ::SharedObjectHandler* osg::SharedObjectHandlerP |
Definition at line 243 of file OSGSharedObjectHandler.h.
Time supplies two time measurement methods.
The first is the system time (getSystemTime()). It is measured in seconds and started at an unspecified start point, so it's only useful for relative measurements. It has limited resolution (~20 ms on Windows, better on Linux), but will not wrap around in a reasonable timeframe.
The second is the time stamp (getTimeStamp()). It is measured in an unspecified integer unit, but the number of time stamp ticks per second can be inquired via getTimeStampFreq(), or a number of TimeStamp ticks can be converted to milliseconds using getTimeStampMsecs(). It has at least the same resolution as the system time, but can be much higher. Currently it is only higher on Intel/AMD CPUs. It can be used to measure very short time periods, but should not be used for long measurements.
| typedef Int64 osg::TimeStamp |
| typedef Volume* osg::VolumeP |
Definition at line 172 of file OSGVolume.h.
| typedef BinaryMessage* osg::BinaryMessageP |
Definition at line 159 of file OSGBinaryMessage.h.
| typedef Connection* osg::ConnectionP |
Definition at line 159 of file OSGConnection.h.
| typedef GroupConnection* osg::GroupConnectionP |
Definition at line 166 of file OSGGroupConnection.h.
| typedef NetworkMessage* osg::NetworkMessageP |
Definition at line 115 of file OSGNetworkMessage.h.
| typedef PointConnection* osg::PointConnectionP |
Definition at line 123 of file OSGPointConnection.h.
| typedef Dgram* osg::DgramP |
Definition at line 146 of file OSGDgram.h.
| typedef DgramQueue* osg::DgramQueueP |
Definition at line 113 of file OSGDgramQueue.h.
Definition at line 193 of file OSGGroupMCastConnection.h.
Definition at line 197 of file OSGGroupSockConnection.h.
| typedef GroupSockPipeline* osg::GroupSockPipelineP |
Definition at line 154 of file OSGGroupSockPipeline.h.
Definition at line 193 of file OSGPointMCastConnection.h.
Definition at line 174 of file OSGPointSockConnection.h.
| typedef PointSockPipeline* osg::PointSockPipelineP |
Definition at line 160 of file OSGPointSockPipeline.h.
| typedef Action* osg::ActionP |
Definition at line 334 of file OSGAction.h.
| typedef ArgsCollector<Action::ResultE> osg::ArgsT |
Definition at line 340 of file OSGAction.h.
Definition at line 343 of file OSGAction.h.
| typedef TypedFunctor2Base<Action::ResultE, CPtrRefCallArg<NodePtr>, ArgsT > osg::TraverseLeaveFunctor |
Definition at line 346 of file OSGAction.h.
| typedef DrawActionBase* osg::DrawActionBaseP |
Definition at line 269 of file OSGDrawActionBase.h.
| typedef DrawAction* osg::DrawActionP |
Definition at line 230 of file OSGDrawAction.h.
| typedef IntersectAction* osg::IntersectActionP |
Definition at line 279 of file OSGIntersectAction.h.
| typedef ClusterViewBuffer* osg::ClusterViewBufferP |
Definition at line 154 of file OSGClusterViewBuffer.h.
| typedef RemoteAspect* osg::RemoteAspectP |
Definition at line 228 of file OSGRemoteAspect.h.
| typedef RenderOptions* osg::RenderOptionsP |
Definition at line 91 of file OSGRenderOptions.h.
| typedef RenderOptionsBase* osg::RenderOptionsBaseP |
Definition at line 405 of file OSGRenderOptionsBase.h.
| typedef osgIF<RenderOptionsBase::isNodeCore, CoredNodePtr<RenderOptions>, FieldContainer::attempt_to_create_CoredNodePtr_on_non_NodeCore_FC >::_IRet osg::RenderOptionsNodePtr |
Definition at line 410 of file OSGRenderOptionsBase.h.
Definition at line 412 of file OSGRenderOptionsBase.h.
| typedef ClusterWindow* osg::ClusterWindowP |
Definition at line 216 of file OSGClusterWindow.h.
| typedef ClusterWindowBase* osg::ClusterWindowBaseP |
Definition at line 378 of file OSGClusterWindowBase.h.
| typedef osgIF<ClusterWindowBase::isNodeCore, CoredNodePtr<ClusterWindow>, FieldContainer::attempt_to_create_CoredNodePtr_on_non_NodeCore_FC >::_IRet osg::ClusterWindowNodePtr |
Definition at line 383 of file OSGClusterWindowBase.h.
Definition at line 385 of file OSGClusterWindowBase.h.
Definition at line 183 of file OSGDisplayCalibration.h.
Definition at line 309 of file OSGDisplayCalibrationBase.h.
| typedef osgIF<DisplayCalibrationBase::isNodeCore, CoredNodePtr<DisplayCalibration>, FieldContainer::attempt_to_create_CoredNodePtr_on_non_NodeCore_FC >::_IRet osg::DisplayCalibrationNodePtr |
Definition at line 314 of file OSGDisplayCalibrationBase.h.
Definition at line 316 of file OSGDisplayCalibrationBase.h.
| typedef ImageComposer* osg::ImageComposerP |
Definition at line 179 of file OSGImageComposer.h.
| typedef ImageComposerBase* osg::ImageComposerBaseP |
Definition at line 237 of file OSGImageComposerBase.h.
| typedef osgIF<ImageComposerBase::isNodeCore, CoredNodePtr<ImageComposer>, FieldContainer::attempt_to_create_CoredNodePtr_on_non_NodeCore_FC >::_IRet osg::ImageComposerNodePtr |
Definition at line 242 of file OSGImageComposerBase.h.
Definition at line 244 of file OSGImageComposerBase.h.
Definition at line 136 of file OSGMultiDisplayWindow.h.
Definition at line 277 of file OSGMultiDisplayWindowBase.h.
| typedef osgIF<MultiDisplayWindowBase::isNodeCore, CoredNodePtr<MultiDisplayWindow>, FieldContainer::attempt_to_create_CoredNodePtr_on_non_NodeCore_FC >::_IRet osg::MultiDisplayWindowNodePtr |
Definition at line 282 of file OSGMultiDisplayWindowBase.h.
Definition at line 284 of file OSGMultiDisplayWindowBase.h.
| typedef SortFirstWindow* osg::SortFirstWindowP |
Definition at line 143 of file OSGSortFirstWindow.h.
Definition at line 277 of file OSGSortFirstWindowBase.h.
| typedef osgIF<SortFirstWindowBase::isNodeCore, CoredNodePtr<SortFirstWindow>, FieldContainer::attempt_to_create_CoredNodePtr_on_non_NodeCore_FC >::_IRet osg::SortFirstWindowNodePtr |
Definition at line 282 of file OSGSortFirstWindowBase.h.
Definition at line 284 of file OSGSortFirstWindowBase.h.
| typedef FCPtrAttributeMap* osg::FCPtrAttributeMapP |
Definition at line 127 of file OSGFCPtrAttributeMap.h.
Definition at line 253 of file OSGFCPtrAttributeMapBase.h.
| typedef osgIF<FCPtrAttributeMapBase::isNodeCore, CoredNodePtr<FCPtrAttributeMap>, FieldContainer::attempt_to_create_CoredNodePtr_on_non_NodeCore_FC >::_IRet osg::FCPtrAttributeMapNodePtr |
Definition at line 258 of file OSGFCPtrAttributeMapBase.h.
Definition at line 260 of file OSGFCPtrAttributeMapBase.h.
| typedef RefPtr<NodeCorePtr> osg::NodeCoreRefPtr |
Definition at line 63 of file OSGNodeCore.h.
Definition at line 141 of file OSGRefPtr.h.
Definition at line 127 of file OSGStringAttributeMap.h.
Definition at line 253 of file OSGStringAttributeMapBase.h.
| typedef osgIF<StringAttributeMapBase::isNodeCore, CoredNodePtr<StringAttributeMap>, FieldContainer::attempt_to_create_CoredNodePtr_on_non_NodeCore_FC >::_IRet osg::StringAttributeMapNodePtr |
Definition at line 258 of file OSGStringAttributeMapBase.h.
Definition at line 260 of file OSGStringAttributeMapBase.h.
| typedef PThreadBase osg::PthreadBase |
Definition at line 254 of file OSGThread.h.
Definition at line 159 of file OSGAttachmentContainerPtrImpl.h.
| typedef RefPtr<AttachmentPtr> osg::AttachmentRefPtr |
Definition at line 158 of file OSGAttachmentPtrImpl.h.
| typedef SceneFileHandler* osg::SceneFileHandlerP |
Definition at line 275 of file OSGSceneFileHandler.h.
| typedef SceneFileType* osg::SceneFileTypeP |
Definition at line 181 of file OSGSceneFileType.h.
| typedef BINSceneFileType* osg::BINSceneFileTypeP |
Definition at line 129 of file OSGBINSceneFileType.h.
| typedef OBJSceneFileType* osg::OBJSceneFileTypeP |
Definition at line 200 of file OSGOBJSceneFileType.h.
| typedef OFFSceneFileType* osg::OFFSceneFileTypeP |
Definition at line 121 of file OSGOFFSceneFileType.h.
| typedef OSGLoader* osg::OSGLoaderP |
Definition at line 164 of file OSGLoader.h.
| typedef RAWSceneFileType* osg::RAWSceneFileTypeP |
Definition at line 121 of file OSGRAWSceneFileType.h.
Definition at line 63 of file OSGVRMLFile.h.
Definition at line 101 of file OSGVRMLNodeDescs.h.
Definition at line 102 of file OSGVRMLNodeDescs.h.
| typedef VRMLWriteAction* osg::VRMLWriteActionP |
Definition at line 418 of file OSGVRMLWriteAction.h.
| typedef GraphOp* osg::GraphOpP |
Definition at line 169 of file OSGGraphOp.h.
| typedef GraphOpFactory* osg::GraphOpFactoryP |
Definition at line 88 of file OSGGraphOpFactory.h.
| typedef GraphOpSeq* osg::GraphOpSeqP |
Definition at line 115 of file OSGGraphOpSeq.h.
| typedef MergeGraphOp* osg::MergeGraphOpP |
Definition at line 133 of file OSGMergeGraphOp.h.
| typedef SplitGraphOp* osg::SplitGraphOpP |
Definition at line 119 of file OSGSplitGraphOp.h.
| typedef BMPImageFileType* osg::BMPImageFileTypeP |
Definition at line 122 of file OSGBMPImageFileType.h.
| typedef DATImageFileType* osg::DATImageFileTypeP |
Definition at line 160 of file OSGDATImageFileType.h.
| typedef DDSImageFileType* osg::DDSImageFileTypeP |
Definition at line 133 of file OSGDDSImageFileType.h.
| typedef EXRImageFileType* osg::EXRImageFileTypeP |
Definition at line 130 of file OSGEXRImageFileType.h.
| typedef GIFImageFileType* osg::GIFImageFileTypeP |
Definition at line 122 of file OSGGIFImageFileType.h.
| typedef HDRImageFileType* osg::HDRImageFileTypeP |
Definition at line 153 of file OSGHDRImageFileType.h.
| typedef Image* osg::ImageP |
Definition at line 407 of file OSGImage.h.
| typedef ImageBase* osg::ImageBaseP |
Definition at line 442 of file OSGImageBase.h.
| typedef osgIF<ImageBase::isNodeCore, CoredNodePtr<Image>, FieldContainer::attempt_to_create_CoredNodePtr_on_non_NodeCore_FC >::_IRet osg::ImageNodePtr |
Definition at line 447 of file OSGImageBase.h.
| typedef RefPtr<ImagePtr> osg::ImageRefPtr |
Definition at line 449 of file OSGImageBase.h.
| typedef ImageFileHandler* osg::ImageFileHandlerP |
Definition at line 221 of file OSGImageFileHandler.h.
| typedef ImageFileType* osg::ImageFileTypeP |
Definition at line 222 of file OSGImageFileType.h.
Definition at line 90 of file OSGImageGenericAtt.h.
Definition at line 91 of file OSGImageGenericAtt.h.
| typedef JP2ImageFileType* osg::JP2ImageFileTypeP |
Definition at line 121 of file OSGJP2ImageFileType.h.
| typedef JPGImageFileType* osg::JPGImageFileTypeP |
Definition at line 146 of file OSGJPGImageFileType.h.
| typedef MNGImageFileType* osg::MNGImageFileTypeP |
Definition at line 117 of file OSGMNGImageFileType.h.
| typedef MTDImageFileType* osg::MTDImageFileTypeP |
Definition at line 130 of file OSGMTDImageFileType.h.
| typedef NRRDImageFileType* osg::NRRDImageFileTypeP |
Definition at line 120 of file OSGNRRDImageFileType.h.
| typedef PNGImageFileType* osg::PNGImageFileTypeP |
Definition at line 135 of file OSGPNGImageFileType.h.
| typedef PNMImageFileType* osg::PNMImageFileTypeP |
Definition at line 122 of file OSGPNMImageFileType.h.
| typedef PSDImageFileType* osg::PSDImageFileTypeP |
Definition at line 123 of file OSGPSDImageFileType.h.
| typedef SGIImageFileType* osg::SGIImageFileTypeP |
Definition at line 123 of file OSGSGIImageFileType.h.
| typedef TGAImageFileType* osg::TGAImageFileTypeP |
Definition at line 140 of file OSGTGAImageFileType.h.
| typedef TIFImageFileType* osg::TIFImageFileTypeP |
Definition at line 124 of file OSGTIFImageFileType.h.
| typedef ChunkMaterial* osg::ChunkMaterialP |
Definition at line 161 of file OSGChunkMaterial.h.
| typedef ChunkMaterialBase* osg::ChunkMaterialBaseP |
Definition at line 253 of file OSGChunkMaterialBase.h.
| typedef osgIF<ChunkMaterialBase::isNodeCore, CoredNodePtr<ChunkMaterial>, FieldContainer::attempt_to_create_CoredNodePtr_on_non_NodeCore_FC >::_IRet osg::ChunkMaterialNodePtr |
Definition at line 258 of file OSGChunkMaterialBase.h.
Definition at line 260 of file OSGChunkMaterialBase.h.
| typedef FresnelMaterial* osg::FresnelMaterialP |
Definition at line 139 of file OSGFresnelMaterial.h.
Definition at line 333 of file OSGFresnelMaterialBase.h.
| typedef osgIF<FresnelMaterialBase::isNodeCore, CoredNodePtr<FresnelMaterial>, FieldContainer::attempt_to_create_CoredNodePtr_on_non_NodeCore_FC >::_IRet osg::FresnelMaterialNodePtr |
Definition at line 338 of file OSGFresnelMaterialBase.h.
Definition at line 340 of file OSGFresnelMaterialBase.h.
| typedef Material* osg::MaterialP |
Definition at line 185 of file OSGMaterial.h.
| typedef MaterialBase* osg::MaterialBaseP |
Definition at line 237 of file OSGMaterialBase.h.
| typedef osgIF<MaterialBase::isNodeCore, CoredNodePtr<Material>, FieldContainer::attempt_to_create_CoredNodePtr_on_non_NodeCore_FC >::_IRet osg::MaterialNodePtr |
Definition at line 242 of file OSGMaterialBase.h.
| typedef RefPtr<MaterialPtr> osg::MaterialRefPtr |
Definition at line 244 of file OSGMaterialBase.h.
| typedef MultiPassMaterial* osg::MultiPassMaterialP |
Definition at line 144 of file OSGMultiPassMaterial.h.
Definition at line 245 of file OSGMultiPassMaterialBase.h.
| typedef osgIF<MultiPassMaterialBase::isNodeCore, CoredNodePtr<MultiPassMaterial>, FieldContainer::attempt_to_create_CoredNodePtr_on_non_NodeCore_FC >::_IRet osg::MultiPassMaterialNodePtr |
Definition at line 250 of file OSGMultiPassMaterialBase.h.
Definition at line 252 of file OSGMultiPassMaterialBase.h.
| typedef PhongMaterial* osg::PhongMaterialP |
Definition at line 133 of file OSGPhongMaterial.h.
| typedef PhongMaterialBase* osg::PhongMaterialBaseP |
Definition at line 301 of file OSGPhongMaterialBase.h.
| typedef osgIF<PhongMaterialBase::isNodeCore, CoredNodePtr<PhongMaterial>, FieldContainer::attempt_to_create_CoredNodePtr_on_non_NodeCore_FC >::_IRet osg::PhongMaterialNodePtr |
Definition at line 306 of file OSGPhongMaterialBase.h.
Definition at line 308 of file OSGPhongMaterialBase.h.
| typedef SimpleMaterial* osg::SimpleMaterialP |
Definition at line 143 of file OSGSimpleMaterial.h.
Definition at line 301 of file OSGSimpleMaterialBase.h.
| typedef osgIF<SimpleMaterialBase::isNodeCore, CoredNodePtr<SimpleMaterial>, FieldContainer::attempt_to_create_CoredNodePtr_on_non_NodeCore_FC >::_IRet osg::SimpleMaterialNodePtr |
Definition at line 306 of file OSGSimpleMaterialBase.h.
Definition at line 308 of file OSGSimpleMaterialBase.h.
Definition at line 143 of file OSGSimpleTexturedMaterial.h.
Definition at line 277 of file OSGSimpleTexturedMaterialBase.h.
Definition at line 282 of file OSGSimpleTexturedMaterialBase.h.
Definition at line 284 of file OSGSimpleTexturedMaterialBase.h.
| typedef SwitchMaterial* osg::SwitchMaterialP |
Definition at line 149 of file OSGSwitchMaterial.h.
Definition at line 253 of file OSGSwitchMaterialBase.h.
| typedef osgIF<SwitchMaterialBase::isNodeCore, CoredNodePtr<SwitchMaterial>, FieldContainer::attempt_to_create_CoredNodePtr_on_non_NodeCore_FC >::_IRet osg::SwitchMaterialNodePtr |
Definition at line 258 of file OSGSwitchMaterialBase.h.
Definition at line 260 of file OSGSwitchMaterialBase.h.
| typedef Drawable* osg::DrawableP |
Definition at line 127 of file OSGDrawable.h.
| typedef DrawableBase* osg::DrawableBaseP |
Definition at line 195 of file OSGDrawableBase.h.
| typedef osgIF<DrawableBase::isNodeCore, CoredNodePtr<Drawable>, FieldContainer::attempt_to_create_CoredNodePtr_on_non_NodeCore_FC >::_IRet osg::DrawableNodePtr |
Definition at line 200 of file OSGDrawableBase.h.
| typedef RefPtr<DrawablePtr> osg::DrawableRefPtr |
Definition at line 202 of file OSGDrawableBase.h.
| typedef MaterialDrawable* osg::MaterialDrawableP |
Definition at line 134 of file OSGMaterialDrawable.h.
Definition at line 229 of file OSGMaterialDrawableBase.h.
| typedef osgIF<MaterialDrawableBase::isNodeCore, CoredNodePtr<MaterialDrawable>, FieldContainer::attempt_to_create_CoredNodePtr_on_non_NodeCore_FC >::_IRet osg::MaterialDrawableNodePtr |
Definition at line 234 of file OSGMaterialDrawableBase.h.
Definition at line 236 of file OSGMaterialDrawableBase.h.
| typedef EdgeIterator* osg::EdgeIteratorP |
Definition at line 165 of file OSGEdgeIterator.h.
| typedef FaceIterator* osg::FaceIteratorP |
Definition at line 165 of file OSGFaceIterator.h.
| typedef Geometry* osg::GeometryP |
Definition at line 262 of file OSGGeometry.h.
| typedef GeometryBase* osg::GeometryBaseP |
Definition at line 442 of file OSGGeometryBase.h.
| typedef osgIF<GeometryBase::isNodeCore, CoredNodePtr<Geometry>, FieldContainer::attempt_to_create_CoredNodePtr_on_non_NodeCore_FC >::_IRet osg::GeometryNodePtr |
Definition at line 447 of file OSGGeometryBase.h.
| typedef RefPtr<GeometryPtr> osg::GeometryRefPtr |
Definition at line 449 of file OSGGeometryBase.h.
Definition at line 242 of file OSGGeoPropertyInterface.h.
Definition at line 282 of file OSGGeoPropertyInterface.h.
Definition at line 322 of file OSGGeoPropertyInterface.h.
Definition at line 362 of file OSGGeoPropertyInterface.h.
Definition at line 402 of file OSGGeoPropertyInterface.h.
Definition at line 443 of file OSGGeoPropertyInterface.h.
Definition at line 483 of file OSGGeoPropertyInterface.h.
Definition at line 54 of file OSGGeoPropFields.h.
| typedef GeoNormals ::PtrType osg::GeoNormalsPtr |
Definition at line 55 of file OSGGeoPropFields.h.
| typedef GeoColors ::PtrType osg::GeoColorsPtr |
Definition at line 56 of file OSGGeoPropFields.h.
Definition at line 57 of file OSGGeoPropFields.h.
| typedef GeoIndices ::PtrType osg::GeoIndicesPtr |
Definition at line 58 of file OSGGeoPropFields.h.
| typedef GeoPTypes ::PtrType osg::GeoPTypesPtr |
Definition at line 59 of file OSGGeoPropFields.h.
| typedef GeoPLengths ::PtrType osg::GeoPLengthsPtr |
Definition at line 60 of file OSGGeoPropFields.h.
| typedef RefPtr<GeoPositionsPtr> osg::GeoPositionsRefPtr |
Definition at line 63 of file OSGGeoPropFields.h.
| typedef RefPtr<GeoNormalsPtr> osg::GeoNormalsRefPtr |
Definition at line 64 of file OSGGeoPropFields.h.
| typedef RefPtr<GeoColorsPtr> osg::GeoColorsRefPtr |
Definition at line 65 of file OSGGeoPropFields.h.
| typedef RefPtr<GeoTexCoordsPtr> osg::GeoTexCoordsRefPtr |
Definition at line 66 of file OSGGeoPropFields.h.
| typedef RefPtr<GeoIndicesPtr> osg::GeoIndicesRefPtr |
Definition at line 67 of file OSGGeoPropFields.h.
| typedef RefPtr<GeoPTypesPtr> osg::GeoPTypesRefPtr |
Definition at line 68 of file OSGGeoPropFields.h.
| typedef RefPtr<GeoPLengthsPtr> osg::GeoPLengthsRefPtr |
Definition at line 69 of file OSGGeoPropFields.h.
Definition at line 61 of file OSGGeoPropPtrs.h.
Definition at line 62 of file OSGGeoPropPtrs.h.
Definition at line 63 of file OSGGeoPropPtrs.h.
Definition at line 65 of file OSGGeoPropPtrs.h.
Definition at line 66 of file OSGGeoPropPtrs.h.
Definition at line 67 of file OSGGeoPropPtrs.h.
Definition at line 69 of file OSGGeoPropPtrs.h.
Definition at line 70 of file OSGGeoPropPtrs.h.
Definition at line 71 of file OSGGeoPropPtrs.h.
Definition at line 73 of file OSGGeoPropPtrs.h.
Definition at line 74 of file OSGGeoPropPtrs.h.
Definition at line 75 of file OSGGeoPropPtrs.h.
Definition at line 76 of file OSGGeoPropPtrs.h.
Definition at line 78 of file OSGGeoPropPtrs.h.
Definition at line 79 of file OSGGeoPropPtrs.h.
Definition at line 81 of file OSGGeoPropPtrs.h.
Definition at line 84 of file OSGGeoPropPtrs.h.
Definition at line 85 of file OSGGeoPropPtrs.h.
Definition at line 86 of file OSGGeoPropPtrs.h.
Definition at line 87 of file OSGGeoPropPtrs.h.
Definition at line 89 of file OSGGeoPropPtrs.h.
Definition at line 90 of file OSGGeoPropPtrs.h.
Definition at line 91 of file OSGGeoPropPtrs.h.
Definition at line 92 of file OSGGeoPropPtrs.h.
Definition at line 94 of file OSGGeoPropPtrs.h.
Definition at line 95 of file OSGGeoPropPtrs.h.
Definition at line 97 of file OSGGeoPropPtrs.h.
Definition at line 99 of file OSGGeoPropPtrs.h.
Definition at line 100 of file OSGGeoPropPtrs.h.
Definition at line 101 of file OSGGeoPropPtrs.h.
| typedef LineIterator* osg::LineIteratorP |
Definition at line 172 of file OSGLineIterator.h.
| typedef FCPtr<MaterialDrawablePtr, Geometry> osg::GeometryPtr |
Definition at line 55 of file OSGPrimitiveIterator.h.
| typedef PrimitiveIterator* osg::PrimitiveIteratorP |
Definition at line 211 of file OSGPrimitiveIterator.h.
| typedef TriangleIterator* osg::TriangleIteratorP |
Definition at line 172 of file OSGTriangleIterator.h.
| typedef Slices* osg::SlicesP |
Definition at line 194 of file OSGSlices.h.
| typedef SlicesBase* osg::SlicesBaseP |
Definition at line 253 of file OSGSlicesBase.h.
| typedef osgIF<SlicesBase::isNodeCore, CoredNodePtr<Slices>, FieldContainer::attempt_to_create_CoredNodePtr_on_non_NodeCore_FC >::_IRet osg::SlicesNodePtr |
Definition at line 258 of file OSGSlicesBase.h.
| typedef RefPtr<SlicesPtr> osg::SlicesRefPtr |
Definition at line 260 of file OSGSlicesBase.h.
| typedef Particles* osg::ParticlesP |
Definition at line 162 of file OSGParticles.h.
| typedef ParticlesBase* osg::ParticlesBaseP |
Definition at line 360 of file OSGParticlesBase.h.
| typedef osgIF<ParticlesBase::isNodeCore, CoredNodePtr<Particles>, FieldContainer::attempt_to_create_CoredNodePtr_on_non_NodeCore_FC >::_IRet osg::ParticlesNodePtr |
Definition at line 365 of file OSGParticlesBase.h.
| typedef RefPtr<ParticlesPtr> osg::ParticlesRefPtr |
Definition at line 367 of file OSGParticlesBase.h.
| typedef DVRAppearance* osg::DVRAppearanceP |
Definition at line 115 of file OSGDVRAppearance.h.
| typedef DVRAppearanceBase* osg::DVRAppearanceBaseP |
Definition at line 211 of file OSGDVRAppearanceBase.h.
| typedef osgIF<DVRAppearanceBase::isNodeCore, CoredNodePtr<DVRAppearance>, FieldContainer::attempt_to_create_CoredNodePtr_on_non_NodeCore_FC >::_IRet osg::DVRAppearanceNodePtr |
Definition at line 216 of file OSGDVRAppearanceBase.h.
Definition at line 218 of file OSGDVRAppearanceBase.h.
| typedef DVRClipGeometry* osg::DVRClipGeometryP |
Definition at line 259 of file OSGDVRClipGeometry.h.
Definition at line 253 of file OSGDVRClipGeometryBase.h.
| typedef osgIF<DVRClipGeometryBase::isNodeCore, CoredNodePtr<DVRClipGeometry>, FieldContainer::attempt_to_create_CoredNodePtr_on_non_NodeCore_FC >::_IRet osg::DVRClipGeometryNodePtr |
Definition at line 258 of file OSGDVRClipGeometryBase.h.
Definition at line 260 of file OSGDVRClipGeometryBase.h.
| typedef DVRClipObjects* osg::DVRClipObjectsP |
Definition at line 169 of file OSGDVRClipObjects.h.
Definition at line 274 of file OSGDVRClipObjectsBase.h.
| typedef osgIF<DVRClipObjectsBase::isNodeCore, CoredNodePtr<DVRClipObjects>, FieldContainer::attempt_to_create_CoredNodePtr_on_non_NodeCore_FC >::_IRet osg::DVRClipObjectsNodePtr |
Definition at line 279 of file OSGDVRClipObjectsBase.h.
Definition at line 281 of file OSGDVRClipObjectsBase.h.
| typedef DVRGeometry* osg::DVRGeometryP |
Definition at line 115 of file OSGDVRGeometry.h.
| typedef DVRGeometryBase* osg::DVRGeometryBaseP |
Definition at line 211 of file OSGDVRGeometryBase.h.
| typedef osgIF<DVRGeometryBase::isNodeCore, CoredNodePtr<DVRGeometry>, FieldContainer::attempt_to_create_CoredNodePtr_on_non_NodeCore_FC >::_IRet osg::DVRGeometryNodePtr |
Definition at line 216 of file OSGDVRGeometryBase.h.
| typedef RefPtr<DVRGeometryPtr> osg::DVRGeometryRefPtr |
Definition at line 218 of file OSGDVRGeometryBase.h.
| typedef DVRIsoShader* osg::DVRIsoShaderP |
Definition at line 351 of file OSGDVRIsoShader.h.
| typedef DVRIsoShaderBase* osg::DVRIsoShaderBaseP |
Definition at line 253 of file OSGDVRIsoShaderBase.h.
| typedef osgIF<DVRIsoShaderBase::isNodeCore, CoredNodePtr<DVRIsoShader>, FieldContainer::attempt_to_create_CoredNodePtr_on_non_NodeCore_FC >::_IRet osg::DVRIsoShaderNodePtr |
Definition at line 258 of file OSGDVRIsoShaderBase.h.
| typedef RefPtr<DVRIsoShaderPtr> osg::DVRIsoShaderRefPtr |
Definition at line 260 of file OSGDVRIsoShaderBase.h.
| typedef DVRIsoSurface* osg::DVRIsoSurfaceP |
Definition at line 114 of file OSGDVRIsoSurface.h.
| typedef DVRIsoSurfaceBase* osg::DVRIsoSurfaceBaseP |
Definition at line 277 of file OSGDVRIsoSurfaceBase.h.
| typedef osgIF<DVRIsoSurfaceBase::isNodeCore, CoredNodePtr<DVRIsoSurface>, FieldContainer::attempt_to_create_CoredNodePtr_on_non_NodeCore_FC >::_IRet osg::DVRIsoSurfaceNodePtr |
Definition at line 282 of file OSGDVRIsoSurfaceBase.h.
Definition at line 284 of file OSGDVRIsoSurfaceBase.h.
| typedef DVRLookupTable* osg::DVRLookupTableP |
Definition at line 128 of file OSGDVRLookupTable.h.
Definition at line 309 of file OSGDVRLookupTableBase.h.
| typedef osgIF<DVRLookupTableBase::isNodeCore, CoredNodePtr<DVRLookupTable>, FieldContainer::attempt_to_create_CoredNodePtr_on_non_NodeCore_FC >::_IRet osg::DVRLookupTableNodePtr |
Definition at line 314 of file OSGDVRLookupTableBase.h.
Definition at line 316 of file OSGDVRLookupTableBase.h.
| typedef DVRMtexLUTShader* osg::DVRMtexLUTShaderP |
Definition at line 181 of file OSGDVRMtexLUTShader.h.
Definition at line 211 of file OSGDVRMtexLUTShaderBase.h.
| typedef osgIF<DVRMtexLUTShaderBase::isNodeCore, CoredNodePtr<DVRMtexLUTShader>, FieldContainer::attempt_to_create_CoredNodePtr_on_non_NodeCore_FC >::_IRet osg::DVRMtexLUTShaderNodePtr |
Definition at line 216 of file OSGDVRMtexLUTShaderBase.h.
Definition at line 218 of file OSGDVRMtexLUTShaderBase.h.
| typedef DVRShaderBase* osg::DVRShaderBaseP |
Definition at line 195 of file OSGDVRShaderBase.h.
| typedef osgIF<DVRShaderBase::isNodeCore, CoredNodePtr<DVRShader>, FieldContainer::attempt_to_create_CoredNodePtr_on_non_NodeCore_FC >::_IRet osg::DVRShaderNodePtr |
Definition at line 200 of file OSGDVRShaderBase.h.
| typedef RefPtr<DVRShaderPtr> osg::DVRShaderRefPtr |
Definition at line 202 of file OSGDVRShaderBase.h.
Definition at line 214 of file OSGDVRSimpleLUTShader.h.
Definition at line 253 of file OSGDVRSimpleLUTShaderBase.h.
| typedef osgIF<DVRSimpleLUTShaderBase::isNodeCore, CoredNodePtr<DVRSimpleLUTShader>, FieldContainer::attempt_to_create_CoredNodePtr_on_non_NodeCore_FC >::_IRet osg::DVRSimpleLUTShaderNodePtr |
Definition at line 258 of file OSGDVRSimpleLUTShaderBase.h.
Definition at line 260 of file OSGDVRSimpleLUTShaderBase.h.
| typedef DVRSimpleShader* osg::DVRSimpleShaderP |
Definition at line 143 of file OSGDVRSimpleShader.h.
Definition at line 211 of file OSGDVRSimpleShaderBase.h.
| typedef osgIF<DVRSimpleShaderBase::isNodeCore, CoredNodePtr<DVRSimpleShader>, FieldContainer::attempt_to_create_CoredNodePtr_on_non_NodeCore_FC >::_IRet osg::DVRSimpleShaderNodePtr |
Definition at line 216 of file OSGDVRSimpleShaderBase.h.
Definition at line 218 of file OSGDVRSimpleShaderBase.h.
| typedef std::vector<DVRTriangle *> osg::DVRTriangleList |
Definition at line 84 of file OSGDVRTriangle.h.
| typedef DVRVolume* osg::DVRVolumeP |
Definition at line 233 of file OSGDVRVolume.h.
| typedef DVRVolumeBase* osg::DVRVolumeBaseP |
Definition at line 402 of file OSGDVRVolumeBase.h.
| typedef osgIF<DVRVolumeBase::isNodeCore, CoredNodePtr<DVRVolume>, FieldContainer::attempt_to_create_CoredNodePtr_on_non_NodeCore_FC >::_IRet osg::DVRVolumeNodePtr |
Definition at line 407 of file OSGDVRVolumeBase.h.
| typedef RefPtr<DVRVolumePtr> osg::DVRVolumeRefPtr |
Definition at line 409 of file OSGDVRVolumeBase.h.
| typedef DVRVolumeTexture* osg::DVRVolumeTextureP |
Definition at line 123 of file OSGDVRVolumeTexture.h.
Definition at line 285 of file OSGDVRVolumeTextureBase.h.
| typedef osgIF<DVRVolumeTextureBase::isNodeCore, CoredNodePtr<DVRVolumeTexture>, FieldContainer::attempt_to_create_CoredNodePtr_on_non_NodeCore_FC >::_IRet osg::DVRVolumeTextureNodePtr |
Definition at line 290 of file OSGDVRVolumeTextureBase.h.
Definition at line 292 of file OSGDVRVolumeTextureBase.h.
| typedef SField<QBit, 1> osg::SFQBit |
| typedef MField<QBit, 1> osg::MFQBit |
| typedef std::vector<TextureRecord *> osg::TextureSet |
Definition at line 58 of file OSGTextureManager.h.
| typedef FatBorderChunk* osg::FatBorderChunkP |
Definition at line 124 of file OSGFatBorderChunk.h.
Definition at line 211 of file OSGFatBorderChunkBase.h.
| typedef osgIF<FatBorderChunkBase::isNodeCore, CoredNodePtr<FatBorderChunk>, FieldContainer::attempt_to_create_CoredNodePtr_on_non_NodeCore_FC >::_IRet osg::FatBorderChunkNodePtr |
Definition at line 216 of file OSGFatBorderChunkBase.h.
Definition at line 218 of file OSGFatBorderChunkBase.h.
| typedef Surface* osg::SurfaceP |
Definition at line 226 of file OSGSurface.h.
| typedef SurfaceBase* osg::SurfaceBaseP |
Definition at line 378 of file OSGSurfaceBase.h.
| typedef osgIF<SurfaceBase::isNodeCore, CoredNodePtr<Surface>, FieldContainer::attempt_to_create_CoredNodePtr_on_non_NodeCore_FC >::_IRet osg::SurfaceNodePtr |
Definition at line 383 of file OSGSurfaceBase.h.
| typedef RefPtr<SurfacePtr> osg::SurfaceRefPtr |
Definition at line 385 of file OSGSurfaceBase.h.
| typedef GroupBase* osg::GroupBaseP |
Definition at line 211 of file OSGGroupBase.h.
| typedef osgIF<GroupBase::isNodeCore, CoredNodePtr<Group>, FieldContainer::attempt_to_create_CoredNodePtr_on_non_NodeCore_FC >::_IRet osg::GroupNodePtr |
Definition at line 216 of file OSGGroupBase.h.
| typedef RefPtr<GroupPtr> osg::GroupRefPtr |
Definition at line 218 of file OSGGroupBase.h.
Definition at line 245 of file OSGDirectionalLightBase.h.
| typedef osgIF<DirectionalLightBase::isNodeCore, CoredNodePtr<DirectionalLight>, FieldContainer::attempt_to_create_CoredNodePtr_on_non_NodeCore_FC >::_IRet osg::DirectionalLightNodePtr |
Definition at line 250 of file OSGDirectionalLightBase.h.
Definition at line 252 of file OSGDirectionalLightBase.h.
| typedef LightBase* osg::LightBaseP |
Definition at line 301 of file OSGLightBase.h.
| typedef osgIF<LightBase::isNodeCore, CoredNodePtr<Light>, FieldContainer::attempt_to_create_CoredNodePtr_on_non_NodeCore_FC >::_IRet osg::LightNodePtr |
Definition at line 306 of file OSGLightBase.h.
| typedef RefPtr<LightPtr> osg::LightRefPtr |
Definition at line 308 of file OSGLightBase.h.
| typedef LightEnvBase* osg::LightEnvBaseP |
Definition at line 211 of file OSGLightEnvBase.h.
| typedef osgIF<LightEnvBase::isNodeCore, CoredNodePtr<LightEnv>, FieldContainer::attempt_to_create_CoredNodePtr_on_non_NodeCore_FC >::_IRet osg::LightEnvNodePtr |
Definition at line 216 of file OSGLightEnvBase.h.
| typedef RefPtr<LightEnvPtr> osg::LightEnvRefPtr |
Definition at line 218 of file OSGLightEnvBase.h.
| typedef PointLightBase* osg::PointLightBaseP |
Definition at line 245 of file OSGPointLightBase.h.
| typedef osgIF<PointLightBase::isNodeCore, CoredNodePtr<PointLight>, FieldContainer::attempt_to_create_CoredNodePtr_on_non_NodeCore_FC >::_IRet osg::PointLightNodePtr |
Definition at line 250 of file OSGPointLightBase.h.
| typedef RefPtr<PointLightPtr> osg::PointLightRefPtr |
Definition at line 252 of file OSGPointLightBase.h.
| typedef SpotLightBase* osg::SpotLightBaseP |
Definition at line 261 of file OSGSpotLightBase.h.
| typedef osgIF<SpotLightBase::isNodeCore, CoredNodePtr<SpotLight>, FieldContainer::attempt_to_create_CoredNodePtr_on_non_NodeCore_FC >::_IRet osg::SpotLightNodePtr |
Definition at line 266 of file OSGSpotLightBase.h.
| typedef RefPtr<SpotLightPtr> osg::SpotLightRefPtr |
Definition at line 268 of file OSGSpotLightBase.h.
| typedef Billboard* osg::BillboardP |
Definition at line 151 of file OSGBillboard.h.
| typedef BillboardBase* osg::BillboardBaseP |
Definition at line 277 of file OSGBillboardBase.h.
| typedef osgIF<BillboardBase::isNodeCore, CoredNodePtr<Billboard>, FieldContainer::attempt_to_create_CoredNodePtr_on_non_NodeCore_FC >::_IRet osg::BillboardNodePtr |
Definition at line 282 of file OSGBillboardBase.h.
| typedef RefPtr<BillboardPtr> osg::BillboardRefPtr |
Definition at line 284 of file OSGBillboardBase.h.
| typedef ClipPlaneBase* osg::ClipPlaneBaseP |
Definition at line 261 of file OSGClipPlaneBase.h.
| typedef osgIF<ClipPlaneBase::isNodeCore, CoredNodePtr<ClipPlane>, FieldContainer::attempt_to_create_CoredNodePtr_on_non_NodeCore_FC >::_IRet osg::ClipPlaneNodePtr |
Definition at line 266 of file OSGClipPlaneBase.h.
| typedef RefPtr<ClipPlanePtr> osg::ClipPlaneRefPtr |
Definition at line 268 of file OSGClipPlaneBase.h.
Definition at line 277 of file OSGComponentTransformBase.h.
| typedef osgIF<ComponentTransformBase::isNodeCore, CoredNodePtr<ComponentTransform>, FieldContainer::attempt_to_create_CoredNodePtr_on_non_NodeCore_FC >::_IRet osg::ComponentTransformNodePtr |
Definition at line 282 of file OSGComponentTransformBase.h.
Definition at line 284 of file OSGComponentTransformBase.h.
| typedef DistanceLODBase* osg::DistanceLODBaseP |
Definition at line 253 of file OSGDistanceLODBase.h.
| typedef osgIF<DistanceLODBase::isNodeCore, CoredNodePtr<DistanceLOD>, FieldContainer::attempt_to_create_CoredNodePtr_on_non_NodeCore_FC >::_IRet osg::DistanceLODNodePtr |
Definition at line 258 of file OSGDistanceLODBase.h.
| typedef RefPtr<DistanceLODPtr> osg::DistanceLODRefPtr |
Definition at line 260 of file OSGDistanceLODBase.h.
| typedef InlineBase* osg::InlineBaseP |
Definition at line 253 of file OSGInlineBase.h.
| typedef osgIF<InlineBase::isNodeCore, CoredNodePtr<Inline>, FieldContainer::attempt_to_create_CoredNodePtr_on_non_NodeCore_FC >::_IRet osg::InlineNodePtr |
Definition at line 258 of file OSGInlineBase.h.
| typedef RefPtr<InlinePtr> osg::InlineRefPtr |
Definition at line 260 of file OSGInlineBase.h.
| typedef InverseTransform* osg::InverseTransformP |
Definition at line 309 of file OSGInverseTransform.h.
Definition at line 211 of file OSGInverseTransformBase.h.
| typedef osgIF<InverseTransformBase::isNodeCore, CoredNodePtr<InverseTransform>, FieldContainer::attempt_to_create_CoredNodePtr_on_non_NodeCore_FC >::_IRet osg::InverseTransformNodePtr |
Definition at line 216 of file OSGInverseTransformBase.h.
Definition at line 218 of file OSGInverseTransformBase.h.
| typedef MaterialGroup* osg::MaterialGroupP |
Definition at line 131 of file OSGMaterialGroup.h.
| typedef MaterialGroupBase* osg::MaterialGroupBaseP |
Definition at line 245 of file OSGMaterialGroupBase.h.
| typedef osgIF<MaterialGroupBase::isNodeCore, CoredNodePtr<MaterialGroup>, FieldContainer::attempt_to_create_CoredNodePtr_on_non_NodeCore_FC >::_IRet osg::MaterialGroupNodePtr |
Definition at line 250 of file OSGMaterialGroupBase.h.
Definition at line 252 of file OSGMaterialGroupBase.h.
| typedef MaterialPool* osg::MaterialPoolP |
Definition at line 149 of file OSGMaterialPool.h.
| typedef MaterialPoolBase* osg::MaterialPoolBaseP |
Definition at line 245 of file OSGMaterialPoolBase.h.
| typedef osgIF<MaterialPoolBase::isNodeCore, CoredNodePtr<MaterialPool>, FieldContainer::attempt_to_create_CoredNodePtr_on_non_NodeCore_FC >::_IRet osg::MaterialPoolNodePtr |
Definition at line 250 of file OSGMaterialPoolBase.h.
| typedef RefPtr<MaterialPoolPtr> osg::MaterialPoolRefPtr |
Definition at line 252 of file OSGMaterialPoolBase.h.
| typedef ProxyGroupBase* osg::ProxyGroupBaseP |
Definition at line 346 of file OSGProxyGroupBase.h.
| typedef osgIF<ProxyGroupBase::isNodeCore, CoredNodePtr<ProxyGroup>, FieldContainer::attempt_to_create_CoredNodePtr_on_non_NodeCore_FC >::_IRet osg::ProxyGroupNodePtr |
Definition at line 351 of file OSGProxyGroupBase.h.
| typedef RefPtr<ProxyGroupPtr> osg::ProxyGroupRefPtr |
Definition at line 353 of file OSGProxyGroupBase.h.
| typedef ScreenGroup* osg::ScreenGroupP |
Definition at line 152 of file OSGScreenGroup.h.
| typedef ScreenGroupBase* osg::ScreenGroupBaseP |
Definition at line 211 of file OSGScreenGroupBase.h.
| typedef osgIF<ScreenGroupBase::isNodeCore, CoredNodePtr<ScreenGroup>, FieldContainer::attempt_to_create_CoredNodePtr_on_non_NodeCore_FC >::_IRet osg::ScreenGroupNodePtr |
Definition at line 216 of file OSGScreenGroupBase.h.
| typedef RefPtr<ScreenGroupPtr> osg::ScreenGroupRefPtr |
Definition at line 218 of file OSGScreenGroupBase.h.
Definition at line 245 of file OSGStateSortingGroupBase.h.
| typedef osgIF<StateSortingGroupBase::isNodeCore, CoredNodePtr<StateSortingGroup>, FieldContainer::attempt_to_create_CoredNodePtr_on_non_NodeCore_FC >::_IRet osg::StateSortingGroupNodePtr |
Definition at line 250 of file OSGStateSortingGroupBase.h.
Definition at line 252 of file OSGStateSortingGroupBase.h.
| typedef Switch* osg::SwitchP |
Definition at line 133 of file OSGSwitch.h.
| typedef SwitchBase* osg::SwitchBaseP |
Definition at line 245 of file OSGSwitchBase.h.
| typedef osgIF<SwitchBase::isNodeCore, CoredNodePtr<Switch>, FieldContainer::attempt_to_create_CoredNodePtr_on_non_NodeCore_FC >::_IRet osg::SwitchNodePtr |
Definition at line 250 of file OSGSwitchBase.h.
| typedef RefPtr<SwitchPtr> osg::SwitchRefPtr |
Definition at line 252 of file OSGSwitchBase.h.
| typedef TransformBase* osg::TransformBaseP |
Definition at line 245 of file OSGTransformBase.h.
| typedef osgIF<TransformBase::isNodeCore, CoredNodePtr<Transform>, FieldContainer::attempt_to_create_CoredNodePtr_on_non_NodeCore_FC >::_IRet osg::TransformNodePtr |
Definition at line 250 of file OSGTransformBase.h.
| typedef RefPtr<TransformPtr> osg::TransformRefPtr |
Definition at line 252 of file OSGTransformBase.h.
| typedef BlendChunk* osg::BlendChunkP |
Definition at line 170 of file OSGBlendChunk.h.
| typedef BlendChunkBase* osg::BlendChunkBaseP |
Definition at line 301 of file OSGBlendChunkBase.h.
| typedef osgIF<BlendChunkBase::isNodeCore, CoredNodePtr<BlendChunk>, FieldContainer::attempt_to_create_CoredNodePtr_on_non_NodeCore_FC >::_IRet osg::BlendChunkNodePtr |
Definition at line 306 of file OSGBlendChunkBase.h.
| typedef RefPtr<BlendChunkPtr> osg::BlendChunkRefPtr |
Definition at line 308 of file OSGBlendChunkBase.h.
| typedef ClipPlaneChunk* osg::ClipPlaneChunkP |
Definition at line 152 of file OSGClipPlaneChunk.h.
Definition at line 261 of file OSGClipPlaneChunkBase.h.
| typedef osgIF<ClipPlaneChunkBase::isNodeCore, CoredNodePtr<ClipPlaneChunk>, FieldContainer::attempt_to_create_CoredNodePtr_on_non_NodeCore_FC >::_IRet osg::ClipPlaneChunkNodePtr |
Definition at line 266 of file OSGClipPlaneChunkBase.h.
Definition at line 268 of file OSGClipPlaneChunkBase.h.
| typedef ColorMaskChunk* osg::ColorMaskChunkP |
Definition at line 165 of file OSGColorMaskChunk.h.
Definition at line 269 of file OSGColorMaskChunkBase.h.
| typedef osgIF<ColorMaskChunkBase::isNodeCore, CoredNodePtr<ColorMaskChunk>, FieldContainer::attempt_to_create_CoredNodePtr_on_non_NodeCore_FC >::_IRet osg::ColorMaskChunkNodePtr |
Definition at line 274 of file OSGColorMaskChunkBase.h.
Definition at line 276 of file OSGColorMaskChunkBase.h.
| typedef CubeTextureChunk* osg::CubeTextureChunkP |
Definition at line 178 of file OSGCubeTextureChunk.h.
Definition at line 285 of file OSGCubeTextureChunkBase.h.
| typedef osgIF<CubeTextureChunkBase::isNodeCore, CoredNodePtr<CubeTextureChunk>, FieldContainer::attempt_to_create_CoredNodePtr_on_non_NodeCore_FC >::_IRet osg::CubeTextureChunkNodePtr |
Definition at line 290 of file OSGCubeTextureChunkBase.h.
Definition at line 292 of file OSGCubeTextureChunkBase.h.
| typedef DepthChunk* osg::DepthChunkP |
Definition at line 158 of file OSGDepthChunk.h.
| typedef DepthChunkBase* osg::DepthChunkBaseP |
Definition at line 277 of file OSGDepthChunkBase.h.
| typedef osgIF<DepthChunkBase::isNodeCore, CoredNodePtr<DepthChunk>, FieldContainer::attempt_to_create_CoredNodePtr_on_non_NodeCore_FC >::_IRet osg::DepthChunkNodePtr |
Definition at line 282 of file OSGDepthChunkBase.h.
| typedef RefPtr<DepthChunkPtr> osg::DepthChunkRefPtr |
Definition at line 284 of file OSGDepthChunkBase.h.
Definition at line 164 of file OSGFragmentProgramChunk.h.
Definition at line 211 of file OSGFragmentProgramChunkBase.h.
| typedef osgIF<FragmentProgramChunkBase::isNodeCore, CoredNodePtr<FragmentProgramChunk>, FieldContainer::attempt_to_create_CoredNodePtr_on_non_NodeCore_FC >::_IRet osg::FragmentProgramChunkNodePtr |
Definition at line 216 of file OSGFragmentProgramChunkBase.h.
Definition at line 218 of file OSGFragmentProgramChunkBase.h.
| typedef LightChunk* osg::LightChunkP |
Definition at line 154 of file OSGLightChunk.h.
| typedef LightChunkBase* osg::LightChunkBaseP |
Definition at line 317 of file OSGLightChunkBase.h.
| typedef osgIF<LightChunkBase::isNodeCore, CoredNodePtr<LightChunk>, FieldContainer::attempt_to_create_CoredNodePtr_on_non_NodeCore_FC >::_IRet osg::LightChunkNodePtr |
Definition at line 322 of file OSGLightChunkBase.h.
| typedef RefPtr<LightChunkPtr> osg::LightChunkRefPtr |
Definition at line 324 of file OSGLightChunkBase.h.
| typedef LightModelChunk* osg::LightModelChunkP |
Definition at line 154 of file OSGLightModelChunk.h.
Definition at line 261 of file OSGLightModelChunkBase.h.
| typedef osgIF<LightModelChunkBase::isNodeCore, CoredNodePtr<LightModelChunk>, FieldContainer::attempt_to_create_CoredNodePtr_on_non_NodeCore_FC >::_IRet osg::LightModelChunkNodePtr |
Definition at line 266 of file OSGLightModelChunkBase.h.
Definition at line 268 of file OSGLightModelChunkBase.h.
| typedef LineChunk* osg::LineChunkP |
Definition at line 157 of file OSGLineChunk.h.
| typedef LineChunkBase* osg::LineChunkBaseP |
Definition at line 269 of file OSGLineChunkBase.h.
| typedef osgIF<LineChunkBase::isNodeCore, CoredNodePtr<LineChunk>, FieldContainer::attempt_to_create_CoredNodePtr_on_non_NodeCore_FC >::_IRet osg::LineChunkNodePtr |
Definition at line 274 of file OSGLineChunkBase.h.
| typedef RefPtr<LineChunkPtr> osg::LineChunkRefPtr |
Definition at line 276 of file OSGLineChunkBase.h.
| typedef LogicOpChunk* osg::LogicOpChunkP |
Definition at line 156 of file OSGLogicOpChunk.h.
| typedef LogicOpChunkBase* osg::LogicOpChunkBaseP |
Definition at line 245 of file OSGLogicOpChunkBase.h.
| typedef osgIF<LogicOpChunkBase::isNodeCore, CoredNodePtr<LogicOpChunk>, FieldContainer::attempt_to_create_CoredNodePtr_on_non_NodeCore_FC >::_IRet osg::LogicOpChunkNodePtr |
Definition at line 250 of file OSGLogicOpChunkBase.h.
| typedef RefPtr<LogicOpChunkPtr> osg::LogicOpChunkRefPtr |
Definition at line 252 of file OSGLogicOpChunkBase.h.
| typedef MaterialChunk* osg::MaterialChunkP |
Definition at line 156 of file OSGMaterialChunk.h.
| typedef MaterialChunkBase* osg::MaterialChunkBaseP |
Definition at line 349 of file OSGMaterialChunkBase.h.
| typedef osgIF<MaterialChunkBase::isNodeCore, CoredNodePtr<MaterialChunk>, FieldContainer::attempt_to_create_CoredNodePtr_on_non_NodeCore_FC >::_IRet osg::MaterialChunkNodePtr |
Definition at line 354 of file OSGMaterialChunkBase.h.
Definition at line 356 of file OSGMaterialChunkBase.h.
| typedef PointChunk* osg::PointChunkP |
Definition at line 166 of file OSGPointChunk.h.
| typedef PointChunkBase* osg::PointChunkBaseP |
Definition at line 317 of file OSGPointChunkBase.h.
| typedef osgIF<PointChunkBase::isNodeCore, CoredNodePtr<PointChunk>, FieldContainer::attempt_to_create_CoredNodePtr_on_non_NodeCore_FC >::_IRet osg::PointChunkNodePtr |
Definition at line 322 of file OSGPointChunkBase.h.
| typedef RefPtr<PointChunkPtr> osg::PointChunkRefPtr |
Definition at line 324 of file OSGPointChunkBase.h.
| typedef PolygonChunk* osg::PolygonChunkP |
Definition at line 154 of file OSGPolygonChunk.h.
| typedef PolygonChunkBase* osg::PolygonChunkBaseP |
Definition at line 325 of file OSGPolygonChunkBase.h.
| typedef osgIF<PolygonChunkBase::isNodeCore, CoredNodePtr<PolygonChunk>, FieldContainer::attempt_to_create_CoredNodePtr_on_non_NodeCore_FC >::_IRet osg::PolygonChunkNodePtr |
Definition at line 330 of file OSGPolygonChunkBase.h.
| typedef RefPtr<PolygonChunkPtr> osg::PolygonChunkRefPtr |
Definition at line 332 of file OSGPolygonChunkBase.h.
| typedef ProgramChunk* osg::ProgramChunkP |
Definition at line 226 of file OSGProgramChunk.h.
| typedef ProgramChunkBase* osg::ProgramChunkBaseP |
Definition at line 266 of file OSGProgramChunkBase.h.
| typedef osgIF<ProgramChunkBase::isNodeCore, CoredNodePtr<ProgramChunk>, FieldContainer::attempt_to_create_CoredNodePtr_on_non_NodeCore_FC >::_IRet osg::ProgramChunkNodePtr |
Definition at line 271 of file OSGProgramChunkBase.h.
| typedef RefPtr<ProgramChunkPtr> osg::ProgramChunkRefPtr |
Definition at line 273 of file OSGProgramChunkBase.h.
Definition at line 222 of file OSGRegisterCombinersChunk.h.
Definition at line 485 of file OSGRegisterCombinersChunkBase.h.
Definition at line 490 of file OSGRegisterCombinersChunkBase.h.
Definition at line 492 of file OSGRegisterCombinersChunkBase.h.
| typedef SClipPlaneChunk* osg::SClipPlaneChunkP |
Definition at line 152 of file OSGSClipPlaneChunk.h.
Definition at line 245 of file OSGSClipPlaneChunkBase.h.
| typedef osgIF<SClipPlaneChunkBase::isNodeCore, CoredNodePtr<SClipPlaneChunk>, FieldContainer::attempt_to_create_CoredNodePtr_on_non_NodeCore_FC >::_IRet osg::SClipPlaneChunkNodePtr |
Definition at line 250 of file OSGSClipPlaneChunkBase.h.
Definition at line 252 of file OSGSClipPlaneChunkBase.h.
| typedef State* osg::StateP |
Definition at line 172 of file OSGState.h.
| typedef StateBase* osg::StateBaseP |
Definition at line 245 of file OSGStateBase.h.
| typedef osgIF<StateBase::isNodeCore, CoredNodePtr<State>, FieldContainer::attempt_to_create_CoredNodePtr_on_non_NodeCore_FC >::_IRet osg::StateNodePtr |
Definition at line 250 of file OSGStateBase.h.
| typedef RefPtr<StatePtr> osg::StateRefPtr |
Definition at line 252 of file OSGStateBase.h.
| typedef StateChunk* osg::StateChunkP |
Definition at line 214 of file OSGStateChunk.h.
| typedef StateChunkBase* osg::StateChunkBaseP |
Definition at line 229 of file OSGStateChunkBase.h.
| typedef osgIF<StateChunkBase::isNodeCore, CoredNodePtr<StateChunk>, FieldContainer::attempt_to_create_CoredNodePtr_on_non_NodeCore_FC >::_IRet osg::StateChunkNodePtr |
Definition at line 234 of file OSGStateChunkBase.h.
| typedef RefPtr<StateChunkPtr> osg::StateChunkRefPtr |
Definition at line 236 of file OSGStateChunkBase.h.
| typedef StencilChunk* osg::StencilChunkP |
Definition at line 155 of file OSGStencilChunk.h.
| typedef StencilChunkBase* osg::StencilChunkBaseP |
Definition at line 301 of file OSGStencilChunkBase.h.
| typedef osgIF<StencilChunkBase::isNodeCore, CoredNodePtr<StencilChunk>, FieldContainer::attempt_to_create_CoredNodePtr_on_non_NodeCore_FC >::_IRet osg::StencilChunkNodePtr |
Definition at line 306 of file OSGStencilChunkBase.h.
| typedef RefPtr<StencilChunkPtr> osg::StencilChunkRefPtr |
Definition at line 308 of file OSGStencilChunkBase.h.
| typedef TexGenChunk* osg::TexGenChunkP |
Definition at line 155 of file OSGTexGenChunk.h.
| typedef TexGenChunkBase* osg::TexGenChunkBaseP |
Definition at line 333 of file OSGTexGenChunkBase.h.
| typedef osgIF<TexGenChunkBase::isNodeCore, CoredNodePtr<TexGenChunk>, FieldContainer::attempt_to_create_CoredNodePtr_on_non_NodeCore_FC >::_IRet osg::TexGenChunkNodePtr |
Definition at line 338 of file OSGTexGenChunkBase.h.
| typedef RefPtr<TexGenChunkPtr> osg::TexGenChunkRefPtr |
Definition at line 340 of file OSGTexGenChunkBase.h.
| typedef TextureChunk* osg::TextureChunkP |
Definition at line 252 of file OSGTextureChunk.h.
| typedef TextureChunkBase* osg::TextureChunkBaseP |
Definition at line 661 of file OSGTextureChunkBase.h.
| typedef osgIF<TextureChunkBase::isNodeCore, CoredNodePtr<TextureChunk>, FieldContainer::attempt_to_create_CoredNodePtr_on_non_NodeCore_FC >::_IRet osg::TextureChunkNodePtr |
Definition at line 666 of file OSGTextureChunkBase.h.
| typedef RefPtr<TextureChunkPtr> osg::TextureChunkRefPtr |
Definition at line 668 of file OSGTextureChunkBase.h.
Definition at line 156 of file OSGTextureTransformChunk.h.
Definition at line 245 of file OSGTextureTransformChunkBase.h.
| typedef osgIF<TextureTransformChunkBase::isNodeCore, CoredNodePtr<TextureTransformChunk>, FieldContainer::attempt_to_create_CoredNodePtr_on_non_NodeCore_FC >::_IRet osg::TextureTransformChunkNodePtr |
Definition at line 250 of file OSGTextureTransformChunkBase.h.
Definition at line 252 of file OSGTextureTransformChunkBase.h.
| typedef TransformChunk* osg::TransformChunkP |
Definition at line 154 of file OSGTransformChunk.h.
Definition at line 245 of file OSGTransformChunkBase.h.
| typedef osgIF<TransformChunkBase::isNodeCore, CoredNodePtr<TransformChunk>, FieldContainer::attempt_to_create_CoredNodePtr_on_non_NodeCore_FC >::_IRet osg::TransformChunkNodePtr |
Definition at line 250 of file OSGTransformChunkBase.h.
Definition at line 252 of file OSGTransformChunkBase.h.
Definition at line 131 of file OSGTwoSidedLightingChunk.h.
Definition at line 211 of file OSGTwoSidedLightingChunkBase.h.
| typedef osgIF<TwoSidedLightingChunkBase::isNodeCore, CoredNodePtr<TwoSidedLightingChunk>, FieldContainer::attempt_to_create_CoredNodePtr_on_non_NodeCore_FC >::_IRet osg::TwoSidedLightingChunkNodePtr |
Definition at line 216 of file OSGTwoSidedLightingChunkBase.h.
Definition at line 218 of file OSGTwoSidedLightingChunkBase.h.
Definition at line 164 of file OSGVertexProgramChunk.h.
Definition at line 211 of file OSGVertexProgramChunkBase.h.
| typedef osgIF<VertexProgramChunkBase::isNodeCore, CoredNodePtr<VertexProgramChunk>, FieldContainer::attempt_to_create_CoredNodePtr_on_non_NodeCore_FC >::_IRet osg::VertexProgramChunkNodePtr |
Definition at line 216 of file OSGVertexProgramChunkBase.h.
Definition at line 218 of file OSGVertexProgramChunkBase.h.
Definition at line 221 of file OSGGraphicStatisticsForeground.h.
Definition at line 378 of file OSGGraphicStatisticsForegroundBase.h.
Definition at line 383 of file OSGGraphicStatisticsForegroundBase.h.
Definition at line 385 of file OSGGraphicStatisticsForegroundBase.h.
Definition at line 153 of file OSGSimpleStatisticsForeground.h.
Definition at line 333 of file OSGSimpleStatisticsForegroundBase.h.
Definition at line 338 of file OSGSimpleStatisticsForegroundBase.h.
Definition at line 340 of file OSGSimpleStatisticsForegroundBase.h.
| typedef StatCollector* osg::StatCollectorP |
Definition at line 154 of file OSGStatCollector.h.
| typedef StatElem* osg::StatElemP |
Definition at line 134 of file OSGStatElem.h.
| typedef StatElemDescBase* osg::StatElemDescBaseP |
Definition at line 187 of file OSGStatElemDesc.h.
| typedef StatIntElem* osg::StatIntElemP |
Definition at line 155 of file OSGStatIntElem.h.
| typedef StatIntOnceElem* osg::StatIntOnceElemP |
Definition at line 176 of file OSGStatIntOnceElem.h.
Definition at line 121 of file OSGStatisticsForeground.h.
Definition at line 237 of file OSGStatisticsForegroundBase.h.
| typedef osgIF<StatisticsForegroundBase::isNodeCore, CoredNodePtr<StatisticsForeground>, FieldContainer::attempt_to_create_CoredNodePtr_on_non_NodeCore_FC >::_IRet osg::StatisticsForegroundNodePtr |
Definition at line 242 of file OSGStatisticsForegroundBase.h.
Definition at line 244 of file OSGStatisticsForegroundBase.h.
| typedef StatRealElem* osg::StatRealElemP |
Definition at line 153 of file OSGStatRealElem.h.
| typedef StatStringElem* osg::StatStringElemP |
Definition at line 149 of file OSGStatStringElem.h.
| typedef StatTimeElem* osg::StatTimeElemP |
Definition at line 152 of file OSGStatTimeElem.h.
| typedef StatTimeStampElem* osg::StatTimeStampElemP |
Definition at line 152 of file OSGStatTimeStampElem.h.
| typedef Background* osg::BackgroundP |
Definition at line 134 of file OSGBackground.h.
| typedef BackgroundBase* osg::BackgroundBaseP |
Definition at line 195 of file OSGBackgroundBase.h.
| typedef osgIF<BackgroundBase::isNodeCore, CoredNodePtr<Background>, FieldContainer::attempt_to_create_CoredNodePtr_on_non_NodeCore_FC >::_IRet osg::BackgroundNodePtr |
Definition at line 200 of file OSGBackgroundBase.h.
| typedef RefPtr<BackgroundPtr> osg::BackgroundRefPtr |
Definition at line 202 of file OSGBackgroundBase.h.
| typedef Camera* osg::CameraP |
Definition at line 172 of file OSGCamera.h.
| typedef CameraBase* osg::CameraBaseP |
Definition at line 245 of file OSGCameraBase.h.
| typedef osgIF<CameraBase::isNodeCore, CoredNodePtr<Camera>, FieldContainer::attempt_to_create_CoredNodePtr_on_non_NodeCore_FC >::_IRet osg::CameraNodePtr |
Definition at line 250 of file OSGCameraBase.h.
| typedef RefPtr<CameraPtr> osg::CameraRefPtr |
Definition at line 252 of file OSGCameraBase.h.
| typedef CameraDecorator* osg::CameraDecoratorP |
Definition at line 130 of file OSGCameraDecorator.h.
Definition at line 240 of file OSGCameraDecoratorBase.h.
| typedef osgIF<CameraDecoratorBase::isNodeCore, CoredNodePtr<CameraDecorator>, FieldContainer::attempt_to_create_CoredNodePtr_on_non_NodeCore_FC >::_IRet osg::CameraDecoratorNodePtr |
Definition at line 245 of file OSGCameraDecoratorBase.h.
Definition at line 247 of file OSGCameraDecoratorBase.h.
Definition at line 127 of file OSGColorBufferViewport.h.
Definition at line 269 of file OSGColorBufferViewportBase.h.
| typedef osgIF<ColorBufferViewportBase::isNodeCore, CoredNodePtr<ColorBufferViewport>, FieldContainer::attempt_to_create_CoredNodePtr_on_non_NodeCore_FC >::_IRet osg::ColorBufferViewportNodePtr |
Definition at line 274 of file OSGColorBufferViewportBase.h.
Definition at line 276 of file OSGColorBufferViewportBase.h.
Definition at line 130 of file OSGColorDisplayFilter.h.
Definition at line 285 of file OSGColorDisplayFilterBase.h.
| typedef osgIF<ColorDisplayFilterBase::isNodeCore, CoredNodePtr<ColorDisplayFilter>, FieldContainer::attempt_to_create_CoredNodePtr_on_non_NodeCore_FC >::_IRet osg::ColorDisplayFilterNodePtr |
Definition at line 290 of file OSGColorDisplayFilterBase.h.
Definition at line 292 of file OSGColorDisplayFilterBase.h.
Definition at line 127 of file OSGDepthClearBackground.h.
Definition at line 261 of file OSGDepthClearBackgroundBase.h.
| typedef osgIF<DepthClearBackgroundBase::isNodeCore, CoredNodePtr<DepthClearBackground>, FieldContainer::attempt_to_create_CoredNodePtr_on_non_NodeCore_FC >::_IRet osg::DepthClearBackgroundNodePtr |
Definition at line 266 of file OSGDepthClearBackgroundBase.h.
Definition at line 268 of file OSGDepthClearBackgroundBase.h.
| typedef DisplayFilter* osg::DisplayFilterP |
Definition at line 135 of file OSGDisplayFilter.h.
| typedef DisplayFilterBase* osg::DisplayFilterBaseP |
Definition at line 229 of file OSGDisplayFilterBase.h.
| typedef osgIF<DisplayFilterBase::isNodeCore, CoredNodePtr<DisplayFilter>, FieldContainer::attempt_to_create_CoredNodePtr_on_non_NodeCore_FC >::_IRet osg::DisplayFilterNodePtr |
Definition at line 234 of file OSGDisplayFilterBase.h.
Definition at line 236 of file OSGDisplayFilterBase.h.
Definition at line 171 of file OSGDisplayFilterForeground.h.
Definition at line 253 of file OSGDisplayFilterForegroundBase.h.
Definition at line 258 of file OSGDisplayFilterForegroundBase.h.
Definition at line 260 of file OSGDisplayFilterForegroundBase.h.
Definition at line 123 of file OSGDistortionDisplayFilter.h.
Definition at line 261 of file OSGDistortionDisplayFilterBase.h.
Definition at line 266 of file OSGDistortionDisplayFilterBase.h.
Definition at line 268 of file OSGDistortionDisplayFilterBase.h.
| typedef FBOViewport* osg::FBOViewportP |
Definition at line 205 of file OSGFBOViewport.h.
| typedef FBOViewportBase* osg::FBOViewportBaseP |
Definition at line 362 of file OSGFBOViewportBase.h.
| typedef osgIF<FBOViewportBase::isNodeCore, CoredNodePtr<FBOViewport>, FieldContainer::attempt_to_create_CoredNodePtr_on_non_NodeCore_FC >::_IRet osg::FBOViewportNodePtr |
Definition at line 367 of file OSGFBOViewportBase.h.
| typedef RefPtr<FBOViewportPtr> osg::FBOViewportRefPtr |
Definition at line 369 of file OSGFBOViewportBase.h.
Definition at line 121 of file OSGFileGrabForeground.h.
Definition at line 261 of file OSGFileGrabForegroundBase.h.
| typedef osgIF<FileGrabForegroundBase::isNodeCore, CoredNodePtr<FileGrabForeground>, FieldContainer::attempt_to_create_CoredNodePtr_on_non_NodeCore_FC >::_IRet osg::FileGrabForegroundNodePtr |
Definition at line 266 of file OSGFileGrabForegroundBase.h.
Definition at line 268 of file OSGFileGrabForegroundBase.h.
| typedef Foreground* osg::ForegroundP |
Definition at line 134 of file OSGForeground.h.
| typedef ForegroundBase* osg::ForegroundBaseP |
Definition at line 229 of file OSGForegroundBase.h.
| typedef osgIF<ForegroundBase::isNodeCore, CoredNodePtr<Foreground>, FieldContainer::attempt_to_create_CoredNodePtr_on_non_NodeCore_FC >::_IRet osg::ForegroundNodePtr |
Definition at line 234 of file OSGForegroundBase.h.
| typedef RefPtr<ForegroundPtr> osg::ForegroundRefPtr |
Definition at line 236 of file OSGForegroundBase.h.
| typedef GrabForeground* osg::GrabForegroundP |
Definition at line 121 of file OSGGrabForeground.h.
Definition at line 253 of file OSGGrabForegroundBase.h.
| typedef osgIF<GrabForegroundBase::isNodeCore, CoredNodePtr<GrabForeground>, FieldContainer::attempt_to_create_CoredNodePtr_on_non_NodeCore_FC >::_IRet osg::GrabForegroundNodePtr |
Definition at line 258 of file OSGGrabForegroundBase.h.
Definition at line 260 of file OSGGrabForegroundBase.h.
Definition at line 137 of file OSGGradientBackground.h.
Definition at line 274 of file OSGGradientBackgroundBase.h.
| typedef osgIF<GradientBackgroundBase::isNodeCore, CoredNodePtr<GradientBackground>, FieldContainer::attempt_to_create_CoredNodePtr_on_non_NodeCore_FC >::_IRet osg::GradientBackgroundNodePtr |
Definition at line 279 of file OSGGradientBackgroundBase.h.
Definition at line 281 of file OSGGradientBackgroundBase.h.
| typedef ImageBackground* osg::ImageBackgroundP |
Definition at line 126 of file OSGImageBackground.h.
Definition at line 261 of file OSGImageBackgroundBase.h.
| typedef osgIF<ImageBackgroundBase::isNodeCore, CoredNodePtr<ImageBackground>, FieldContainer::attempt_to_create_CoredNodePtr_on_non_NodeCore_FC >::_IRet osg::ImageBackgroundNodePtr |
Definition at line 266 of file OSGImageBackgroundBase.h.
Definition at line 268 of file OSGImageBackgroundBase.h.
| typedef ImageForeground* osg::ImageForegroundP |
Definition at line 139 of file OSGImageForeground.h.
Definition at line 253 of file OSGImageForegroundBase.h.
| typedef osgIF<ImageForegroundBase::isNodeCore, CoredNodePtr<ImageForeground>, FieldContainer::attempt_to_create_CoredNodePtr_on_non_NodeCore_FC >::_IRet osg::ImageForegroundNodePtr |
Definition at line 258 of file OSGImageForegroundBase.h.
Definition at line 260 of file OSGImageForegroundBase.h.
| typedef MatrixCamera* osg::MatrixCameraP |
Definition at line 273 of file OSGMatrixCamera.h.
| typedef MatrixCameraBase* osg::MatrixCameraBaseP |
Definition at line 253 of file OSGMatrixCameraBase.h.
| typedef osgIF<MatrixCameraBase::isNodeCore, CoredNodePtr<MatrixCamera>, FieldContainer::attempt_to_create_CoredNodePtr_on_non_NodeCore_FC >::_IRet osg::MatrixCameraNodePtr |
Definition at line 258 of file OSGMatrixCameraBase.h.
| typedef RefPtr<MatrixCameraPtr> osg::MatrixCameraRefPtr |
Definition at line 260 of file OSGMatrixCameraBase.h.
Definition at line 128 of file OSGMatrixCameraDecorator.h.
Definition at line 285 of file OSGMatrixCameraDecoratorBase.h.
| typedef osgIF<MatrixCameraDecoratorBase::isNodeCore, CoredNodePtr<MatrixCameraDecorator>, FieldContainer::attempt_to_create_CoredNodePtr_on_non_NodeCore_FC >::_IRet osg::MatrixCameraDecoratorNodePtr |
Definition at line 290 of file OSGMatrixCameraDecoratorBase.h.
Definition at line 292 of file OSGMatrixCameraDecoratorBase.h.
Definition at line 140 of file OSGOffCenterPerspectiveCamera.h.
Definition at line 245 of file OSGOffCenterPerspectiveCameraBase.h.
Definition at line 250 of file OSGOffCenterPerspectiveCameraBase.h.
Definition at line 252 of file OSGOffCenterPerspectiveCameraBase.h.
Definition at line 123 of file OSGOrthographicCamera.h.
Definition at line 253 of file OSGOrthographicCameraBase.h.
| typedef osgIF<OrthographicCameraBase::isNodeCore, CoredNodePtr<OrthographicCamera>, FieldContainer::attempt_to_create_CoredNodePtr_on_non_NodeCore_FC >::_IRet osg::OrthographicCameraNodePtr |
Definition at line 258 of file OSGOrthographicCameraBase.h.
Definition at line 260 of file OSGOrthographicCameraBase.h.
| typedef PassiveBackground* osg::PassiveBackgroundP |
Definition at line 127 of file OSGPassiveBackground.h.
Definition at line 211 of file OSGPassiveBackgroundBase.h.
| typedef osgIF<PassiveBackgroundBase::isNodeCore, CoredNodePtr<PassiveBackground>, FieldContainer::attempt_to_create_CoredNodePtr_on_non_NodeCore_FC >::_IRet osg::PassiveBackgroundNodePtr |
Definition at line 216 of file OSGPassiveBackgroundBase.h.
Definition at line 218 of file OSGPassiveBackgroundBase.h.
| typedef PassiveViewport* osg::PassiveViewportP |
Definition at line 127 of file OSGPassiveViewport.h.
Definition at line 211 of file OSGPassiveViewportBase.h.
| typedef osgIF<PassiveViewportBase::isNodeCore, CoredNodePtr<PassiveViewport>, FieldContainer::attempt_to_create_CoredNodePtr_on_non_NodeCore_FC >::_IRet osg::PassiveViewportNodePtr |
Definition at line 216 of file OSGPassiveViewportBase.h.
Definition at line 218 of file OSGPassiveViewportBase.h.
| typedef PassiveWindow* osg::PassiveWindowP |
Definition at line 127 of file OSGPassiveWindow.h.
| typedef FCPtr<WindowPtr, PassiveWindow> osg::PassiveWindowPtr |
Definition at line 129 of file OSGPassiveWindow.h.
| typedef PassiveWindowBase* osg::PassiveWindowBaseP |
Definition at line 211 of file OSGPassiveWindowBase.h.
| typedef osgIF<PassiveWindowBase::isNodeCore, CoredNodePtr<PassiveWindow>, FieldContainer::attempt_to_create_CoredNodePtr_on_non_NodeCore_FC >::_IRet osg::PassiveWindowNodePtr |
Definition at line 216 of file OSGPassiveWindowBase.h.
Definition at line 218 of file OSGPassiveWindowBase.h.
| typedef PerspectiveCamera* osg::PerspectiveCameraP |
Definition at line 130 of file OSGPerspectiveCamera.h.
Definition at line 253 of file OSGPerspectiveCameraBase.h.
| typedef osgIF<PerspectiveCameraBase::isNodeCore, CoredNodePtr<PerspectiveCamera>, FieldContainer::attempt_to_create_CoredNodePtr_on_non_NodeCore_FC >::_IRet osg::PerspectiveCameraNodePtr |
Definition at line 258 of file OSGPerspectiveCameraBase.h.
Definition at line 260 of file OSGPerspectiveCameraBase.h.
| typedef PolygonBackground* osg::PolygonBackgroundP |
Definition at line 128 of file OSGPolygonBackground.h.
Definition at line 325 of file OSGPolygonBackgroundBase.h.
| typedef osgIF<PolygonBackgroundBase::isNodeCore, CoredNodePtr<PolygonBackground>, FieldContainer::attempt_to_create_CoredNodePtr_on_non_NodeCore_FC >::_IRet osg::PolygonBackgroundNodePtr |
Definition at line 330 of file OSGPolygonBackgroundBase.h.
Definition at line 332 of file OSGPolygonBackgroundBase.h.
| typedef PolygonForeground* osg::PolygonForegroundP |
Definition at line 128 of file OSGPolygonForeground.h.
Definition at line 309 of file OSGPolygonForegroundBase.h.
| typedef osgIF<PolygonForegroundBase::isNodeCore, CoredNodePtr<PolygonForeground>, FieldContainer::attempt_to_create_CoredNodePtr_on_non_NodeCore_FC >::_IRet osg::PolygonForegroundNodePtr |
Definition at line 314 of file OSGPolygonForegroundBase.h.
Definition at line 316 of file OSGPolygonForegroundBase.h.
Definition at line 134 of file OSGProjectionCameraDecorator.h.
Definition at line 306 of file OSGProjectionCameraDecoratorBase.h.
Definition at line 311 of file OSGProjectionCameraDecoratorBase.h.
Definition at line 313 of file OSGProjectionCameraDecoratorBase.h.
Definition at line 123 of file OSGResolutionDisplayFilter.h.
Definition at line 245 of file OSGResolutionDisplayFilterBase.h.
Definition at line 250 of file OSGResolutionDisplayFilterBase.h.
Definition at line 252 of file OSGResolutionDisplayFilterBase.h.
Definition at line 125 of file OSGShearedStereoCameraDecorator.h.
Definition at line 253 of file OSGShearedStereoCameraDecoratorBase.h.
Definition at line 258 of file OSGShearedStereoCameraDecoratorBase.h.
Definition at line 260 of file OSGShearedStereoCameraDecoratorBase.h.
Definition at line 226 of file OSGSimpleSceneManager.h.
| typedef SkyBackground* osg::SkyBackgroundP |
Definition at line 141 of file OSGSkyBackground.h.
| typedef SkyBackgroundBase* osg::SkyBackgroundBaseP |
Definition at line 397 of file OSGSkyBackgroundBase.h.
| typedef osgIF<SkyBackgroundBase::isNodeCore, CoredNodePtr<SkyBackground>, FieldContainer::attempt_to_create_CoredNodePtr_on_non_NodeCore_FC >::_IRet osg::SkyBackgroundNodePtr |
Definition at line 402 of file OSGSkyBackgroundBase.h.
Definition at line 404 of file OSGSkyBackgroundBase.h.
| typedef SolidBackground* osg::SolidBackgroundP |
Definition at line 130 of file OSGSolidBackground.h.
Definition at line 269 of file OSGSolidBackgroundBase.h.
| typedef osgIF<SolidBackgroundBase::isNodeCore, CoredNodePtr<SolidBackground>, FieldContainer::attempt_to_create_CoredNodePtr_on_non_NodeCore_FC >::_IRet osg::SolidBackgroundNodePtr |
Definition at line 274 of file OSGSolidBackgroundBase.h.
Definition at line 276 of file OSGSolidBackgroundBase.h.
Definition at line 127 of file OSGStereoBufferViewport.h.
Definition at line 253 of file OSGStereoBufferViewportBase.h.
| typedef osgIF<StereoBufferViewportBase::isNodeCore, CoredNodePtr<StereoBufferViewport>, FieldContainer::attempt_to_create_CoredNodePtr_on_non_NodeCore_FC >::_IRet osg::StereoBufferViewportNodePtr |
Definition at line 258 of file OSGStereoBufferViewportBase.h.
Definition at line 260 of file OSGStereoBufferViewportBase.h.
Definition at line 114 of file OSGStereoCameraDecorator.h.
Definition at line 237 of file OSGStereoCameraDecoratorBase.h.
| typedef osgIF<StereoCameraDecoratorBase::isNodeCore, CoredNodePtr<StereoCameraDecorator>, FieldContainer::attempt_to_create_CoredNodePtr_on_non_NodeCore_FC >::_IRet osg::StereoCameraDecoratorNodePtr |
Definition at line 242 of file OSGStereoCameraDecoratorBase.h.
Definition at line 244 of file OSGStereoCameraDecoratorBase.h.
| typedef TextureBackground* osg::TextureBackgroundP |
Definition at line 132 of file OSGTextureBackground.h.
Definition at line 301 of file OSGTextureBackgroundBase.h.
| typedef osgIF<TextureBackgroundBase::isNodeCore, CoredNodePtr<TextureBackground>, FieldContainer::attempt_to_create_CoredNodePtr_on_non_NodeCore_FC >::_IRet osg::TextureBackgroundNodePtr |
Definition at line 306 of file OSGTextureBackgroundBase.h.
Definition at line 308 of file OSGTextureBackgroundBase.h.
Definition at line 124 of file OSGTextureGrabBackground.h.
Definition at line 269 of file OSGTextureGrabBackgroundBase.h.
| typedef osgIF<TextureGrabBackgroundBase::isNodeCore, CoredNodePtr<TextureGrabBackground>, FieldContainer::attempt_to_create_CoredNodePtr_on_non_NodeCore_FC >::_IRet osg::TextureGrabBackgroundNodePtr |
Definition at line 274 of file OSGTextureGrabBackgroundBase.h.
Definition at line 276 of file OSGTextureGrabBackgroundBase.h.
Definition at line 121 of file OSGTextureGrabForeground.h.
Definition at line 269 of file OSGTextureGrabForegroundBase.h.
| typedef osgIF<TextureGrabForegroundBase::isNodeCore, CoredNodePtr<TextureGrabForeground>, FieldContainer::attempt_to_create_CoredNodePtr_on_non_NodeCore_FC >::_IRet osg::TextureGrabForegroundNodePtr |
Definition at line 274 of file OSGTextureGrabForegroundBase.h.
Definition at line 276 of file OSGTextureGrabForegroundBase.h.
Definition at line 139 of file OSGTileCameraDecorator.h.
Definition at line 285 of file OSGTileCameraDecoratorBase.h.
| typedef osgIF<TileCameraDecoratorBase::isNodeCore, CoredNodePtr<TileCameraDecorator>, FieldContainer::attempt_to_create_CoredNodePtr_on_non_NodeCore_FC >::_IRet osg::TileCameraDecoratorNodePtr |
Definition at line 290 of file OSGTileCameraDecoratorBase.h.
Definition at line 292 of file OSGTileCameraDecoratorBase.h.
| typedef Viewport* osg::ViewportP |
Definition at line 156 of file OSGViewport.h.
| typedef ViewportBase* osg::ViewportBaseP |
Definition at line 325 of file OSGViewportBase.h.
| typedef osgIF<ViewportBase::isNodeCore, CoredNodePtr<Viewport>, FieldContainer::attempt_to_create_CoredNodePtr_on_non_NodeCore_FC >::_IRet osg::ViewportNodePtr |
Definition at line 330 of file OSGViewportBase.h.
| typedef RefPtr<ViewportPtr> osg::ViewportRefPtr |
Definition at line 332 of file OSGViewportBase.h.
| typedef Window* osg::WindowP |
Definition at line 407 of file OSGWindow.h.
| typedef WindowBase* osg::WindowBaseP |
Definition at line 290 of file OSGWindowBase.h.
| typedef osgIF<WindowBase::isNodeCore, CoredNodePtr<Window>, FieldContainer::attempt_to_create_CoredNodePtr_on_non_NodeCore_FC >::_IRet osg::WindowNodePtr |
Definition at line 295 of file OSGWindowBase.h.
| typedef RefPtr<WindowPtr> osg::WindowRefPtr |
Definition at line 297 of file OSGWindowBase.h.
| typedef ShaderChunk* osg::ShaderChunkP |
Definition at line 125 of file OSGShaderChunk.h.
| typedef ShaderChunkBase* osg::ShaderChunkBaseP |
Definition at line 245 of file OSGShaderChunkBase.h.
| typedef osgIF<ShaderChunkBase::isNodeCore, CoredNodePtr<ShaderChunk>, FieldContainer::attempt_to_create_CoredNodePtr_on_non_NodeCore_FC >::_IRet osg::ShaderChunkNodePtr |
Definition at line 250 of file OSGShaderChunkBase.h.
| typedef RefPtr<ShaderChunkPtr> osg::ShaderChunkRefPtr |
Definition at line 252 of file OSGShaderChunkBase.h.
| typedef ShaderParameter* osg::ShaderParameterP |
Definition at line 171 of file OSGShaderParameter.h.
Definition at line 229 of file OSGShaderParameterBase.h.
| typedef osgIF<ShaderParameterBase::isNodeCore, CoredNodePtr<ShaderParameter>, FieldContainer::attempt_to_create_CoredNodePtr_on_non_NodeCore_FC >::_IRet osg::ShaderParameterNodePtr |
Definition at line 234 of file OSGShaderParameterBase.h.
Definition at line 236 of file OSGShaderParameterBase.h.
Definition at line 112 of file OSGShaderParameterBool.h.
Definition at line 245 of file OSGShaderParameterBoolBase.h.
| typedef osgIF<ShaderParameterBoolBase::isNodeCore, CoredNodePtr<ShaderParameterBool>, FieldContainer::attempt_to_create_CoredNodePtr_on_non_NodeCore_FC >::_IRet osg::ShaderParameterBoolNodePtr |
Definition at line 250 of file OSGShaderParameterBoolBase.h.
Definition at line 252 of file OSGShaderParameterBoolBase.h.
Definition at line 165 of file OSGShaderParameterChunk.h.
Definition at line 229 of file OSGShaderParameterChunkBase.h.
| typedef osgIF<ShaderParameterChunkBase::isNodeCore, CoredNodePtr<ShaderParameterChunk>, FieldContainer::attempt_to_create_CoredNodePtr_on_non_NodeCore_FC >::_IRet osg::ShaderParameterChunkNodePtr |
Definition at line 234 of file OSGShaderParameterChunkBase.h.
Definition at line 236 of file OSGShaderParameterChunkBase.h.
Definition at line 112 of file OSGShaderParameterInt.h.
Definition at line 245 of file OSGShaderParameterIntBase.h.
| typedef osgIF<ShaderParameterIntBase::isNodeCore, CoredNodePtr<ShaderParameterInt>, FieldContainer::attempt_to_create_CoredNodePtr_on_non_NodeCore_FC >::_IRet osg::ShaderParameterIntNodePtr |
Definition at line 250 of file OSGShaderParameterIntBase.h.
Definition at line 252 of file OSGShaderParameterIntBase.h.
Definition at line 112 of file OSGShaderParameterMatrix.h.
Definition at line 245 of file OSGShaderParameterMatrixBase.h.
| typedef osgIF<ShaderParameterMatrixBase::isNodeCore, CoredNodePtr<ShaderParameterMatrix>, FieldContainer::attempt_to_create_CoredNodePtr_on_non_NodeCore_FC >::_IRet osg::ShaderParameterMatrixNodePtr |
Definition at line 250 of file OSGShaderParameterMatrixBase.h.
Definition at line 252 of file OSGShaderParameterMatrixBase.h.
Definition at line 114 of file OSGShaderParameterMInt.h.
Definition at line 245 of file OSGShaderParameterMIntBase.h.
| typedef osgIF<ShaderParameterMIntBase::isNodeCore, CoredNodePtr<ShaderParameterMInt>, FieldContainer::attempt_to_create_CoredNodePtr_on_non_NodeCore_FC >::_IRet osg::ShaderParameterMIntNodePtr |
Definition at line 250 of file OSGShaderParameterMIntBase.h.
Definition at line 252 of file OSGShaderParameterMIntBase.h.
Definition at line 114 of file OSGShaderParameterMMatrix.h.
Definition at line 245 of file OSGShaderParameterMMatrixBase.h.
Definition at line 250 of file OSGShaderParameterMMatrixBase.h.
Definition at line 252 of file OSGShaderParameterMMatrixBase.h.
Definition at line 114 of file OSGShaderParameterMReal.h.
Definition at line 245 of file OSGShaderParameterMRealBase.h.
| typedef osgIF<ShaderParameterMRealBase::isNodeCore, CoredNodePtr<ShaderParameterMReal>, FieldContainer::attempt_to_create_CoredNodePtr_on_non_NodeCore_FC >::_IRet osg::ShaderParameterMRealNodePtr |
Definition at line 250 of file OSGShaderParameterMRealBase.h.
Definition at line 252 of file OSGShaderParameterMRealBase.h.
Definition at line 114 of file OSGShaderParameterMVec2f.h.
Definition at line 245 of file OSGShaderParameterMVec2fBase.h.
| typedef osgIF<ShaderParameterMVec2fBase::isNodeCore, CoredNodePtr<ShaderParameterMVec2f>, FieldContainer::attempt_to_create_CoredNodePtr_on_non_NodeCore_FC >::_IRet osg::ShaderParameterMVec2fNodePtr |
Definition at line 250 of file OSGShaderParameterMVec2fBase.h.
Definition at line 252 of file OSGShaderParameterMVec2fBase.h.
Definition at line 114 of file OSGShaderParameterMVec3f.h.
Definition at line 245 of file OSGShaderParameterMVec3fBase.h.
| typedef osgIF<ShaderParameterMVec3fBase::isNodeCore, CoredNodePtr<ShaderParameterMVec3f>, FieldContainer::attempt_to_create_CoredNodePtr_on_non_NodeCore_FC >::_IRet osg::ShaderParameterMVec3fNodePtr |
Definition at line 250 of file OSGShaderParameterMVec3fBase.h.
Definition at line 252 of file OSGShaderParameterMVec3fBase.h.
Definition at line 114 of file OSGShaderParameterMVec4f.h.
Definition at line 245 of file OSGShaderParameterMVec4fBase.h.
| typedef osgIF<ShaderParameterMVec4fBase::isNodeCore, CoredNodePtr<ShaderParameterMVec4f>, FieldContainer::attempt_to_create_CoredNodePtr_on_non_NodeCore_FC >::_IRet osg::ShaderParameterMVec4fNodePtr |
Definition at line 250 of file OSGShaderParameterMVec4fBase.h.
Definition at line 252 of file OSGShaderParameterMVec4fBase.h.
Definition at line 112 of file OSGShaderParameterReal.h.
Definition at line 245 of file OSGShaderParameterRealBase.h.
| typedef osgIF<ShaderParameterRealBase::isNodeCore, CoredNodePtr<ShaderParameterReal>, FieldContainer::attempt_to_create_CoredNodePtr_on_non_NodeCore_FC >::_IRet osg::ShaderParameterRealNodePtr |
Definition at line 250 of file OSGShaderParameterRealBase.h.
Definition at line 252 of file OSGShaderParameterRealBase.h.
Definition at line 112 of file OSGShaderParameterString.h.
Definition at line 245 of file OSGShaderParameterStringBase.h.
| typedef osgIF<ShaderParameterStringBase::isNodeCore, CoredNodePtr<ShaderParameterString>, FieldContainer::attempt_to_create_CoredNodePtr_on_non_NodeCore_FC >::_IRet osg::ShaderParameterStringNodePtr |
Definition at line 250 of file OSGShaderParameterStringBase.h.
Definition at line 252 of file OSGShaderParameterStringBase.h.
Definition at line 112 of file OSGShaderParameterVec2f.h.
Definition at line 245 of file OSGShaderParameterVec2fBase.h.
| typedef osgIF<ShaderParameterVec2fBase::isNodeCore, CoredNodePtr<ShaderParameterVec2f>, FieldContainer::attempt_to_create_CoredNodePtr_on_non_NodeCore_FC >::_IRet osg::ShaderParameterVec2fNodePtr |
Definition at line 250 of file OSGShaderParameterVec2fBase.h.
Definition at line 252 of file OSGShaderParameterVec2fBase.h.
Definition at line 112 of file OSGShaderParameterVec3f.h.
Definition at line 245 of file OSGShaderParameterVec3fBase.h.
| typedef osgIF<ShaderParameterVec3fBase::isNodeCore, CoredNodePtr<ShaderParameterVec3f>, FieldContainer::attempt_to_create_CoredNodePtr_on_non_NodeCore_FC >::_IRet osg::ShaderParameterVec3fNodePtr |
Definition at line 250 of file OSGShaderParameterVec3fBase.h.
Definition at line 252 of file OSGShaderParameterVec3fBase.h.
Definition at line 112 of file OSGShaderParameterVec4f.h.
Definition at line 245 of file OSGShaderParameterVec4fBase.h.
| typedef osgIF<ShaderParameterVec4fBase::isNodeCore, CoredNodePtr<ShaderParameterVec4f>, FieldContainer::attempt_to_create_CoredNodePtr_on_non_NodeCore_FC >::_IRet osg::ShaderParameterVec4fNodePtr |
Definition at line 250 of file OSGShaderParameterVec4fBase.h.
Definition at line 252 of file OSGShaderParameterVec4fBase.h.
| typedef SHLChunk* osg::SHLChunkP |
Definition at line 348 of file OSGSHLChunk.h.
| typedef SHLChunkBase* osg::SHLChunkBaseP |
Definition at line 285 of file OSGSHLChunkBase.h.
| typedef osgIF<SHLChunkBase::isNodeCore, CoredNodePtr<SHLChunk>, FieldContainer::attempt_to_create_CoredNodePtr_on_non_NodeCore_FC >::_IRet osg::SHLChunkNodePtr |
Definition at line 290 of file OSGSHLChunkBase.h.
| typedef RefPtr<SHLChunkPtr> osg::SHLChunkRefPtr |
Definition at line 292 of file OSGSHLChunkBase.h.
| typedef SHLParameterChunk* osg::SHLParameterChunkP |
Definition at line 157 of file OSGSHLParameterChunk.h.
Definition at line 245 of file OSGSHLParameterChunkBase.h.
| typedef osgIF<SHLParameterChunkBase::isNodeCore, CoredNodePtr<SHLParameterChunk>, FieldContainer::attempt_to_create_CoredNodePtr_on_non_NodeCore_FC >::_IRet osg::SHLParameterChunkNodePtr |
Definition at line 250 of file OSGSHLParameterChunkBase.h.
Definition at line 252 of file OSGSHLParameterChunkBase.h.
| typedef XWindow* osg::XWindowP |
Definition at line 122 of file OSGXWindow.h.
| typedef XWindowBase* osg::XWindowBaseP |
Definition at line 261 of file OSGXWindowBase.h.
| typedef osgIF<XWindowBase::isNodeCore, CoredNodePtr<XWindow>, FieldContainer::attempt_to_create_CoredNodePtr_on_non_NodeCore_FC >::_IRet osg::XWindowNodePtr |
Definition at line 266 of file OSGXWindowBase.h.
| typedef RefPtr<XWindowPtr> osg::XWindowRefPtr |
Definition at line 268 of file OSGXWindowBase.h.
| typedef Display* osg::DisplayP |
Definition at line 60 of file OSGXWindowDataFields.h.
| typedef ::Window osg::X11Window |
Definition at line 61 of file OSGXWindowDataFields.h.
| typedef WIN32WindowBase* osg::WIN32WindowBaseP |
Definition at line 261 of file OSGWIN32WindowBase.h.
| typedef osgIF<WIN32WindowBase::isNodeCore, CoredNodePtr<WIN32Window>, FieldContainer::attempt_to_create_CoredNodePtr_on_non_NodeCore_FC >::_IRet osg::WIN32WindowNodePtr |
Definition at line 266 of file OSGWIN32WindowBase.h.
| typedef RefPtr<WIN32WindowPtr> osg::WIN32WindowRefPtr |
Definition at line 268 of file OSGWIN32WindowBase.h.
| typedef SField<WIN32WindowPtr> osg::SFWIN32WindowPtr |
Definition at line 67 of file OSGWIN32WindowFields.h.
| typedef MField<WIN32WindowPtr> osg::MFWIN32WindowPtr |
Definition at line 120 of file OSGWIN32WindowFields.h.
| typedef GLUTWindowBase* osg::GLUTWindowBaseP |
Definition at line 245 of file OSGGLUTWindowBase.h.
| typedef osgIF<GLUTWindowBase::isNodeCore, CoredNodePtr<GLUTWindow>, FieldContainer::attempt_to_create_CoredNodePtr_on_non_NodeCore_FC >::_IRet osg::GLUTWindowNodePtr |
Definition at line 250 of file OSGGLUTWindowBase.h.
| typedef RefPtr<GLUTWindowPtr> osg::GLUTWindowRefPtr |
Definition at line 252 of file OSGGLUTWindowBase.h.
Definition at line 141 of file OSGQGLManagedWidget_qt.h.
| typedef QTWindow* osg::QTWindowP |
Definition at line 120 of file OSGQTWindow.h.
| typedef QTWindowBase* osg::QTWindowBaseP |
Definition at line 255 of file OSGQTWindowBase.h.
| typedef FCPtr<WindowPtr, QTWindow> osg::QTWindowPtr |
Definition at line 67 of file OSGQTWindowFields.h.
| enum osg::SliceDataType |
Definition at line 56 of file OSGImageFunctions.h.
00056 { 00057 INVALID_SDT = 0, 00058 DEPTH_SDT, 00059 FRAME_SDT, 00060 SIDE_SDT 00061 };
| void osg::osgGetHostname | ( | char * | szBuffer, | |
| UInt32 | uiSize | |||
| ) |
Definition at line 83 of file OSGBaseFunctions.cpp.
Referenced by osg::PointSockConnection::bind(), osg::GroupSockConnection::bind(), osg::ClusterServer::ClusterServer(), and osg::PointSockPipeline::initialize().
00084 { 00085 // get local host name 00086 if(getenv("OSG_HOSTNAME") != NULL) 00087 { 00088 strncpy(szBuffer, getenv("OSG_HOSTNAME"), uiSize); 00089 } 00090 else 00091 { 00092 gethostname(szBuffer, uiSize); 00093 } 00094 }
| FloatTypeT osg::osgabs | ( | const FloatTypeT | rValue | ) | [inline] |
Referenced by osg::Surface::adjustVolume(), blendImage(), osg::ExtrusionSurface::calcOptimizedContour(), osg::GraphicStatisticsForeground::calcPosAndSize(), osg::MaterialChunk::changeFrom(), osg::TextureGrabBackground::clear(), osg::TextureBackground::clear(), osg::SkyBackground::clear(), osg::ExtrusionSurface::computeMinYAbs(), osg::TextureGrabForeground::draw(), getMaxIndexAbs3(), osg::TextVectorGlyph::getNormals(), osg::FrustumVolume::getScalarVolume(), osg::Plane::intersect(), osg::Line::intersect(), osg::TransformationMatrix< ValueTypeT >::inverse(), osg::TransformationMatrix< ValueTypeT >::inverse3(), osg::TransformationMatrix< ValueTypeT >::invert(), osg::TransformationMatrix< ValueTypeT >::invert3(), osg::TransformationMatrix< ValueTypeT >::invertFrom(), osg::TransformationMatrix< ValueTypeT >::invertFrom3(), osg::Plane::isOnPlane(), osg::SphereVolume::isOnSurface(), osg::CylinderVolume::isOnSurface(), osg::BoxVolume::isOnSurface(), osg::TransformationMatrix< ValueTypeT >::jacobi(), makeSphereGeo(), osg::OffCenterPerspectiveCamera::MatrixPerspectivePrincipalPnt(), osg::Navigator::moveTo(), osg::TransformationMatrix< ValueTypeT >::norm1(), osg::VectorInterface< ValueTypeT, StorageInterfaceT >::normalize(), osg::QuaternionBase< ValueTypeT >::normalize(), osg::TransformationMatrix< ValueTypeT >::normInfinity(), osg::VectorInterface< ValueTypeT, StorageInterfaceT >::projectTo(), osg::TrackballNavigator::rotate(), osg::TransformationMatrix< ValueTypeT >::sqrt(), osg::TransformationMatrix< ValueTypeT >::sqrtOf(), osg::Trackball::updateRotation(), and osg::VRMLWriteAction::writeMaterial().
| bool osg::osgispower2 | ( | TypeT | rValue | ) | [inline] |
Referenced by osg::TextureChunk::handleTexture().
| TypeT osg::osgnextpower2 | ( | TypeT | rValue | ) | [inline] |
| UInt16 osg::osghtons | ( | UInt16 | src | ) | [inline] |
Definition at line 1412 of file OSGBaseFunctions.inl.
Referenced by osg::ImageFileType::Head::hostToNet(), osg::BinaryMessage::putInt16(), osg::BinaryMessage::putUInt16(), osg::BinaryDataHandler::putValue(), osg::Dgram::setId(), and osg::SocketAddress::setPort().
| UInt32 osg::osghtonl | ( | UInt32 | src | ) | [inline] |
Definition at line 1418 of file OSGBaseFunctions.inl.
Referenced by osg::BinaryMessage::putInt32(), osg::BinaryMessage::putUInt32(), osg::BinaryDataHandler::putValue(), osg::Socket::send(), osg::DgramSocket::sendTo(), osg::PointSockConnection::signal(), osg::GroupSockConnection::signal(), osg::SocketAddress::SocketAddress(), osg::PointSockConnection::writeBuffer(), osg::GroupSockPipeline::writeBuffer(), osg::GroupSockConnection::writeBuffer(), and osg::BinaryDataHandler::writeBuffer().
01419 { 01420 return ((src&0x000000ff) << 24) | 01421 ((src&0x0000ff00) << 8 ) | 01422 ((src&0x00ff0000) >> 8 ) | 01423 ((src&0xff000000) >> 24); 01424 }
| UInt64 osg::osghtonll | ( | UInt64 | src | ) | [inline] |
Definition at line 1427 of file OSGBaseFunctions.inl.
Referenced by osg::BinaryDataHandler::putValue().
01428 { 01429 #ifdef OSG_LONGLONG_HAS_LL 01430 return ((src&0x00000000000000ffLL) << 56) | 01431 ((src&0x000000000000ff00LL) << 40) | 01432 ((src&0x0000000000ff0000LL) << 24) | 01433 ((src&0x00000000ff000000LL) << 8 ) | 01434 ((src&0x000000ff00000000LL) >> 8 ) | 01435 ((src&0x0000ff0000000000LL) >> 24) | 01436 ((src&0x00ff000000000000LL) >> 40) | 01437 ((src&0xff00000000000000LL) >> 56); 01438 #else 01439 return ((src&0x00000000000000ff) << 56) | 01440 ((src&0x000000000000ff00) << 40) | 01441 ((src&0x0000000000ff0000) << 24) | 01442 ((src&0x00000000ff000000) << 8 ) | 01443 ((src&0x000000ff00000000) >> 8 ) | 01444 ((src&0x0000ff0000000000) >> 24) | 01445 ((src&0x00ff000000000000) >> 40) | 01446 ((src&0xff00000000000000) >> 56); 01447 #endif 01448 }
| Real32 osg::osghtonf | ( | Real32 | src | ) | [inline] |
| Real64 osg::osghtond | ( | Real64 | src | ) | [inline] |
| Real128 osg::osghtondd | ( | Real128 | src | ) | [inline] |
Definition at line 1471 of file OSGBaseFunctions.inl.
References p.
01472 { 01473 UInt8 *p = (UInt8 *) &src; 01474 std::swap(p[0], p[15]); 01475 std::swap(p[1], p[14]); 01476 std::swap(p[2], p[13]); 01477 std::swap(p[3], p[12]); 01478 std::swap(p[4], p[11]); 01479 std::swap(p[5], p[10]); 01480 std::swap(p[6], p[9]); 01481 std::swap(p[7], p[8]); 01482 return src; 01483 }
| UInt16 osg::osgntohs | ( | UInt16 | src | ) | [inline] |
Definition at line 1488 of file OSGBaseFunctions.inl.
Referenced by osg::Dgram::getId(), osg::BinaryMessage::getInt16(), osg::SocketAddress::getPort(), osg::BinaryMessage::getUInt16(), osg::BinaryDataHandler::getValue(), osg::BinaryDataHandler::getValues(), and osg::ImageFileType::Head::netToHost().
| UInt32 osg::osgntohl | ( | UInt32 | src | ) | [inline] |
Definition at line 1494 of file OSGBaseFunctions.inl.
Referenced by osg::BinaryMessage::getInt32(), osg::BinaryMessage::getUInt32(), osg::BinaryDataHandler::getValue(), osg::BinaryDataHandler::getValues(), osg::SocketAddress::isMulticast(), osg::PointSockPipeline::readBuffer(), osg::PointSockConnection::readBuffer(), osg::GroupSockConnection::readBuffer(), osg::BinaryDataHandler::readBuffer(), osg::Socket::recv(), osg::DgramSocket::recvFrom(), osg::PointSockConnection::wait(), and osg::GroupSockConnection::wait().
01495 { 01496 return ((src&0x000000ff) << 24) | 01497 ((src&0x0000ff00) << 8 ) | 01498 ((src&0x00ff0000) >> 8 ) | 01499 ((src&0xff000000) >> 24); 01500 }
| UInt64 osg::osgntohll | ( | UInt64 | src | ) | [inline] |
Definition at line 1503 of file OSGBaseFunctions.inl.
Referenced by osg::BinaryDataHandler::getValue(), and osg::BinaryDataHandler::getValues().
01504 { 01505 #ifdef OSG_LONGLONG_HAS_LL 01506 return ((src&0x00000000000000ffLL) << 56) | 01507 ((src&0x000000000000ff00LL) << 40) | 01508 ((src&0x0000000000ff0000LL) << 24) | 01509 ((src&0x00000000ff000000LL) << 8 ) | 01510 ((src&0x000000ff00000000LL) >> 8 ) | 01511 ((src&0x0000ff0000000000LL) >> 24) | 01512 ((src&0x00ff000000000000LL) >> 40) | 01513 ((src&0xff00000000000000LL) >> 56); 01514 #else 01515 return ((src&0x00000000000000ff) << 56) | 01516 ((src&0x000000000000ff00) << 40) | 01517 ((src&0x0000000000ff0000) << 24) | 01518 ((src&0x00000000ff000000) << 8 ) | 01519 ((src&0x000000ff00000000) >> 8 ) | 01520 ((src&0x0000ff0000000000) >> 24) | 01521 ((src&0x00ff000000000000) >> 40) | 01522 ((src&0xff00000000000000) >> 56); 01523 #endif 01524 }
| Real32 osg::osgntohf | ( | Real32 | src | ) | [inline] |
Definition at line 1527 of file OSGBaseFunctions.inl.
References p.
Referenced by osg::BinaryDataHandler::getValue().
01528 { 01529 UInt8 *p = (UInt8 *) &src; 01530 std::swap(p[0], p[3]); 01531 std::swap(p[1], p[2]); 01532 return src; 01533 }
| Real64 osg::osgntohd | ( | Real64 | src | ) | [inline] |
Definition at line 1536 of file OSGBaseFunctions.inl.
References p.
Referenced by osg::BinaryDataHandler::getValue().
01537 { 01538 UInt8 *p = (UInt8 *) &src; 01539 std::swap(p[0], p[7]); 01540 std::swap(p[1], p[6]); 01541 std::swap(p[2], p[5]); 01542 std::swap(p[3], p[4]); 01543 return src; 01544 }
| Real128 osg::osgntohd | ( | Real128 | src | ) | [inline] |
| Real128 osg::osgntohdd | ( | Real128 | src | ) | [inline] |
Definition at line 1547 of file OSGBaseFunctions.inl.
References p.
Referenced by osg::BinaryDataHandler::getValue().
01548 { 01549 UInt8 *p = (UInt8 *) &src; 01550 std::swap(p[0], p[15]); 01551 std::swap(p[1], p[14]); 01552 std::swap(p[2], p[13]); 01553 std::swap(p[3], p[12]); 01554 std::swap(p[4], p[11]); 01555 std::swap(p[5], p[10]); 01556 std::swap(p[6], p[9]); 01557 std::swap(p[7], p[8]); 01558 return src; 01559 }
Definition at line 432 of file OSGBoxVolume.cpp.
References osg::BoxVolume::_max, and osg::BoxVolume::_min.
00433 { 00434 return ((b1._min[0] == b2._min[0]) && 00435 (b1._min[1] == b2._min[1]) && 00436 (b1._min[2] == b2._min[2]) && 00437 (b1._max[0] == b2._max[0]) && 00438 (b1._max[1] == b2._max[1]) && 00439 (b2._max[2] == b2._max[2]) ); 00440 }
| bool osg::operator!= | ( | const BoxVolume & | b1, | |
| const BoxVolume & | b2 | |||
| ) | [inline] |
| std::ostream & osg::operator<< | ( | std::ostream & | outStream, | |
| const Color3< ValueTypeT > & | color | |||
| ) | [inline] |
Definition at line 1169 of file OSGColor.inl.
References osg::Color3< ValueTypeT >::blue(), osg::Color3< ValueTypeT >::green(), and osg::Color3< ValueTypeT >::red().
01171 { 01172 return outStream << color.red() << ' ' 01173 << color.green() << ' ' 01174 << color.blue(); 01175 }
| std::ostream & osg::operator<< | ( | std::ostream & | outStream, | |
| const Color4< ValueTypeT > & | color | |||
| ) | [inline] |
Definition at line 1179 of file OSGColor.inl.
References osg::Color4< ValueTypeT >::alpha(), osg::Color4< ValueTypeT >::blue(), osg::Color4< ValueTypeT >::green(), and osg::Color4< ValueTypeT >::red().
01181 { 01182 return outStream << color.red() << ' ' 01183 << color.green() << ' ' 01184 << color.blue() << ' ' 01185 << color.alpha(); 01186 }
| std::ostream & osg::operator<< | ( | std::ostream & | outStream, | |
| const Date & | obj | |||
| ) |
Definition at line 224 of file OSGDate.cpp.
References osg::Date::_day, osg::Date::_hour, osg::Date::_minute, osg::Date::_month, osg::Date::_second, and osg::Date::_year.
00225 { 00226 return outStream << std::setfill('0') 00227 << std::setw(2) << obj._day << '.' 00228 << std::setw(2) << obj._month << '.' 00229 << obj._year << ' ' 00230 << std::setw(2) << obj._hour << ':' 00231 << std::setw(2) << obj._minute << ':' 00232 << std::setw(2) << obj._second; 00233 }
| std::istream & osg::operator>> | ( | std::istream & | inStream, | |
| Date & | obj | |||
| ) |
Definition at line 236 of file OSGDate.cpp.
References osg::Date::_day, osg::Date::_hour, osg::Date::_minute, osg::Date::_month, osg::Date::_second, and osg::Date::_year.
00237 { 00238 Char8 c; 00239 00240 return inStream >> obj._day >> c >> obj._month >> c >> obj._year 00241 >> obj._hour >> c >> obj._minute >> c >> obj._second; 00242 }
| std::ostream& osg::operator<< | ( | std::ostream & | outStream, | |
| const DynamicVolume & | vol | |||
| ) |
| std::ostream & osg::operator<< | ( | std::ostream & | os, | |
| const Exception & | obj | |||
| ) |
Definition at line 97 of file OSGException.cpp.
References osg::Exception::what().
00099 { 00100 return os << obj.what() << std::endl; 00101 }
| bool osg::operator== | ( | const FrustumVolume & | b1, | |
| const FrustumVolume & | b2 | |||
| ) |
Definition at line 429 of file OSGFrustumVolume.cpp.
References osg::FrustumVolume::getPlanes().
00430 { 00431 return ((static_cast<const Volume &>(b1) == b2 ) && 00432 (b1.getPlanes()[0] == b2.getPlanes()[0]) && 00433 (b1.getPlanes()[1] == b2.getPlanes()[1]) && 00434 (b1.getPlanes()[2] == b2.getPlanes()[2]) && 00435 (b1.getPlanes()[3] == b2.getPlanes()[3]) && 00436 (b1.getPlanes()[4] == b2.getPlanes()[4]) && 00437 (b1.getPlanes()[5] == b2.getPlanes()[5])); 00438 }
| bool osg::intersect | ( | const FrustumVolume & | frustum, | |
| const Volume & | vol, | |||
| FrustumVolume::PlaneSet & | inplanes | |||
| ) |
Check the volume against the frustum, but only against the given planes.
If in inplanes the bit relating to the P_* enums is set, the volume is known to be fully in the halfspace of the given plane and is not checked.
For the other planes the volume is checked if it is in the halfspace at all, and if it is fully in the halfspace, for which the inplanes are adjusted.
Definition at line 451 of file OSGFrustumVolume.cpp.
References osg::Volume::getBounds(), and osg::FrustumVolume::getPlanes().
Referenced by osg::NormalQuantifier::getSubIndex(), and osg::RenderAction::pushVisibility().
00453 { 00454 Pnt3f min, max; 00455 vol.getBounds(min, max); 00456 00457 const Plane *frust = frustum.getPlanes(); 00458 FrustumVolume::PlaneSet mask = 0x1; 00459 00460 // check the box against the 6 planes, adjust the inplanes set 00461 // accordingly 00462 00463 for(Int32 i = 0; i < 6; i++, mask <<= 1) 00464 { 00465 if((inplanes & mask) != 0) 00466 continue; 00467 00468 if(frust[i].isOutHalfSpace(min, max)) 00469 return false; 00470 00471 if(frust[i].isInHalfSpace(min, max)) 00472 inplanes |= mask; 00473 } 00474 00475 return true; 00476 }
| bool osg::operator!= | ( | const FrustumVolume & | b1, | |
| const FrustumVolume & | b2 | |||
| ) | [inline] |
| std::ostream & osg::operator<< | ( | std::ostream & | os, | |
| const IDString & | obj | |||
| ) |
| LinearTransform< ValueTypeT > osg::operator* | ( | const ValueTypeT | s, | |
| const LinearTransform< ValueTypeT > & | lt | |||
| ) | [inline] |
LeftSide Operators
Definition at line 387 of file OSGLinearTransform.inl.
References osg::LinearTransform< ValueTypeT >::getLogMatrix(), and osg::LinearTransform< ValueTypeT >::setLogMatrix().
00388 { 00389 TransformationMatrix<ValueTypeT> ltMat, proMat; 00390 LinearTransform<ValueTypeT> pro(lt); 00391 ltMat = pro.getLogMatrix(); 00392 00393 for (int i=0; i < 4; i++) 00394 for (int j=0; j < 4; j++) 00395 proMat[i][j] = s * ltMat[i][j]; 00396 00397 pro.setLogMatrix( proMat ); 00398 return pro; 00399 }
| void osg::doInitLog | ( | void | ) |
Definition at line 916 of file OSGLog.cpp.
References osg::Log::_nilstreamP, OSG_DEFAULT_LOG_LEVEL, and OSG_DEFAULT_LOG_TYPE.
00917 { 00918 #ifdef OSG_HAS_NILBUF 00919 if(Log::_nilbufP == NULL) 00920 Log::_nilbufP = new Log::nilbuf(); 00921 #else 00922 if(Log::_nilstreamP == NULL) 00923 Log::_nilstreamP = new std::fstream("/dev/null", std::ios::out); 00924 #endif 00925 00926 if(osgLogP == NULL) 00927 { 00928 osgLogP = new Log(); 00929 00930 osgLogP->setLogLevel(OSG_DEFAULT_LOG_LEVEL); 00931 osgLogP->setLogFile (NULL ); 00932 osgLogP->setLogType (OSG_DEFAULT_LOG_TYPE ); 00933 } 00934 }
| void osg::initLog | ( | void | ) | [inline] |
Definition at line 222 of file OSGLog.inl.
References osg::Log::doInitLog, and osgLogP.
Referenced by endLog(), osgLog(), and osgStartLog().
| Log & osg::osgLog | ( | void | ) | [inline] |
Definition at line 229 of file OSGLog.inl.
References initLog(), and osgLogP.
Referenced by osg::DVRVolume::commonConstructor(), osg::DVRVolume::findParameter(), osg::SceneFileType::print(), osg::Log::setHeaderElem(), osg::Log::setLogFile(), osg::Log::setLogLevel(), and osg::Log::setLogType().
| std::ostream & osg::osgStartLog | ( | bool | logHeader, | |
| LogLevel | level, | |||
| const Char8 * | module, | |||
| const Char8 * | file, | |||
| UInt32 | line | |||
| ) | [inline] |
Definition at line 237 of file OSGLog.inl.
References osg::Log::checkModule(), osg::Log::doHeader(), initLog(), osg::Log::lock(), osg::Log::nilstream(), osgLogP, and osg::Log::stream().
00242 { 00243 initLog(); 00244 00245 osgLogP->lock(); 00246 00247 if(osgLogP->checkModule(module)) 00248 { 00249 if(logHeader) 00250 osgLogP->doHeader(level,module,file,line); 00251 00252 return osgLogP->stream(level); 00253 } 00254 else 00255 return osgLogP->nilstream(); 00256 }
| std::ostream & osg::endLog | ( | std::ostream & | strm | ) | [inline] |
Definition at line 259 of file OSGLog.inl.
References initLog(), osgLogP, and osg::Log::unlock().
Referenced by osg::QMFieldView::acquireLabel(), osg::ActorBase::addEvent(), osg::QSceneGraphView::appendHistoryEntry(), osg::Surface::clone(), osg::Surface::convertSurface(), osg::QMFieldView::deleteAllLabels(), osg::Surface::dump(), osg::QFCItem::expand(), osg::QNodeTreeView::expandBranch(), osg::ProgramChunk::handleGL(), osg::ImageFileType::ImageFileType(), osg::QTWindow::init(), CDDSImage::load(), osg::QSceneGraphView::onRawAddressEntered(), osg::QSceneGraphView::onUpdateClicked(), osg::QMFieldView::paintEvent(), osg::ProgramChunk::printCompileError(), osg::ImageFileType::read(), osg::DDSImageFileType::read(), osg::Surface::readfromtso(), osg::QMFieldView::redrawChanged(), osg::QMFieldView::redrawUnchanged(), osg::QMFieldView::releaseLabel(), osg::FBOViewport::render(), osg::VerifyGraphOp::repairGeometry(), osg::QSceneGraphView::selectNextHistoryEntry(), osg::QSceneGraphView::selectPrevHistoryEntry(), osg::Log::setHeaderElem(), osg::FBOViewport::setTarget(), osg::ActorBase::subEvent(), osg::ExtendActorBase::subHelper(), osg::BasicActorBase::subHelper(), osg::VerifyGraphOp::traverse(), osg::MergeGraphOp::traverse(), osg::VerifyGraphOp::traverseEnter(), osg::QVectorFieldValueLabel< VectorTypeT >::updateCache(), osg::QPointFieldValueLabel< PointTypeT >::updateCache(), osg::QMatrixFieldValueLabel< MatrixTypeT >::updateCache(), osg::VerifyGraphOp::verifyGeometry(), osg::PNGImageFileType::write(), and osg::ImageFileType::write().
00260 { 00261 initLog(); 00262 00263 osgLogP->unlock(); 00264 00265 strm << std::endl; 00266 return strm; 00267 }
| void osg::indentLog | ( | UInt32 | indent, | |
| std::ostream & | stream | |||
| ) | [inline] |
Definition at line 270 of file OSGLog.inl.
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::SimpleMaterial::dump(), osg::RenderAction::dump(), osg::NodeCore::dump(), osg::Node::dump(), osg::Geometry::dump(), osg::FieldContainerPtrBase::dump(), osg::DVRVolume::dump(), osg::DVRLookupTable::dump(), osg::DynFieldAttachment< AttachmentDescT >::dump(), osg::Attachment::dump(), osg::VRMLFile::endField(), osg::VRMLViewpointDesc::endNode(), osg::VRMLInlineDesc::endNode(), osg::VRMLExtrusionDesc::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(), osg::VRMLExtrusionDesc::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(), osg::VRMLExtrusionDesc::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().
00271 { 00272 for(UInt32 i = 0; i < indent; i++) 00273 { 00274 stream << " "; 00275 } 00276 }
| std::ostream & osg::operator<< | ( | std::ostream & | os, | |
| const TransformationMatrix< ValueTypeT > & | obj | |||
| ) | [inline] |
Definition at line 2716 of file OSGMatrix.inl.
02718 { 02719 UInt32 i; 02720 UInt32 j; 02721 02722 std::ios::fmtflags oldflags = os.flags(std::ios::showpoint | 02723 std::ios::fixed); 02724 02725 Int32 pr = os.precision(3 ); 02726 Char8 fill = os.fill (' '); 02727 Int32 width = os.width (8 ); 02728 02729 for(j = 0; j < 4; j++) 02730 { 02731 for(i = 0; i < 4; i++) 02732 { 02733 os << std::setw(8) << obj[i][j] << " "; 02734 } 02735 02736 os << "\n"; 02737 } 02738 02739 os.flags (oldflags); 02740 os.precision(pr ); 02741 os.fill (fill ); 02742 os.width (width ); 02743 02744 return os; 02745 }
| bool osg::MatrixOrthogonal | ( | Matrix & | result, | |
| Real32 | rLeft, | |||
| Real32 | rRight, | |||
| Real32 | rBottom, | |||
| Real32 | rTop, | |||
| Real32 | rNear, | |||
| Real32 | rFar | |||
| ) |
Definition at line 54 of file OSGMatrixUtility.cpp.
References osg::TransformationMatrix< ValueTypeT >::setValueTransposed().
Referenced by osg::DisplayFilterForeground::DisplayFilterGroup::DisplayFilterGroup(), and osg::OrthographicCamera::getProjection().
00061 { 00062 result.setValueTransposed( 00063 00064 2.f / (rRight - rLeft), 00065 0.f, 00066 0.f, 00067 0.f, 00068 00069 0.f, 00070 2.f / (rTop - rBottom), 00071 0.f, 00072 0.f, 00073 00074 0.f, 00075 0.f, 00076 -2.f / (rFar - rNear), 00077 0.f, 00078 00079 -(rRight + rLeft ) / (rRight - rLeft ), 00080 -(rTop + rBottom) / (rTop - rBottom), 00081 -(rFar + rNear ) / (rFar - rNear ), 00082 1.); 00083 00084 return false; 00085 }
| bool osg::MatrixFrustum | ( | Matrix & | result, | |
| Real32 | rLeft, | |||
| Real32 | rRight, | |||
| Real32 | rBottom, | |||
| Real32 | rTop, | |||
| Real32 | rNear, | |||
| Real32 | rFar | |||
| ) |
Definition at line 88 of file OSGMatrixUtility.cpp.
References osg::TransformationMatrix< ValueTypeT >::setValueTransposed().
Referenced by osg::ProjectionCameraDecorator::getProjection(), MatrixPerspective(), osg::OffCenterPerspectiveCamera::MatrixPerspectivePrincipalPnt(), and MatrixStereoPerspective().
00095 { 00096 Real32 dz = rFar - rNear; 00097 Real32 dx = rRight - rLeft; 00098 Real32 dy = rTop - rBottom; 00099 Real32 n2 = 2.f * rNear; 00100 00101 result.setValueTransposed( 00102 n2 / dx, 00103 0.f, 00104 0.f, 00105 0.f, 00106 00107 0.f, 00108 n2 / dy, 00109 0.f, 00110 0.f, 00111 00112 (rRight + rLeft ) / dx, 00113 (rTop + rBottom) / dy, 00114 -(rFar + rNear ) / dz, 00115 -1.f, 00116 00117 0.f, 00118 0.f, 00119 -(rFar * n2) / dz, 00120 0.f); 00121 00122 return false; 00123 }
| bool osg::MatrixPerspective | ( | Matrix & | result, | |
| Real32 | rFovy, | |||
| Real32 | rAspect, | |||
| Real32 | rNear, | |||
| Real32 | rFar | |||
| ) |
Definition at line 126 of file OSGMatrixUtility.cpp.
References Eps, MatrixFrustum(), osgabs(), osgtan(), osg::TransformationMatrix< ValueTypeT >::setIdentity(), and SWARNING.
Referenced by osg::PerspectiveCamera::getProjection(), and osg::OffCenterPerspectiveCamera::getProjection().
00131 { 00132 Real32 ct = osgtan(rFovy); 00133 bool error = false; 00134 00135 if(rNear > rFar) 00136 { 00137 SWARNING << "MatrixPerspective: near " << rNear << " > far " << rFar 00138 << "!\n" << std::endl; 00139 error = true; 00140 } 00141 00142 if(rFovy <= Eps) 00143 { 00144 SWARNING << "MatrixPerspective: fovy " << rFovy << " very small!\n" 00145 << std::endl; 00146 error = true; 00147 } 00148 00149 if(osgabs(rNear - rFar) < Eps) 00150 { 00151 SWARNING << "MatrixPerspective: near " << rNear << " ~= far " << rFar 00152 << "!\n" << std::endl; 00153 error = true; 00154 } 00155 00156 if(rAspect < Eps) 00157 { 00158 SWARNING << "MatrixPerspective: aspect ratio " << rAspect 00159 << " very small!\n" << std::endl; 00160 error = true; 00161 } 00162 00163 if(error) 00164 { 00165 result.setIdentity(); 00166 return true; 00167 } 00168 00169 MatrixFrustum( result, 00170 -rNear * ct * rAspect, 00171 rNear * ct * rAspect, 00172 -rNear * ct, 00173 rNear * ct, 00174 rNear, 00175 rFar ); 00176 00177 return false; 00178 }
| bool osg::MatrixStereoPerspective | ( | Matrix & | projection, | |
| Matrix & | projtrans, | |||
| Real32 | rFovy, | |||
| Real32 | rAspect, | |||
| Real32 | rNear, | |||
| Real32 | rFar, | |||
| Real32 | rZeroparallax, | |||
| Real32 | rEyedistance, | |||
| Real32 | rWhicheye, | |||
| Real32 | rOverlap | |||
| ) |
Definition at line 181 of file OSGMatrixUtility.cpp.
References Eps, MatrixFrustum(), osgabs(), osgtan(), osg::TransformationMatrix< ValueTypeT >::setIdentity(), and SWARNING.
Referenced by osg::ShearedStereoCameraDecorator::getProjection().
00191 { 00192 Real32 rLeft; 00193 Real32 rRight; 00194 Real32 rTop; 00195 Real32 rBottom; 00196 00197 Real32 gltan; 00198 Real32 rEye = -rEyedistance * (rWhicheye - .5f); 00199 Real32 d; 00200 00201 bool error = false; 00202 00203 if(rNear > rFar) 00204 { 00205 SWARNING << "MatrixPerspective: near " << rNear << " > far " << rFar 00206 << "!\n" << std::endl; 00207 error = true; 00208 } 00209 00210 if(rFovy <= Eps) 00211 { 00212 SWARNING << "MatrixPerspective: fovy " << rFovy << " very small!\n" 00213 << std::endl; 00214 error = true; 00215 } 00216 00217 if(osgabs(rNear - rFar) < Eps) 00218 { 00219 SWARNING << "MatrixPerspective: near " << rNear << " ~= far " << rFar 00220 << "!\n" << std::endl; 00221 error = true; 00222 } 00223 00224 if(rAspect < Eps) 00225 { 00226 SWARNING << "MatrixPerspective: aspect ratio " << rAspect 00227 << " very small!\n" << std::endl; 00228 error = true; 00229 } 00230 00231 if(rZeroparallax < Eps) 00232 { 00233 SWARNING << "MatrixPerspective: zero parallax " << rZeroparallax 00234 << " very small, setting to 1!\n" << std::endl; 00235 00236 rZeroparallax = 1; 00237 error = true; 00238 } 00239 00240 if(error) 00241 { 00242 projection.setIdentity(); 00243 projtrans.setIdentity(); 00244 return true; 00245 } 00246 00247 /* Calculate upper and lower clipping planes */ 00248 rTop = osgtan(rFovy / 2.0f) * rNear; 00249 rBottom = -rTop; 00250 00251 /* Calculate left and right clipping planes */ 00252 gltan = osgtan(rFovy / 2.0f) * rAspect; 00253 00254 rLeft = (-gltan + rEye / rZeroparallax) * rNear; 00255 rRight = ( gltan + rEye / rZeroparallax) * rNear; 00256 00257 d = rRight - rLeft; 00258 00259 rLeft += d * (1 - rOverlap) * (rWhicheye - .5f); 00260 rRight += d * (1 - rOverlap) * (rWhicheye - .5f); 00261 00262 MatrixFrustum(projection, rLeft, rRight, rBottom, rTop, rNear, rFar); 00263 00264 projtrans.setIdentity(); 00265 00266 projtrans[3][0] = rEye; 00267 00268 return false; 00269 }
| bool osg::MatrixLookAt | ( | Matrix & | result, | |
| Real32 | fromx, | |||
| Real32 | fromy, | |||
| Real32 | fromz, | |||
| Real32 | atx, | |||
| Real32 | aty, | |||
| Real32 | atz, | |||
| Real32 | upx, | |||
| Real32 | upy, | |||
| Real32 | upz | |||
| ) |
Definition at line 276 of file OSGMatrixUtility.cpp.
References osg::VectorInterface< ValueTypeT, StorageInterfaceT >::cross(), osg::VectorInterface< ValueTypeT, StorageInterfaceT >::dot(), Eps, osg::TransformationMatrix< ValueTypeT >::mult(), osg::VectorInterface< ValueTypeT, StorageInterfaceT >::normalize(), osg::TransformationMatrix< ValueTypeT >::setIdentity(), osg::TransformationMatrix< ValueTypeT >::setTranslate(), and osg::TransformationMatrix< ValueTypeT >::setValue().
Referenced by osg::FlyNavigator::getMatrix(), osg::TrackballNavigator::set(), and osg::Navigator::setNoneMatrix().
00286 { 00287 Vec3f view; 00288 Vec3f right; 00289 Vec3f newup; 00290 Vec3f up; 00291 00292 view.setValues(fromx - atx , fromy - aty, fromz - atz); 00293 view.normalize(); 00294 00295 up.setValues(upx, upy, upz); 00296 00297 right = up.cross(view); 00298 00299 if(right.dot(right) < Eps) 00300 { 00301 return true; 00302 } 00303 00304 right.normalize(); 00305 00306 newup = view.cross(right); 00307 00308 result.setIdentity (); 00309 result.setTranslate(fromx, fromy, fromz); 00310 00311 Matrix tmpm; 00312 00313 tmpm.setValue(right, newup, view); 00314 00315 result.mult(tmpm); 00316 00317 return false; 00318 }
| bool osg::MatrixLookAt | ( | Matrix & | result, | |
| Pnt3f | from, | |||
| Pnt3f | at, | |||
| Vec3f | up | |||
| ) |
Definition at line 326 of file OSGMatrixUtility.cpp.
References osg::VectorInterface< ValueTypeT, StorageInterfaceT >::cross(), osg::VectorInterface< ValueTypeT, StorageInterfaceT >::dot(), Eps, osg::TransformationMatrix< ValueTypeT >::mult(), osg::VectorInterface< ValueTypeT, StorageInterfaceT >::normalize(), osg::TransformationMatrix< ValueTypeT >::setIdentity(), osg::TransformationMatrix< ValueTypeT >::setTranslate(), and osg::TransformationMatrix< ValueTypeT >::setValue().
00330 { 00331 Vec3f view; 00332 Vec3f right; 00333 Vec3f newup; 00334 Vec3f tmp; 00335 00336 view = from - at; 00337 view.normalize(); 00338 00339 right = up.cross(view); 00340 00341 if(right.dot(right) < Eps) 00342 { 00343 return true; 00344 } 00345 00346 right.normalize(); 00347 00348 newup = view.cross(right); 00349 00350 result.setIdentity (); 00351 result.setTranslate(from[0], from[1], from[2]); 00352 00353 Matrix tmpm; 00354 00355 tmpm.setValue(right, newup, view); 00356 00357 result.mult(tmpm); 00358 00359 return false; 00360 }
| bool osg::MatrixProjection | ( | Matrix & | result, | |
| Real32 | rLeft, | |||
| Real32 | rRight, | |||
| Real32 | rBottom, | |||
| Real32 | rTop, | |||
| Real32 | rNear, | |||
| Real32 | rFar | |||
| ) |
Definition at line 363 of file OSGMatrixUtility.cpp.
References SFATAL.
00370 { 00371 SFATAL << "MatrixProjection: Not yet implemented!" << std::endl; 00372 abort(); 00373 00374 return false; 00375 }
Definition at line 410 of file OSGPlane.cpp.
References osg::Plane::_distance, and osg::Plane::_normalVec.
00411 { 00412 return ((p1._distance == p2._distance ) && 00413 (p1._normalVec == p2._normalVec) ); 00414 }
| std::ostream & osg::operator<< | ( | std::ostream & | outStream, | |
| const Plane & | obj | |||
| ) |
Definition at line 417 of file OSGPlane.cpp.
References osg::Plane::getDistanceFromOrigin(), and osg::Plane::getNormal().
00418 { 00419 return outStream << obj.getNormal() << ":" << obj.getDistanceFromOrigin(); 00420 }
| bool osg::operator!= | ( | const Plane & | p1, | |
| const Plane & | p2 | |||
| ) | [inline] |
| bool osg::operator== | ( | const PolytopeVolume & | b1, | |
| const PolytopeVolume & | b2 | |||
| ) |
Definition at line 189 of file OSGPolytopeVolume.cpp.
References FWARNING.
Referenced by osg::CubeTextureChunk::operator==().
00191 { 00192 FWARNING(("PolytopeVolume == NIY!\n")); 00193 // not implemented... 00194 /* 00195 if(b1._numPlanes == b2._numPlanes){ 00196 for(int i=0; i<b1._numPlanes; i++){ 00197 if(b1.planes[i]!=b2.planes[i]) 00198 return(false); 00199 } 00200 return(true); 00201 } 00202 */ 00203 return(false); 00204 }
| bool osg::operator!= | ( | const PolytopeVolume & | b1, | |
| const PolytopeVolume & | b2 | |||
| ) | [inline] |
| std::ostream & osg::operator<< | ( | std::ostream & | os, | |
| const QuaternionBase< ValueTypeT > & | obj | |||
| ) | [inline] |
Definition at line 1050 of file OSGQuaternion.inl.
References osg::QuaternionBase< ValueTypeT >::w(), osg::QuaternionBase< ValueTypeT >::x(), osg::QuaternionBase< ValueTypeT >::y(), and osg::QuaternionBase< ValueTypeT >::z().
01052 { 01053 #ifdef OSG_SGI_STL 01054 os << std::fixed 01055 << std::showpoint 01056 << std::setprecision(3) 01057 << std::setfill(' '); 01058 #else 01059 os << std::setprecision(3) << std::setfill(' '); 01060 #endif 01061 01062 return os << std::setw(8) 01063 << obj.x() << " " 01064 << obj.y() << " " 01065 << obj.z() << " " 01066 << obj.w(); 01067 }
| void osg::@81::testNormalized | ( | float | f | ) | [static] |
Definition at line 16692 of file OSGReal16.cpp.
References REAL16_EPSILON.
Referenced by osg::Real16::selftest().
16693 { 16694 Real16 h (f); 16695 float e (1 - h / f); 16696 16697 if (e < 0) 16698 e = -e; 16699 16700 if (e > REAL16_EPSILON * 0.5) 16701 { 16702 cerr << "Internal error: float/half conversion does not work."; 16703 assert (false); 16704 } 16705 }
| void osg::@81::testDenormalized | ( | float | f | ) | [static] |
Definition at line 16709 of file OSGReal16.cpp.
References REAL16_MIN.
Referenced by osg::Real16::selftest().
16710 { 16711 Real16 h (f); 16712 float e (h - f); 16713 16714 if (e < 0) 16715 e = -e; 16716 16717 if (e > REAL16_MIN * 0.5) 16718 { 16719 cerr << "Internal error: float/half conversion does not work."; 16720 assert (false); 16721 } 16722 }
| ostream& osg::operator<< | ( | ostream & | os, | |
| Real16 | h | |||
| ) |
| istream& osg::operator>> | ( | istream & | is, | |
| Real16 & | h | |||
| ) |
| void osg::printBits | ( | ostream & | os, | |
| Real16 | h | |||
| ) |
Definition at line 16782 of file OSGReal16.cpp.
References osg::Real16::bits().
16783 { 16784 unsigned short b = h.bits(); 16785 16786 for (int i = 15; i >= 0; i--) 16787 { 16788 os << (((b >> i) & 1)? '1': '0'); 16789 16790 if (i == 15 || i == 10) 16791 os << ' '; 16792 } 16793 }
| void osg::printBits | ( | ostream & | os, | |
| float | f | |||
| ) |
Definition at line 16797 of file OSGReal16.cpp.
References osg::Real16::uif::f, and osg::Real16::uif::i.
16798 { 16799 Real16::uif x; 16800 x.f = f; 16801 16802 for (int i = 31; i >= 0; i--) 16803 { 16804 os << (((x.i >> i) & 1)? '1': '0'); 16805 16806 if (i == 31 || i == 23) 16807 os << ' '; 16808 } 16809 }
| void osg::printBits | ( | char | c[19], | |
| Real16 | h | |||
| ) |
Definition at line 16813 of file OSGReal16.cpp.
References osg::Real16::bits().
16814 { 16815 unsigned short b = h.bits(); 16816 16817 for (int i = 15, j = 0; i >= 0; i--, j++) 16818 { 16819 c[j] = (((b >> i) & 1)? '1': '0'); 16820 16821 if (i == 15 || i == 10) 16822 c[++j] = ' '; 16823 } 16824 16825 c[18] = 0; 16826 }
| void osg::printBits | ( | char | c[35], | |
| float | f | |||
| ) |
Definition at line 16830 of file OSGReal16.cpp.
References osg::Real16::uif::f, and osg::Real16::uif::i.
16831 { 16832 Real16::uif x; 16833 x.f = f; 16834 16835 for (int i = 31, j = 0; i >= 0; i--, j++) 16836 { 16837 c[j] = (((x.i >> i) & 1)? '1': '0'); 16838 16839 if (i == 31 || i == 23) 16840 c[++j] = ' '; 16841 } 16842 16843 c[34] = 0; 16844 }
| std::ostream& osg::operator<< | ( | std::ostream & | os, | |
| Real16 | h | |||
| ) |
| std::istream& osg::operator>> | ( | std::istream & | is, | |
| Real16 & | h | |||
| ) |
| void osg::printBits | ( | std::ostream & | os, | |
| Real16 | h | |||
| ) |
| void osg::printBits | ( | std::ostream & | os, | |
| float | f | |||
| ) |
| Time osg::getSystemTime | ( | void | ) | [inline] |
Definition at line 49 of file OSGTime.inl.
Referenced by osg::GroupSockConnection::connectSocket(), createOptimizedPrimitives(), osg::RenderNode::determinePerformance(), osg::Log::doHeader(), getTimeStamp(), getTimeStampFreq(), osg::Log::Log(), osg::PointMCastConnection::recvQueue(), osg::Log::resetRefTime(), osg::RenderNode::runFaceBench(), osg::RenderNode::runRasterBench(), osg::VRMLFile::scanFile(), osg::VRMLFile::scanStream(), osg::GroupMCastConnection::sendQueue(), osg::StatTimeElem::start(), osg::StatTimeElem::stop(), and osg::VRMLFile::use().
00050 { 00051 Time time; 00052 00053 #ifdef WIN32 00054 time = Time(timeGetTime()) / 1000.0; 00055 #else 00056 struct timeval tv; 00057 gettimeofday(&tv, 0); 00058 time = Time(tv.tv_usec) / 1000000.0 + Time(tv.tv_sec); 00059 #endif 00060 00061 return time; 00062 }
| TimeStamp osg::getTimeStamp | ( | void | ) | [inline] |
Definition at line 66 of file OSGTime.inl.
References getSystemTime().
Referenced by getTimeStampFreq(), osg::StatTimeStampElem::start(), and osg::StatTimeStampElem::stop().
00067 { 00068 #ifdef WIN32 00069 Int64 iCounter; 00070 00071 QueryPerformanceCounter(reinterpret_cast<LARGE_INTEGER *>(&iCounter)); 00072 00073 return static_cast<TimeStamp>(iCounter); 00074 #elif defined(__linux) && defined(__i386) 00075 00076 register uint64_t result; 00077 //asm volatile ("rdtsc" : "=A"(result)); 00078 asm volatile (".byte 0x0f, 0x31" : "=A" (result)); // same thing as rdtsc... inject the bytes for the opcode. 00079 return static_cast<TimeStamp>(result); 00080 00081 #else 00082 return static_cast<TimeStamp>(getSystemTime() * 1000.f); 00083 #endif 00084 }
| TimeStamp osg::getTimeStampFreq | ( | void | ) | [inline] |
Definition at line 88 of file OSGTime.inl.
References getSystemTime(), getTimeStamp(), osgsleep(), and start.
Referenced by getTimeStampMsecs().
00089 { 00090 #ifdef WIN32 00091 Int64 iCounterFreq; 00092 00093 QueryPerformanceFrequency( 00094 reinterpret_cast<LARGE_INTEGER *>(&iCounterFreq)); 00095 00096 return static_cast<TimeStamp>(iCounterFreq); 00097 00098 #elif defined(__linux) && defined(__i386) 00099 00100 static Int64 iCounterFreq = 0; 00101 00102 if(iCounterFreq == 0) 00103 { 00104 // Calibrate against gettimeofday 00105 00106 Time start, end; 00107 Int64 cstart, cend; 00108 00109 cstart = getTimeStamp(); 00110 start = getSystemTime(); 00111 00112 osgsleep(200); 00113 00114 cend = getTimeStamp(); 00115 end = getSystemTime(); 00116 00117 iCounterFreq = static_cast<Int64>((cend - cstart) / (end - start)); 00118 } 00119 return static_cast<TimeStamp>(iCounterFreq); 00120 00121 #else 00122 return static_cast<TimeStamp>(1000000); 00123 #endif 00124 }
| Real64 osg::getTimeStampMsecs | ( | TimeStamp | ticks | ) | [inline] |
Definition at line 127 of file OSGTime.inl.
References getTimeStampFreq().
Referenced by osg::StatTimeStampElem::putToString().
00128 { 00129 return ticks * 1000. / getTimeStampFreq(); 00130 }
| PointInterface< ValueTypeT, StorageInterfaceT > osg::operator* | ( | const ValueTypeT | val, | |
| const PointInterface< ValueTypeT, StorageInterfaceT > & | vec | |||
| ) | [inline] |
Definition at line 1257 of file OSGVector.inl.
01260 { 01261 PointInterface<ValueTypeT, StorageInterfaceT> returnValue; 01262 01263 for(UInt32 i = 0; i < StorageInterfaceT::_iSize; i++) 01264 { 01265 returnValue[i] = vec[i] * val; 01266 } 01267 01268 return returnValue; 01269 }
| std::ostream & osg::operator<< | ( | std::ostream & | os, | |
| const PointInterface< ValueTypeT, StorageInterfaceT > & | obj | |||
| ) | [inline] |
Definition at line 1275 of file OSGVector.inl.
01278 { 01279 for(UInt32 i = 0; i < StorageInterfaceT::_iSize; i++) 01280 { 01281 os << obj[i]; 01282 01283 if(i != StorageInterfaceT::_iSize - 1) 01284 os << ", "; 01285 } 01286 01287 return os; 01288 }
| VectorInterface< ValueTypeT, StorageInterfaceT > osg::operator* | ( | const ValueTypeT | val, | |
| const VectorInterface< ValueTypeT, StorageInterfaceT > & | vec | |||
| ) | [inline] |
Definition at line 1888 of file OSGVector.inl.
Referenced by osg::AttachmentPtr::operator*(), and osg::AttachmentContainerPtr::operator*().
01891 { 01892 VectorInterface<ValueTypeT, StorageInterfaceT> returnValue; 01893 01894 for(UInt32 i = 0; i < StorageInterfaceT::_iSize; i++) 01895 { 01896 returnValue[i] = vec[i] * val; 01897 } 01898 01899 return returnValue; 01900 }
| std::ostream & osg::operator<< | ( | std::ostream & | os, | |
| const VectorInterface< ValueTypeT, StorageInterfaceT > & | obj | |||
| ) | [inline] |
Definition at line 1906 of file OSGVector.inl.
01909 { 01910 for(UInt32 i = 0; i < StorageInterfaceT::_iSize; i++) 01911 { 01912 os << obj[i]; 01913 01914 if(i != StorageInterfaceT::_iSize - 1) 01915 os << ", "; 01916 } 01917 01918 return os; 01919 }
| void osg::volDump | ( | Volume * | vol | ) |
Definition at line 47 of file OSGVolume.cpp.
References osg::Volume::dump().
00048 { 00049 vol->dump(); 00050 }
| float osg::dist3D_Segment_to_Segment | ( | const Pnt3f & | s1p, | |
| const Vec3f & | s1d, | |||
| const Pnt3f & | s2p, | |||
| const Vec3f & | s2d | |||
| ) |
Definition at line 476 of file OSGVolumeFunctions.cpp.
References osg::VectorInterface< ValueTypeT, StorageInterfaceT >::dot(), osg::VectorInterface< ValueTypeT, StorageInterfaceT >::length(), and osgabs().
Referenced by intersect().
00478 { 00479 const float SMALL_NUM = 1e-9f; // anything that avoids division overflow 00480 const Vec3f& u = s1d; 00481 const Vec3f& v = s2d; 00482 Vec3f w = s1p - s2p; 00483 00484 float a = u.dot(u); // always >= 0 00485 float b = u.dot(v); 00486 float c = v.dot(v); // always >= 0 00487 float d = u.dot(w); 00488 float e = v.dot(w); 00489 float D = a*c - b*b; // always >= 0 00490 float sc, sN, sD = D; // sc = sN / sD, default sD = D >= 0 00491 float tc, tN, tD = D; // tc = tN / tD, default tD = D >= 0 00492 00493 // compute the line parameters of the two closest points 00494 if (D < SMALL_NUM) { // the lines are almost parallel 00495 sN = 0.0; // force using point P0 on segment S1 00496 sD = 1.0; // to prevent possible division by 0.0 later 00497 tN = e; 00498 tD = c; 00499 } 00500 else { // get the closest points on the infinite lines 00501 sN = (b*e - c*d); 00502 tN = (a*e - b*d); 00503 if (sN < 0.0) { // sc < 0 => the s=0 edge is visible 00504 sN = 0.0; 00505 tN = e; 00506 tD = c; 00507 } 00508 else if (sN > sD) { // sc > 1 => the s=1 edge is visible 00509 sN = sD; 00510 tN = e + b; 00511 tD = c; 00512 } 00513 } 00514 00515 if (tN < 0.0) { // tc < 0 => the t=0 edge is visible 00516 tN = 0.0; 00517 // recompute sc for this edge 00518 if (-d < 0.0) 00519 sN = 0.0; 00520 else if (-d > a) 00521 sN = sD; 00522 else { 00523 sN = -d; 00524 sD = a; 00525 } 00526 } 00527 else if (tN > tD) { // tc > 1 => the t=1 edge is visible 00528 tN = tD; 00529 // recompute sc for this edge 00530 if ((-d + b) < 0.0) 00531 sN = 0; 00532 else if ((-d + b) > a) 00533 sN = sD; 00534 else { 00535 sN = (-d + b); 00536 sD = a; 00537 } 00538 } 00539 // finally do the division to get sc and tc 00540 sc = (osgabs(sN) < SMALL_NUM ? 0.0 : sN / sD); 00541 tc = (osgabs(tN) < SMALL_NUM ? 0.0 : tN / tD); 00542 00543 // get the difference of the two closest points 00544 Vec3f dP = w + (sc * u) - (tc * v); // = S1(sc) - S2(tc) 00545 00546 return dP.length(); // return the squared distance 00547 }
| void osg::extend | ( | Volume & | srcVol, | |
| const Volume & | vol | |||
| ) |
Definition at line 664 of file OSGVolumeFunctions.cpp.
References FFATAL.
Referenced by osg::Billboard::adjustVolume().
00665 { 00666 FFATAL(("extend (frustum/volume) is not impl.\n")); 00667 return; 00668 }
| osg::OSG_DLLEXPORT_SFIELD_DEF2 | ( | bool | , | |
| 2 | , | |||
| OSG_BASE_DLLTMPLMAPPING | ||||
| ) |
| osg::OSG_DLLEXPORT_SFIELD_DEF1 | ( | Int8 | , | |
| OSG_BASE_DLLTMPLMAPPING | ||||
| ) |
| osg::OSG_DLLEXPORT_SFIELD_DEF1 | ( | UInt8 | , | |
| OSG_BASE_DLLTMPLMAPPING | ||||
| ) |
| osg::OSG_DLLEXPORT_SFIELD_DEF1 | ( | Int16 | , | |
| OSG_BASE_DLLTMPLMAPPING | ||||
| ) |
| osg::OSG_DLLEXPORT_SFIELD_DEF1 | ( | UInt16 | , | |
| OSG_BASE_DLLTMPLMAPPING | ||||
| ) |
| osg::OSG_DLLEXPORT_SFIELD_DEF1 | ( | Int32 | , | |
| OSG_BASE_DLLTMPLMAPPING | ||||
| ) |
| osg::OSG_DLLEXPORT_SFIELD_DEF1 | ( | UInt32 | , | |
| OSG_BASE_DLLTMPLMAPPING | ||||
| ) |
| osg::OSG_DLLEXPORT_SFIELD_DEF1 | ( | Int64 | , | |
| OSG_BASE_DLLTMPLMAPPING | ||||
| ) |
| osg::OSG_DLLEXPORT_SFIELD_DEF1 | ( | UInt64 | , | |
| OSG_BASE_DLLTMPLMAPPING | ||||
| ) |
| osg::OSG_DLLEXPORT_SFIELD_DEF1 | ( | Real32 | , | |
| OSG_BASE_DLLTMPLMAPPING | ||||
| ) |
| osg::OSG_DLLEXPORT_SFIELD_DEF1 | ( | Real64 | , | |
| OSG_BASE_DLLTMPLMAPPING | ||||
| ) |
| osg::OSG_DLLEXPORT_SFIELD_DEF1 | ( | void * | , | |
| OSG_BASE_DLLTMPLMAPPING | ||||
| ) |
| osg::OSG_DLLEXPORT_MFIELD_DEF2 | ( | bool | , | |
| 2 | , | |||
| OSG_BASE_DLLTMPLMAPPING | ||||
| ) |
| osg::OSG_DLLEXPORT_MFIELD_DEF1 | ( | Int8 | , | |
| OSG_BASE_DLLTMPLMAPPING | ||||
| ) |
| osg::OSG_DLLEXPORT_MFIELD_DEF1 | ( | UInt8 | , | |
| OSG_BASE_DLLTMPLMAPPING | ||||
| ) |
| osg::OSG_DLLEXPORT_MFIELD_DEF1 | ( | Int16 | , | |
| OSG_BASE_DLLTMPLMAPPING | ||||
| ) |
| osg::OSG_DLLEXPORT_MFIELD_DEF1 | ( | UInt16 | , | |
| OSG_BASE_DLLTMPLMAPPING | ||||
| ) |
| osg::OSG_DLLEXPORT_MFIELD_DEF1 | ( | Int32 | , | |
| OSG_BASE_DLLTMPLMAPPING | ||||
| ) |
| osg::OSG_DLLEXPORT_MFIELD_DEF1 | ( | UInt32 | , | |
| OSG_BASE_DLLTMPLMAPPING | ||||
| ) |
| osg::OSG_DLLEXPORT_MFIELD_DEF1 | ( | Int64 | , | |
| OSG_BASE_DLLTMPLMAPPING | ||||
| ) |
| osg::OSG_DLLEXPORT_MFIELD_DEF1 | ( | UInt64 | , | |
| OSG_BASE_DLLTMPLMAPPING | ||||
| ) |
| osg::OSG_DLLEXPORT_MFIELD_DEF1 | ( | Real32 | , | |
| OSG_BASE_DLLTMPLMAPPING | ||||
| ) |
| osg::OSG_DLLEXPORT_MFIELD_DEF1 | ( | Real64 | , | |
| OSG_BASE_DLLTMPLMAPPING | ||||
| ) |
| osg::OSG_DLLEXPORT_MFIELD_DEF1 | ( | void * | , | |
| OSG_BASE_DLLTMPLMAPPING | ||||
| ) |
| osg::OSG_DLLEXPORT_SFIELD_DEF1 | ( | std::string | , | |
| OSG_BASE_DLLTMPLMAPPING | ||||
| ) |
| osg::OSG_DLLEXPORT_SFIELD_DEF2 | ( | Time | , | |
| 1 | , | |||
| OSG_BASE_DLLTMPLMAPPING | ||||
| ) |
| osg::OSG_DLLEXPORT_SFIELD_DEF1 | ( | Color3f | , | |
| OSG_BASE_DLLTMPLMAPPING | ||||
| ) |
| osg::OSG_DLLEXPORT_SFIELD_DEF1 | ( | Color4f | , | |
| OSG_BASE_DLLTMPLMAPPING | ||||
| ) |
| osg::OSG_DLLEXPORT_SFIELD_DEF1 | ( | Color3ub | , | |
| OSG_BASE_DLLTMPLMAPPING | ||||
| ) |
| osg::OSG_DLLEXPORT_SFIELD_DEF1 | ( | Color4ub | , | |
| OSG_BASE_DLLTMPLMAPPING | ||||
| ) |
| osg::OSG_DLLEXPORT_SFIELD_DEF1 | ( | DynamicVolume | , | |
| OSG_BASE_DLLTMPLMAPPING | ||||
| ) |
| osg::OSG_DLLEXPORT_SFIELD_DEF2 | ( | BitVector | , | |
| 1 | , | |||
| OSG_BASE_DLLTMPLMAPPING | ||||
| ) |
| osg::OSG_DLLEXPORT_SFIELD_DEF2 | ( | GLenum | , | |
| 1 | , | |||
| OSG_BASE_DLLTMPLMAPPING | ||||
| ) |
| osg::OSG_DLLEXPORT_MFIELD_DEF1 | ( | std::string | , | |
| OSG_BASE_DLLTMPLMAPPING | ||||
| ) |
| osg::OSG_DLLEXPORT_MFIELD_DEF2 | ( | Time | , | |
| 1 | , | |||
| OSG_BASE_DLLTMPLMAPPING | ||||
| ) |
| osg::OSG_DLLEXPORT_MFIELD_DEF1 | ( | Color3f | , | |
| OSG_BASE_DLLTMPLMAPPING | ||||
| ) |
| osg::OSG_DLLEXPORT_MFIELD_DEF1 | ( | Color4f | , | |
| OSG_BASE_DLLTMPLMAPPING | ||||
| ) |
| osg::OSG_DLLEXPORT_MFIELD_DEF1 | ( | Color3ub | , | |
| OSG_BASE_DLLTMPLMAPPING | ||||
| ) |
| osg::OSG_DLLEXPORT_MFIELD_DEF1 | ( | Color4ub | , | |
| OSG_BASE_DLLTMPLMAPPING | ||||
| ) |
| osg::OSG_DLLEXPORT_MFIELD_DEF1 | ( | DynamicVolume | , | |
| OSG_BASE_DLLTMPLMAPPING | ||||
| ) |
| osg::OSG_DLLEXPORT_MFIELD_DEF2 | ( | BitVector | , | |
| 1 | , | |||
| OSG_BASE_DLLTMPLMAPPING | ||||
| ) |
| osg::OSG_DLLEXPORT_MFIELD_DEF2 | ( | GLenum | , | |
| 1 | , | |||
| OSG_BASE_DLLTMPLMAPPING | ||||
| ) |
| osg::OSG_DLLEXPORT_SFIELD_DEF1 | ( | Vec2ub | , | |
| OSG_BASE_DLLTMPLMAPPING | ||||
| ) |
| osg::OSG_DLLEXPORT_SFIELD_DEF1 | ( | Vec2b | , | |
| OSG_BASE_DLLTMPLMAPPING | ||||
| ) |
| osg::OSG_DLLEXPORT_SFIELD_DEF1 | ( | Vec2us | , | |
| OSG_BASE_DLLTMPLMAPPING | ||||
| ) |
| osg::OSG_DLLEXPORT_SFIELD_DEF1 | ( | Vec2s | , | |
| OSG_BASE_DLLTMPLMAPPING | ||||
| ) |
| osg::OSG_DLLEXPORT_SFIELD_DEF1 | ( | Vec2f | , | |
| OSG_BASE_DLLTMPLMAPPING | ||||
| ) |
| osg::OSG_DLLEXPORT_SFIELD_DEF1 | ( | Vec2d | , | |
| OSG_BASE_DLLTMPLMAPPING | ||||
| ) |
| osg::OSG_DLLEXPORT_SFIELD_DEF1 | ( | Vec2ld | , | |
| OSG_BASE_DLLTMPLMAPPING | ||||
| ) |
| osg::OSG_DLLEXPORT_SFIELD_DEF1 | ( | Vec3ub | , | |
| OSG_BASE_DLLTMPLMAPPING | ||||
| ) |
| osg::OSG_DLLEXPORT_SFIELD_DEF1 | ( | Vec3b | , | |
| OSG_BASE_DLLTMPLMAPPING | ||||
| ) |
| osg::OSG_DLLEXPORT_SFIELD_DEF1 | ( | Vec3us | , | |
| OSG_BASE_DLLTMPLMAPPING | ||||
| ) |
| osg::OSG_DLLEXPORT_SFIELD_DEF1 | ( | Vec3s | , | |
| OSG_BASE_DLLTMPLMAPPING | ||||
| ) |
| osg::OSG_DLLEXPORT_SFIELD_DEF1 | ( | Vec3f | , | |
| OSG_BASE_DLLTMPLMAPPING | ||||
| ) |
| osg::OSG_DLLEXPORT_SFIELD_DEF1 | ( | Vec3d | , | |
| OSG_BASE_DLLTMPLMAPPING | ||||
| ) |
| osg::OSG_DLLEXPORT_SFIELD_DEF1 | ( | Vec3ld | , | |
| OSG_BASE_DLLTMPLMAPPING | ||||
| ) |
| osg::OSG_DLLEXPORT_SFIELD_DEF1 | ( | Vec4ub | , | |
| OSG_BASE_DLLTMPLMAPPING | ||||
| ) |
| osg::OSG_DLLEXPORT_SFIELD_DEF1 | ( | Vec4b | , | |
| OSG_BASE_DLLTMPLMAPPING | ||||
| ) |
| osg::OSG_DLLEXPORT_SFIELD_DEF1 | ( | Vec4us | , | |
| OSG_BASE_DLLTMPLMAPPING | ||||
| ) |
| osg::OSG_DLLEXPORT_SFIELD_DEF1 | ( | Vec4s | , | |
| OSG_BASE_DLLTMPLMAPPING | ||||
| ) |
| osg::OSG_DLLEXPORT_SFIELD_DEF1 | ( | Vec4f | , | |
| OSG_BASE_DLLTMPLMAPPING | ||||
| ) |
| osg::OSG_DLLEXPORT_SFIELD_DEF1 | ( | Vec4d | , | |
| OSG_BASE_DLLTMPLMAPPING | ||||
| ) |
| osg::OSG_DLLEXPORT_SFIELD_DEF1 | ( | Vec4ld | , | |
| OSG_BASE_DLLTMPLMAPPING | ||||
| ) |
| osg::OSG_DLLEXPORT_SFIELD_DEF1 | ( | Pnt2ub | , | |
| OSG_BASE_DLLTMPLMAPPING | ||||
| ) |
| osg::OSG_DLLEXPORT_SFIELD_DEF1 | ( | Pnt2b | , | |
| OSG_BASE_DLLTMPLMAPPING | ||||
| ) |
| osg::OSG_DLLEXPORT_SFIELD_DEF1 | ( | Pnt2us | , | |
| OSG_BASE_DLLTMPLMAPPING | ||||
| ) |
| osg::OSG_DLLEXPORT_SFIELD_DEF1 | ( | Pnt2s | , | |
| OSG_BASE_DLLTMPLMAPPING | ||||
| ) |
| osg::OSG_DLLEXPORT_SFIELD_DEF1 | ( | Pnt2f | , | |
| OSG_BASE_DLLTMPLMAPPING | ||||
| ) |
| osg::OSG_DLLEXPORT_SFIELD_DEF1 | ( | Pnt2d | , | |
| OSG_BASE_DLLTMPLMAPPING | ||||
| ) |
| osg::OSG_DLLEXPORT_SFIELD_DEF1 | ( | Pnt2ld | , | |
| OSG_BASE_DLLTMPLMAPPING | ||||
| ) |
| osg::OSG_DLLEXPORT_SFIELD_DEF1 | ( | Pnt3ub | , | |
| OSG_BASE_DLLTMPLMAPPING | ||||
| ) |
| osg::OSG_DLLEXPORT_SFIELD_DEF1 | ( | Pnt3b | , | |
| OSG_BASE_DLLTMPLMAPPING | ||||
| ) |
| osg::OSG_DLLEXPORT_SFIELD_DEF1 | ( | Pnt3us | , | |
| OSG_BASE_DLLTMPLMAPPING | ||||
| ) |
| osg::OSG_DLLEXPORT_SFIELD_DEF1 | ( | Pnt3s | , | |
| OSG_BASE_DLLTMPLMAPPING | ||||
| ) |
| osg::OSG_DLLEXPORT_SFIELD_DEF1 | ( | Pnt3f | , | |
| OSG_BASE_DLLTMPLMAPPING | ||||
| ) |
| osg::OSG_DLLEXPORT_SFIELD_DEF1 | ( | Pnt3d | , | |
| OSG_BASE_DLLTMPLMAPPING | ||||
| ) |
| osg::OSG_DLLEXPORT_SFIELD_DEF1 | ( | Pnt3ld | , | |
| OSG_BASE_DLLTMPLMAPPING | ||||
| ) |
| osg::OSG_DLLEXPORT_SFIELD_DEF1 | ( | Pnt4ub | , | |
| OSG_BASE_DLLTMPLMAPPING | ||||
| ) |
| osg::OSG_DLLEXPORT_SFIELD_DEF1 | ( | Pnt4b | , | |
| OSG_BASE_DLLTMPLMAPPING | ||||
| ) |
| osg::OSG_DLLEXPORT_SFIELD_DEF1 | ( | Pnt4us | , | |
| OSG_BASE_DLLTMPLMAPPING | ||||
| ) |
| osg::OSG_DLLEXPORT_SFIELD_DEF1 | ( | Pnt4s | , | |
| OSG_BASE_DLLTMPLMAPPING | ||||
| ) |
| osg::OSG_DLLEXPORT_SFIELD_DEF1 | ( | Pnt4f | , | |
| OSG_BASE_DLLTMPLMAPPING | ||||
| ) |
| osg::OSG_DLLEXPORT_SFIELD_DEF1 | ( | Pnt4d | , | |
| OSG_BASE_DLLTMPLMAPPING | ||||
| ) |
| osg::OSG_DLLEXPORT_SFIELD_DEF1 | ( | Pnt4ld | , | |
| OSG_BASE_DLLTMPLMAPPING | ||||
| ) |
| osg::OSG_DLLEXPORT_MFIELD_DEF1 | ( | Vec2ub | , | |
| OSG_BASE_DLLTMPLMAPPING | ||||
| ) |
| osg::OSG_DLLEXPORT_MFIELD_DEF1 | ( | Vec2b | , | |
| OSG_BASE_DLLTMPLMAPPING | ||||
| ) |
| osg::OSG_DLLEXPORT_MFIELD_DEF1 | ( | Vec2us | , | |
| OSG_BASE_DLLTMPLMAPPING | ||||
| ) |
| osg::OSG_DLLEXPORT_MFIELD_DEF1 | ( | Vec2s | , | |
| OSG_BASE_DLLTMPLMAPPING | ||||
| ) |
| osg::OSG_DLLEXPORT_MFIELD_DEF1 | ( | Vec2f | , | |
| OSG_BASE_DLLTMPLMAPPING | ||||
| ) |
| osg::OSG_DLLEXPORT_MFIELD_DEF1 | ( | Vec2d | , | |
| OSG_BASE_DLLTMPLMAPPING | ||||
| ) |
| osg::OSG_DLLEXPORT_MFIELD_DEF1 | ( | Vec2ld | , | |
| OSG_BASE_DLLTMPLMAPPING | ||||
| ) |
| osg::OSG_DLLEXPORT_MFIELD_DEF1 | ( | Vec3ub | , | |
| OSG_BASE_DLLTMPLMAPPING | ||||
| ) |
| osg::OSG_DLLEXPORT_MFIELD_DEF1 | ( | Vec3b | , | |
| OSG_BASE_DLLTMPLMAPPING | ||||
| ) |
| osg::OSG_DLLEXPORT_MFIELD_DEF1 | ( | Vec3us | , | |
| OSG_BASE_DLLTMPLMAPPING | ||||
| ) |
| osg::OSG_DLLEXPORT_MFIELD_DEF1 | ( | Vec3s | , | |
| OSG_BASE_DLLTMPLMAPPING | ||||
| ) |
| osg::OSG_DLLEXPORT_MFIELD_DEF1 | ( | Vec3f | , | |
| OSG_BASE_DLLTMPLMAPPING | ||||
| ) |
| osg::OSG_DLLEXPORT_MFIELD_DEF1 | ( | Vec3d | , | |
| OSG_BASE_DLLTMPLMAPPING | ||||
| ) |
| osg::OSG_DLLEXPORT_MFIELD_DEF1 | ( | Vec3ld | , | |
| OSG_BASE_DLLTMPLMAPPING | ||||
| ) |
| osg::OSG_DLLEXPORT_MFIELD_DEF1 | ( | Vec4ub | , | |
| OSG_BASE_DLLTMPLMAPPING | ||||
| ) |
| osg::OSG_DLLEXPORT_MFIELD_DEF1 | ( | Vec4b | , | |
| OSG_BASE_DLLTMPLMAPPING | ||||
| ) |
| osg::OSG_DLLEXPORT_MFIELD_DEF1 | ( | Vec4us | , | |
| OSG_BASE_DLLTMPLMAPPING | ||||
| ) |
| osg::OSG_DLLEXPORT_MFIELD_DEF1 | ( | Vec4s | , | |
| OSG_BASE_DLLTMPLMAPPING | ||||
| ) |
| osg::OSG_DLLEXPORT_MFIELD_DEF1 | ( | Vec4f | , | |
| OSG_BASE_DLLTMPLMAPPING | ||||
| ) |
| osg::OSG_DLLEXPORT_MFIELD_DEF1 | ( | Vec4d | , | |
| OSG_BASE_DLLTMPLMAPPING | ||||
| ) |
| osg::OSG_DLLEXPORT_MFIELD_DEF1 | ( | Vec4ld | , | |
| OSG_BASE_DLLTMPLMAPPING | ||||
| ) |
| osg::OSG_DLLEXPORT_MFIELD_DEF1 | ( | Pnt2ub | , | |
| OSG_BASE_DLLTMPLMAPPING | ||||
| ) |
| osg::OSG_DLLEXPORT_MFIELD_DEF1 | ( | Pnt2b | , | |
| OSG_BASE_DLLTMPLMAPPING | ||||
| ) |
| osg::OSG_DLLEXPORT_MFIELD_DEF1 | ( | Pnt2us | , | |
| OSG_BASE_DLLTMPLMAPPING | ||||
| ) |
| osg::OSG_DLLEXPORT_MFIELD_DEF1 | ( | Pnt2s | , | |
| OSG_BASE_DLLTMPLMAPPING | ||||
| ) |
| osg::OSG_DLLEXPORT_MFIELD_DEF1 | ( | Pnt2f | , | |
| OSG_BASE_DLLTMPLMAPPING | ||||
| ) |
| osg::OSG_DLLEXPORT_MFIELD_DEF1 | ( | Pnt2d | , | |
| OSG_BASE_DLLTMPLMAPPING | ||||
| ) |
| osg::OSG_DLLEXPORT_MFIELD_DEF1 | ( | Pnt2ld | , | |
| OSG_BASE_DLLTMPLMAPPING | ||||
| ) |
| osg::OSG_DLLEXPORT_MFIELD_DEF1 | ( | Pnt3ub | , | |
| OSG_BASE_DLLTMPLMAPPING | ||||
| ) |
| osg::OSG_DLLEXPORT_MFIELD_DEF1 | ( | Pnt3b | , | |
| OSG_BASE_DLLTMPLMAPPING | ||||
| ) |
| osg::OSG_DLLEXPORT_MFIELD_DEF1 | ( | Pnt3us | , | |
| OSG_BASE_DLLTMPLMAPPING | ||||
| ) |
| osg::OSG_DLLEXPORT_MFIELD_DEF1 | ( | Pnt3s | , | |
| OSG_BASE_DLLTMPLMAPPING | ||||
| ) |
| osg::OSG_DLLEXPORT_MFIELD_DEF1 | ( | Pnt3f | , | |
| OSG_BASE_DLLTMPLMAPPING | ||||
| ) |
| osg::OSG_DLLEXPORT_MFIELD_DEF1 | ( | Pnt3d | , | |
| OSG_BASE_DLLTMPLMAPPING | ||||
| ) |
| osg::OSG_DLLEXPORT_MFIELD_DEF1 | ( | Pnt3ld | , | |
| OSG_BASE_DLLTMPLMAPPING | ||||
| ) |
| osg::OSG_DLLEXPORT_MFIELD_DEF1 | ( | Pnt4ub | , | |
| OSG_BASE_DLLTMPLMAPPING | ||||
| ) |
| osg::OSG_DLLEXPORT_MFIELD_DEF1 | ( | Pnt4b | , | |
| OSG_BASE_DLLTMPLMAPPING | ||||
| ) |
| osg::OSG_DLLEXPORT_MFIELD_DEF1 | ( | Pnt4us | , | |
| OSG_BASE_DLLTMPLMAPPING | ||||
| ) |
| osg::OSG_DLLEXPORT_MFIELD_DEF1 | ( | Pnt4s | , | |
| OSG_BASE_DLLTMPLMAPPING | ||||
| ) |
| osg::OSG_DLLEXPORT_MFIELD_DEF1 | ( | Pnt4f | , | |
| OSG_BASE_DLLTMPLMAPPING | ||||
| ) |
| osg::OSG_DLLEXPORT_MFIELD_DEF1 | ( | Pnt4d | , | |
| OSG_BASE_DLLTMPLMAPPING | ||||
| ) |
| osg::OSG_DLLEXPORT_MFIELD_DEF1 | ( | Pnt4ld | , | |
| OSG_BASE_DLLTMPLMAPPING | ||||
| ) |
| osg::OSG_DLLEXPORT_SFIELD_DEF1 | ( | Matrix | , | |
| OSG_BASE_DLLTMPLMAPPING | ||||
| ) |
| osg::OSG_DLLEXPORT_SFIELD_DEF1 | ( | Matrix4d | , | |
| OSG_BASE_DLLTMPLMAPPING | ||||
| ) |
| osg::OSG_DLLEXPORT_SFIELD_DEF1 | ( | Quaternion | , | |
| OSG_BASE_DLLTMPLMAPPING | ||||
| ) |
| osg::OSG_DLLEXPORT_MFIELD_DEF1 | ( | Matrix | , | |
| OSG_BASE_DLLTMPLMAPPING | ||||
| ) |
| osg::OSG_DLLEXPORT_MFIELD_DEF1 | ( | Matrix4d | , | |
| OSG_BASE_DLLTMPLMAPPING | ||||
| ) |
| osg::OSG_DLLEXPORT_MFIELD_DEF1 | ( | Quaternion | , | |
| OSG_BASE_DLLTMPLMAPPING | ||||
| ) |
| osg::OSG_DLLEXPORT_SFIELD_DEF1 | ( | Plane | , | |
| OSG_BASE_DLLTMPLMAPPING | ||||
| ) |
| osg::OSG_DLLEXPORT_MFIELD_DEF1 | ( | Plane | , | |
| OSG_BASE_DLLTMPLMAPPING | ||||
| ) |
| TypedFunctionFunctor1< RetT, CPtrCallArg< Arg1T > > osg::osgTypedFunctionFunctor1CPtr | ( | RetT(*)(Arg1T) | pFunc | ) | [inline] |
Definition at line 116 of file OSGTypedFunctors.inl.
References osg::TypedFunctionFunctorBase< Parent, Params >::setMethod().
00117 { 00118 TypedFunctionFunctor1<RetT, CPtrCallArg<Arg1T> > returnValue; 00119 00120 returnValue.setMethod(pFunc); 00121 00122 return returnValue; 00123 }
| TypedObjectFunctor1< RetT, CPtrCallArg< Arg1T > > osg::osgTypedMethodFunctor1CPtr | ( | typename FunctorBuildFuncType1< RetT, CPtrCallArg< Arg1T > >::ObjFuncType | pFunc | ) | [inline] |
Definition at line 327 of file OSGTypedFunctors.inl.
00330 { 00331 typedef TypedObjectFunctor1<RetT, CPtrCallArg<Arg1T> > OFunctor; 00332 00333 OFunctor returnValue; 00334 00335 returnValue.setMethod(pFunc); 00336 00337 return returnValue; 00338 }
| TypedFunctionFunctor2< RetT, CPtrCallArg< ObjectT >, ArgsCollector< Arg2T > > osg::osgTypedFunctionFunctor2CPtr | ( | RetT(*)(ObjectT, Arg2T) | pFunc | ) | [inline] |
Definition at line 508 of file OSGTypedFunctors.inl.
00509 { 00510 TypedFunctionFunctor2<RetT, 00511 CPtrCallArg<ObjectT>, 00512 ArgsCollector<Arg2T> > returnValue; 00513 00514 returnValue.setMethod(pFunc); 00515 00516 return returnValue; 00517 }
| TypedFunctionVoidFunctor2< CPtrCallArg< ObjectT >, ArgsCollector< Arg2T > > osg::osgTypedFunctionVoidFunctor2Cptr | ( | void(*)(ObjectT, Arg2T) | pFunc | ) | [inline] |
Definition at line 521 of file OSGTypedFunctors.inl.
References osg::TypedFunctionFunctorBase< Parent, Params >::setMethod().
00522 { 00523 TypedFunctionVoidFunctor2<CPtrCallArg<ObjectT>, 00524 ArgsCollector<Arg2T> > returnValue; 00525 00526 returnValue.setMethod(pFunc); 00527 00528 return returnValue; 00529 }
| TypedObjectFunctor2< RetT, CPtrCallArg< ObjectT >, ArgsCollector< Arg2T > > osg::osgTypedMethodFunctor2CPtr | ( | typename FunctorBuildFuncType2< RetT, CPtrCallArg< ObjectT >, ArgsCollector< Arg2T > >::ObjFuncType | pFunc | ) | [inline] |
Definition at line 740 of file OSGTypedFunctors.inl.
00744 { 00745 typedef TypedObjectFunctor2<RetT, 00746 CPtrCallArg<ObjectT>, 00747 ArgsCollector<Arg2T> > OFunctor; 00748 00749 OFunctor returnValue; 00750 00751 returnValue.setMethod(pFunc); 00752 00753 return returnValue; 00754 }
| TypedObjectVoidFunctor2< CPtrCallArg< ObjectT >, ArgsCollector< Arg2T > > osg::osgTypedMethodVoidFunctor2CPtr | ( | typename FunctorBuildFuncType2< void, CPtrCallArg< ObjectT >, ArgsCollector< Arg2T > >::ObjFuncType | pFunc | ) | [inline] |
Definition at line 758 of file OSGTypedFunctors.inl.
00762 { 00763 typedef TypedObjectVoidFunctor2<CPtrCallArg<ObjectT>, 00764 ArgsCollector<Arg2T> > OFunctor; 00765 00766 OFunctor returnValue; 00767 00768 returnValue.setMethod(pFunc); 00769 00770 return returnValue; 00771 }
| TypedObjectFunctor2< RetT, CPtrCallArg< Arg1T >, ArgsCollector< Arg2T > > osg::osgTypedMethodFunctor2BaseCPtr | ( | typename TypedMethodFunctor2BaseCPtrRefFGen< RetT, ObjectT, Arg2T >::Func | pFunc | ) | [inline] |
Definition at line 902 of file OSGTypedFunctors.inl.
Referenced by osg::Transform::initMethod(), osg::Geometry::initMethod(), and osg::ComponentTransform::initMethod().
00906 { 00907 typedef TypedObjectFunctor2< RetT, 00908 CPtrCallArg <Arg1T>, 00909 ArgsCollector<Arg2T> > OFunctor; 00910 00911 typedef typename 00912 FunctorBuildObjFuncType1<RetT, 00913 CPtrCallArg <Arg1T>, 00914 ArgsCollector<Arg2T> >::ObjFuncType FuncT; 00915 00916 OFunctor returnValue; 00917 00918 returnValue.setMethod(reinterpret_cast<FuncT>(pFunc)); 00919 00920 return returnValue; 00921 }
| Action::ResultE osg::doCallEnter | ( | NodePtr | node, | |
| TraverseEnterFunctor & | func | |||
| ) | [inline] |
Definition at line 518 of file OSGAction.cpp.
References osg::TypedFunctor1Base< RetT, CallArgT, SizeTraitsT >::call().
Referenced by traverse().
00520 { 00521 return func.call(node); 00522 }
| Action::ResultE osg::doCallLeave | ( | NodePtr | node, | |
| Action::ResultE | res, | |||
| TraverseLeaveFunctor & | func | |||
| ) | [inline] |
Definition at line 525 of file OSGAction.cpp.
References osg::TypedFunctor2Base< RetT, CallArgT, ArgsT, SizeTraitsT >::call().
Referenced by traverse().
00528 { 00529 return func.call(node, res); 00530 }
| Action::ResultE osg::traverse | ( | std::vector< NodePtr > & | nodeList, | |
| TraverseEnterFunctor | func | |||
| ) |
Simple tree traversal function. Calls func for every node encountered
Definition at line 537 of file OSGAction.cpp.
References osg::Action::Continue, and osg::Action::Quit.
Referenced by osg::MaterialPool::add(), osg::VRMLFile::getRoot(), osg::MaterialPool::sub(), and traverse().
00539 { 00540 Action::ResultE res = Action::Continue; 00541 00542 std::vector<NodePtr>::iterator it = nodeList.begin(); 00543 std::vector<NodePtr>::iterator en = nodeList.end (); 00544 00545 for ( ; it != en; ++it ) 00546 { 00547 res = traverse((*it), func); 00548 00549 if(res == Action::Quit) 00550 break; 00551 } 00552 00553 return res; 00554 }
| Action::ResultE osg::traverse | ( | NodePtr | node, | |
| TraverseEnterFunctor | func | |||
| ) |
Simple tree traversal function. Calls func for every node encountered
Definition at line 559 of file OSGAction.cpp.
References osg::Action::Continue, doCallEnter(), osg::Action::Skip, and traverse().
00561 { 00562 Action::ResultE res = Action::Continue; 00563 00564 res = doCallEnter(node, func); 00565 00566 switch(res) 00567 { 00568 case Action::Skip: return Action::Continue; 00569 case Action::Continue: return traverse( node->getMFChildren()->getValues(), 00570 func ); 00571 default: break; 00572 } 00573 00574 return res; 00575 }
| Action::ResultE osg::traverse | ( | std::vector< NodePtr > & | nodeList, | |
| TraverseEnterFunctor | enter, | |||
| TraverseLeaveFunctor | leave | |||
| ) |
Simple tree traversal function. Calls enter before entering a node, leave after leaving.
Definition at line 581 of file OSGAction.cpp.
References osg::Action::Continue, osg::Action::Quit, and traverse().
00584 { 00585 Action::ResultE res = Action::Continue; 00586 00587 std::vector<NodePtr>::iterator it = nodeList.begin(); 00588 std::vector<NodePtr>::iterator en = nodeList.end (); 00589 00590 for ( ; it != en; ++it ) 00591 { 00592 res = traverse((*it), enter, leave); 00593 00594 if(res == Action::Quit) 00595 break; 00596 } 00597 00598 return res; 00599 }
| Action::ResultE osg::traverse | ( | NodePtr | node, | |
| TraverseEnterFunctor | enter, | |||
| TraverseLeaveFunctor | leave | |||
| ) |
Simple tree traversal function. Calls enter before entering a node, leave after leaving.
Definition at line 606 of file OSGAction.cpp.
References osg::Action::Continue, doCallEnter(), doCallLeave(), osg::Action::Skip, and traverse().
Referenced by osg::SharePtrGraphOp::fillAttachmentParents(), osg::MergeGraphOp::mergeOnce(), and osg::SplitGraphOp::traverse().
00609 { 00610 Action::ResultE res = Action::Continue; 00611 00612 res = doCallEnter(node, enter); 00613 00614 switch(res) 00615 { 00616 case Action::Skip: res = Action::Continue; 00617 break; 00618 case Action::Continue: res = traverse( node->getMFChildren()->getValues(), 00619 enter, leave ); 00620 default: break; 00621 } 00622 00623 res = doCallLeave(node, res, leave); 00624 00625 return res; 00626 }
| osg::OSG_DLLEXPORT_SFIELD_DEF1 | ( | RenderOptionsPtr | , | |
| OSG_SYSTEMLIB_DLLTMPLMAPPING | ||||
| ) |
| osg::OSG_DLLEXPORT_MFIELD_DEF1 | ( | RenderOptionsPtr | , | |
| OSG_SYSTEMLIB_DLLTMPLMAPPING | ||||
| ) |
| osg::OSG_DLLEXPORT_SFIELD_DEF1 | ( | ClusterWindowPtr | , | |
| OSG_SYSTEMLIB_DLLTMPLMAPPING | ||||
| ) |
| osg::OSG_DLLEXPORT_MFIELD_DEF1 | ( | ClusterWindowPtr | , | |
| OSG_SYSTEMLIB_DLLTMPLMAPPING | ||||
| ) |
| osg::OSG_DLLEXPORT_SFIELD_DEF1 | ( | DisplayCalibrationPtr | , | |
| OSG_SYSTEMLIB_DLLTMPLMAPPING | ||||
| ) |
| osg::OSG_DLLEXPORT_MFIELD_DEF1 | ( | DisplayCalibrationPtr | , | |
| OSG_SYSTEMLIB_DLLTMPLMAPPING | ||||
| ) |
| osg::OSG_DLLEXPORT_SFIELD_DEF1 | ( | ImageComposerPtr | , | |
| OSG_SYSTEMLIB_DLLTMPLMAPPING | ||||
| ) |
| osg::OSG_DLLEXPORT_MFIELD_DEF1 | ( | ImageComposerPtr | , | |
| OSG_SYSTEMLIB_DLLTMPLMAPPING | ||||
| ) |
| osg::OSG_DLLEXPORT_SFIELD_DEF1 | ( | FieldContainerPtr | , | |
| OSG_SYSTEMLIB_DLLTMPLMAPPING | ||||
| ) |
| osg::OSG_DLLEXPORT_SFIELD_DEF1 | ( | AttachmentContainerPtr | , | |
| OSG_SYSTEMLIB_DLLTMPLMAPPING | ||||
| ) |
| osg::OSG_DLLEXPORT_SFIELD_DEF1 | ( | NodePtr | , | |
| OSG_SYSTEMLIB_DLLTMPLMAPPING | ||||
| ) |
| osg::OSG_DLLEXPORT_SFIELD_DEF1 | ( | NodeCorePtr | , | |
| OSG_SYSTEMLIB_DLLTMPLMAPPING | ||||
| ) |
| osg::OSG_DLLEXPORT_SFIELD_DEF1 | ( | AttachmentPtr | , | |
| OSG_SYSTEMLIB_DLLTMPLMAPPING | ||||
| ) |
| osg::OSG_DLLEXPORT_SFIELD_DEF1 | ( | AttachmentMap | , | |
| OSG_SYSTEMLIB_DLLTMPLMAPPING | ||||
| ) |
| osg::OSG_DLLEXPORT_MFIELD_DEF1 | ( | FieldContainerPtr | , | |
| OSG_SYSTEMLIB_DLLTMPLMAPPING | ||||
| ) |
| osg::OSG_DLLEXPORT_MFIELD_DEF1 | ( | AttachmentContainerPtr | , | |
| OSG_SYSTEMLIB_DLLTMPLMAPPING | ||||
| ) |
| osg::OSG_DLLEXPORT_MFIELD_DEF1 | ( | NodePtr | , | |
| OSG_SYSTEMLIB_DLLTMPLMAPPING | ||||
| ) |
| osg::OSG_DLLEXPORT_MFIELD_DEF1 | ( | NodeCorePtr | , | |
| OSG_SYSTEMLIB_DLLTMPLMAPPING | ||||
| ) |
| osg::OSG_DLLEXPORT_MFIELD_DEF1 | ( | AttachmentPtr | , | |
| OSG_SYSTEMLIB_DLLTMPLMAPPING | ||||
| ) |
| osg::OSG_DLLEXPORT_MFIELD_DEF1 | ( | AttachmentMap | , | |
| OSG_SYSTEMLIB_DLLTMPLMAPPING | ||||
| ) |
| void osg::beginEditCP | ( | const CoredNodePtr< Core > & | objectP, | |
| BitVector | whichField = FieldBits ::AllFields, |
|||
| UInt32 | origin = ChangedOrigin::External | |||
| ) | [inline] |
Definition at line 280 of file OSGCoredNodePtr.inl.
References osg::CoredNodePtr< Core >::core(), and osg::CoredNodePtrBase::node().
Referenced by osg::DVRSimpleLUTShader::activate(), osg::DVRIsoShader::activate(), osg::DVRIsoShader::activate_FragmentProgramShading(), osg::FatBorderChunk::activateWithFragmentBasedLighting(), osg::FatBorderChunk::activateWithStandardLighting(), osg::SharePtrGraphOp::addAttachmentParent(), osg::Node::addChild(), osg::Window::addPort(), osg::TextTXFFace::addToGeom(), osg::MakeTransparentGraphOp::applyTransparency(), osg::OSGLoader::beginField(), osg::VRMLViewpointDesc::beginNode(), osg::VRMLInlineDesc::beginNode(), osg::VRMLGroupDesc::beginNode(), osg::VRMLSwitchDesc::beginNode(), osg::VRMLLODDesc::beginNode(), osg::VRMLGeometryPointSetDesc::beginNode(), osg::VRMLGeometryDesc::beginNode(), osg::VRMLShapeDesc::beginNode(), osg::VRMLNodeDesc::beginNode(), osg::VRMLFile::beginNode(), osg::OSGLoader::beginNode(), blendImage(), osg::BrickSet::buildBrickTextures(), osg::Surface::buildSurface(), calcFaceNormals(), calcFaceNormalsGeo(), calcVertexNormals(), calcVertexNormalsGeo(), calcVertexTangents(), calcVertexTexCoords(), osg::TextureChunk::changed(), osg::Surface::changed(), osg::SimpleTexturedMaterial::changed(), osg::SHLChunk::changed(), osg::ProxyGroup::changed(), osg::Node::changed(), osg::Geometry::changed(), osg::FresnelMaterial::changed(), osg::DVRVolumeTexture::changed(), osg::ComponentTransform::changed(), osg::BINLoader::chargeFieldContainers(), osg::TextureGrabBackground::clear(), osg::SharePtrGraphOp::clearAttachmentParent(), osg::MultiDisplayWindow::clientInit(), osg::SortFirstWindow::clientPreSync(), osg::ClusterWindow::clientSwap(), osg::Surface::clone(), osg::Geometry::clone(), cloneTree(), osg::SharePtrGraphOp::compareFCs(), osg::CPEditor::CPEditor(), create2DPreIntegrationLUT(), osg::PhongMaterial::createChunkMaterial(), osg::DisplayCalibration::createCMViewports(), createConvexPrimitives(), osg::Image::createData(), osg::ResolutionDisplayFilter::createFilter(), osg::DistortionDisplayFilter::createFilter(), osg::ColorDisplayFilter::createFilter(), osg::PhongMaterial::createFragmentProgram(), osg::ExtrusionSurface::createGeometry(), osg::DisplayFilterForeground::DisplayFilterGroup::createGrid(), createNormalizationCubeMap(), createNormalMapFromBump(), createNormalVolume(), createOptimizedPrimitives(), createPhongTexture(), createPhongVolume(), createSharedIndex(), createSingleIndex(), deepClone(), deepCloneAttachments(), deepCloneTree(), osg::DisplayFilterForeground::DisplayFilterGroup::DisplayFilterGroup(), osg::TextureGrabForeground::draw(), osg::ProxyGroup::draw(), osg::FileGrabForeground::draw(), osg::DisplayFilterForeground::draw(), osg::DVRVolume::DVRVolume(), osg::VRMLInlineDesc::endNode(), osg::VRMLExtrusionDesc::endNode(), osg::VRMLImageTextureDesc::endNode(), osg::VRMLTextureTransformDesc::endNode(), osg::VRMLMaterialDesc::endNode(), osg::VRMLAppearanceDesc::endNode(), osg::VRMLGeometryObjectDesc::endNode(), osg::VRMLGeometryPointSetDesc::endNode(), osg::VRMLGeometryDesc::endNode(), osg::VRMLShapeDesc::endNode(), osg::VRMLFile::endNode(), fcptrAttributeMap(), osg::TextVectorFace::fillGeo(), osg::Surface::forceTessellate(), osg::ClusterWindow::frameInit(), getDefaultMaterial(), getDefaultUnlitMaterial(), getOrAddChunk(), osg::Surface::handleGL(), osg::SimpleSceneManager::highlightChanged(), osg::TextureChunk::imageContentChanged(), osg::XWindow::init(), osg::DVRSimpleLUTShader::initDependentTexture(), osg::SimpleSceneManager::initialize(), osg::FBOViewport::initialize(), osg::DVRSimpleLUTShader::initialize(), osg::SimpleStatisticsForeground::initText(), osg::Node::insertChild(), osg::Window::insertPort(), osg::Node::invalidateVolume(), osg::ClusterWindow::loadCalibration(), osg::ClusterWindow::loadFilter(), osg::ProxyGroup::loadProc(), makeBox(), makeBoxGeo(), makeConicalFrustum(), makeConicalFrustumGeo(), makeExtrusion(), osg::TextPixmapFace::makeImage(), makeLatLongSphere(), makeLatLongSphereGeo(), osg::TextVectorFace::makeNode(), osg::TextTXFFace::makeNode(), makeNodeFor(), makePlane(), makePlaneGeo(), makeSphere(), makeSphereGeo(), osg::SimpleTexturedMaterial::makeState(), osg::SimpleMaterial::makeState(), osg::PhongMaterial::makeState(), osg::FresnelMaterial::makeState(), osg::BrickSet::makeTexture(), makeTorus(), makeTorusGeo(), osg::Geometry::merge(), osg::Geometry::merge0(), osg::Geometry::merge1(), osg::Geometry::merge2(), osg::Geometry::merge3(), osg::Geometry::merge4(), osg::Geometry::merge5(), osg::Geometry::merge6(), mergeRGBA(), modifyMaterial(), osg::VertexProgramChunk::onCreate(), osg::TextureChunk::onCreate(), osg::Surface::onCreate(), osg::SHLChunk::onCreate(), osg::Geometry::onCreate(), osg::FragmentProgramChunk::onCreate(), osg::CubeTextureChunk::onCreate(), osg::Surface::onDestroy(), osg::Geometry::onDestroy(), osg::SimpleMaterial::prepareLocalChunks(), osg::PhongMaterial::prepareLocalChunks(), osg::FresnelMaterial::prepareLocalChunks(), osg::TextTXFFace::prepareTexture(), osg::MergeGraphOp::processGeometries(), osg::MergeGraphOp::processGroups(), osg::MergeGraphOp::processTransformations(), osg::RAWSceneFileType::read(), osg::OFFSceneFileType::read(), osg::OBJSceneFileType::read(), osg::ImageFileHandler::read(), osg::DATImageFileType::read(), osg::Surface::readfromtso(), osg::OBJSceneFileType::readMTL(), osg::SimpleTexturedMaterial::rebuildState(), osg::SimpleMaterial::rebuildState(), osg::PhongMaterial::rebuildState(), osg::FresnelMaterial::rebuildState(), osg::RemoteAspect::receiveSync(), osg::FBOViewport::render(), osg::VerifyGraphOp::repairGeometry(), osg::Node::replaceChild(), osg::Node::replaceChildBy(), osg::Window::resize(), osg::Window::resizeGL(), osg::ImageScaler::scale(), osg::Image::scale(), osg::SortFirstWindow::serverRender(), osg::MultiDisplayWindow::serverRender(), osg::CameraDecoratorBase::setBeacon(), osg::SimpleSceneManager::setCamera(), osg::Particles::setColors(), osg::Geometry::setColors(), osg::RegisterCombinersChunk::setCombinerColors(), osg::RegisterCombinersChunk::setConstantColors(), osg::Surface::setControlPoints(), osg::CameraDecoratorBase::setFar(), osg::SimpleSceneManager::setHeadlight(), osg::Geometry::setIndices(), osg::Geometry::setLengths(), osg::ShaderParameterAccess::setMParameter(), osg::CameraDecoratorBase::setNear(), osg::Particles::setNormals(), osg::Geometry::setNormals(), osg::ShaderParameterAccess::setParameter(), osg::Particles::setPositions(), osg::Geometry::setPositions(), osg::SimpleSceneManager::setRoot(), osg::Geometry::setSecondaryColors(), osg::Particles::setSecPositions(), setTestCubeImages(), osg::Geometry::setTexCoords(), osg::Geometry::setTexCoords1(), osg::Geometry::setTexCoords2(), osg::Geometry::setTexCoords3(), osg::Geometry::setTexCoords4(), osg::Geometry::setTexCoords5(), osg::Geometry::setTexCoords6(), osg::Geometry::setTexCoords7(), osg::Surface::setTextureControlPoints(), osg::Geometry::setTypes(), osg::SimpleSceneManager::showAll(), osg::SplitGraphOp::splitNode(), splitRGBA(), osg::ProxyGroup::startLoading(), osg::ExtrusionSurface::storeMaps(), stringAttributeMap(), osg::AttachmentContainer::subAttachment(), osg::Node::subChild(), osg::Image::swapDataEndian(), osg::SplitGraphOp::traverse(), osg::VerifyGraphOp::traverseEnter(), osg::SplitGraphOp::traverseLeave(), osg::PruneGraphOp::traverseLeave(), osg::GeoTypeGraphOp::travNodeEnter(), osg::Navigator::updateCameraTransformation(), osg::ProjectionCameraDecorator::updateData(), osg::DVRSimpleLUTShader::updateDependentTexture(), osg::Surface::updateError(), osg::ClusterWindow::updateFilter(), osg::ColorDisplayFilter::updateFilterValues(), osg::FresnelMaterial::updateFresnel(), osg::DisplayCalibration::updateGamma(), osg::SimpleSceneManager::updateHighlight(), osg::Geometry::updateLowHighIndices(), osg::DisplayCalibration::updateMatrix(), osg::CoredNodePtr< Core >::updateNode(), osg::MultiDisplayWindow::updateViewport(), osg::Node::updateVolume(), osg::SimpleSceneManager::useOpenSGLogo(), osg::VerifyGraphOp::verifyGeometry(), osg::VerifyGraphOp::verifyIndexMap(), osg::AttachmentContainer::~AttachmentContainer(), osg::Node::~Node(), and osg::Particles::~Particles().
00283 { 00284 beginEditCP(objectP.node(), whichField, origin); 00285 beginEditCP(objectP.core(), whichField, origin); 00286 }
| void osg::endEditCP | ( | const CoredNodePtr< Core > & | objectP, | |
| BitVector | whichField = FieldBits ::AllFields, |
|||
| UInt32 | origin = ChangedOrigin::External | |||
| ) | [inline] |
Definition at line 289 of file OSGCoredNodePtr.inl.
References osg::CoredNodePtr< Core >::core(), and osg::CoredNodePtrBase::node().
Referenced by osg::DVRSimpleLUTShader::activate(), osg::DVRIsoShader::activate(), osg::DVRIsoShader::activate_FragmentProgramShading(), osg::FatBorderChunk::activateWithFragmentBasedLighting(), osg::FatBorderChunk::activateWithStandardLighting(), osg::SharePtrGraphOp::addAttachmentParent(), osg::Node::addChild(), osg::Window::addPort(), osg::TextTXFFace::addToGeom(), osg::MakeTransparentGraphOp::applyTransparency(), osg::VRMLViewpointDesc::beginNode(), osg::VRMLInlineDesc::beginNode(), osg::VRMLGroupDesc::beginNode(), osg::VRMLSwitchDesc::beginNode(), osg::VRMLLODDesc::beginNode(), osg::VRMLGeometryPointSetDesc::beginNode(), osg::VRMLGeometryDesc::beginNode(), osg::VRMLShapeDesc::beginNode(), osg::VRMLNodeDesc::beginNode(), osg::VRMLFile::beginNode(), osg::OSGLoader::beginNode(), blendImage(), osg::BrickSet::buildBrickTextures(), osg::Surface::buildSurface(), calcFaceNormals(), calcFaceNormalsGeo(), calcVertexNormals(), calcVertexNormalsGeo(), calcVertexTangents(), calcVertexTexCoords(), osg::TextureChunk::changed(), osg::Surface::changed(), osg::SimpleTexturedMaterial::changed(), osg::SHLChunk::changed(), osg::ProxyGroup::changed(), osg::Node::changed(), osg::Geometry::changed(), osg::FresnelMaterial::changed(), osg::DVRVolumeTexture::changed(), osg::ComponentTransform::changed(), osg::BINLoader::chargeFieldContainers(), osg::TextureGrabBackground::clear(), osg::SharePtrGraphOp::clearAttachmentParent(), osg::MultiDisplayWindow::clientInit(), osg::SortFirstWindow::clientPreSync(), osg::ClusterWindow::clientSwap(), osg::Surface::clone(), osg::Geometry::clone(), cloneTree(), osg::SharePtrGraphOp::compareFCs(), create2DPreIntegrationLUT(), osg::PhongMaterial::createChunkMaterial(), osg::DisplayCalibration::createCMViewports(), createConvexPrimitives(), osg::Image::createData(), osg::ResolutionDisplayFilter::createFilter(), osg::DistortionDisplayFilter::createFilter(), osg::ColorDisplayFilter::createFilter(), osg::PhongMaterial::createFragmentProgram(), osg::ExtrusionSurface::createGeometry(), osg::DisplayFilterForeground::DisplayFilterGroup::createGrid(), createNormalizationCubeMap(), createNormalMapFromBump(), createNormalVolume(), createOptimizedPrimitives(), createPhongTexture(), createPhongVolume(), createSharedIndex(), createSingleIndex(), deepClone(), deepCloneAttachments(), deepCloneTree(), osg::DisplayFilterForeground::DisplayFilterGroup::DisplayFilterGroup(), osg::TextureGrabForeground::draw(), osg::ProxyGroup::draw(), osg::FileGrabForeground::draw(), osg::DisplayFilterForeground::draw(), osg::DVRVolume::DVRVolume(), osg::FieldContainer::endEditX(), osg::VRMLFile::endField(), osg::OSGLoader::endField(), osg::VRMLInlineDesc::endNode(), osg::VRMLExtrusionDesc::endNode(), osg::VRMLImageTextureDesc::endNode(), osg::VRMLTextureTransformDesc::endNode(), osg::VRMLMaterialDesc::endNode(), osg::VRMLAppearanceDesc::endNode(), osg::VRMLGeometryObjectDesc::endNode(), osg::VRMLGeometryPointSetDesc::endNode(), osg::VRMLGeometryDesc::endNode(), osg::VRMLShapeDesc::endNode(), osg::VRMLFile::endNode(), fcptrAttributeMap(), osg::TextVectorFace::fillGeo(), osg::Surface::forceTessellate(), osg::ClusterWindow::frameInit(), getDefaultMaterial(), getDefaultUnlitMaterial(), getOrAddChunk(), osg::Surface::handleGL(), osg::SimpleSceneManager::highlightChanged(), osg::TextureChunk::imageContentChanged(), osg::XWindow::init(), osg::DVRSimpleLUTShader::initDependentTexture(), osg::SimpleSceneManager::initialize(), osg::FBOViewport::initialize(), osg::DVRSimpleLUTShader::initialize(), osg::SimpleStatisticsForeground::initText(), osg::Node::insertChild(), osg::Window::insertPort(), osg::Node::invalidateVolume(), osg::ClusterWindow::loadCalibration(), osg::ClusterWindow::loadFilter(), osg::ProxyGroup::loadProc(), makeBox(), makeBoxGeo(), makeConicalFrustum(), makeConicalFrustumGeo(), makeExtrusion(), osg::TextPixmapFace::makeImage(), makeLatLongSphere(), makeLatLongSphereGeo(), osg::TextVectorFace::makeNode(), osg::TextTXFFace::makeNode(), makeNodeFor(), makePlane(), makePlaneGeo(), makeSphere(), makeSphereGeo(), osg::SimpleTexturedMaterial::makeState(), osg::SimpleMaterial::makeState(), osg::PhongMaterial::makeState(), osg::FresnelMaterial::makeState(), osg::BrickSet::makeTexture(), makeTorus(), makeTorusGeo(), osg::Geometry::merge(), osg::Geometry::merge0(), osg::Geometry::merge1(), osg::Geometry::merge2(), osg::Geometry::merge3(), osg::Geometry::merge4(), osg::Geometry::merge5(), osg::Geometry::merge6(), mergeRGBA(), modifyMaterial(), osg::VertexProgramChunk::onCreate(), osg::TextureChunk::onCreate(), osg::Surface::onCreate(), osg::SHLChunk::onCreate(), osg::Geometry::onCreate(), osg::FragmentProgramChunk::onCreate(), osg::CubeTextureChunk::onCreate(), osg::Surface::onDestroy(), osg::Geometry::onDestroy(), osg::SimpleMaterial::prepareLocalChunks(), osg::PhongMaterial::prepareLocalChunks(), osg::FresnelMaterial::prepareLocalChunks(), osg::TextTXFFace::prepareTexture(), osg::MergeGraphOp::processGeometries(), osg::MergeGraphOp::processGroups(), osg::MergeGraphOp::processTransformations(), osg::RAWSceneFileType::read(), osg::OFFSceneFileType::read(), osg::OBJSceneFileType::read(), osg::ImageFileHandler::read(), osg::DATImageFileType::read(), osg::Surface::readfromtso(), osg::OBJSceneFileType::readMTL(), osg::SimpleTexturedMaterial::rebuildState(), osg::SimpleMaterial::rebuildState(), osg::PhongMaterial::rebuildState(), osg::FresnelMaterial::rebuildState(), osg::RemoteAspect::receiveSync(), osg::FBOViewport::render(), osg::VerifyGraphOp::repairGeometry(), osg::Node::replaceChild(), osg::Node::replaceChildBy(), osg::Window::resize(), osg::Window::resizeGL(), osg::ImageScaler::scale(), osg::Image::scale(), osg::SortFirstWindow::serverRender(), osg::MultiDisplayWindow::serverRender(), osg::CameraDecoratorBase::setBeacon(), osg::SimpleSceneManager::setCamera(), osg::Particles::setColors(), osg::Geometry::setColors(), osg::RegisterCombinersChunk::setCombinerColors(), osg::RegisterCombinersChunk::setConstantColors(), osg::Surface::setControlPoints(), osg::CameraDecoratorBase::setFar(), osg::SimpleSceneManager::setHeadlight(), osg::Geometry::setIndices(), osg::Geometry::setLengths(), osg::ShaderParameterAccess::setMParameter(), osg::CameraDecoratorBase::setNear(), osg::Particles::setNormals(), osg::Geometry::setNormals(), osg::ShaderParameterAccess::setParameter(), osg::Particles::setPositions(), osg::Geometry::setPositions(), osg::SimpleSceneManager::setRoot(), osg::Particles::setSecPositions(), setTestCubeImages(), osg::Geometry::setTexCoords(), osg::Surface::setTextureControlPoints(), osg::Geometry::setTypes(), osg::SimpleSceneManager::showAll(), osg::SplitGraphOp::splitNode(), splitRGBA(), osg::ProxyGroup::startLoading(), osg::ExtrusionSurface::storeMaps(), stringAttributeMap(), osg::AttachmentContainer::subAttachment(), osg::Node::subChild(), osg::Image::swapDataEndian(), osg::SplitGraphOp::traverse(), osg::VerifyGraphOp::traverseEnter(), osg::SplitGraphOp::traverseLeave(), osg::PruneGraphOp::traverseLeave(), osg::GeoTypeGraphOp::travNodeEnter(), osg::Navigator::updateCameraTransformation(), osg::ProjectionCameraDecorator::updateData(), osg::DVRSimpleLUTShader::updateDependentTexture(), osg::Surface::updateError(), osg::ClusterWindow::updateFilter(), osg::ColorDisplayFilter::updateFilterValues(), osg::FresnelMaterial::updateFresnel(), osg::DisplayCalibration::updateGamma(), osg::SimpleSceneManager::updateHighlight(), osg::Geometry::updateLowHighIndices(), osg::DisplayCalibration::updateMatrix(), osg::CoredNodePtr< Core >::updateNode(), osg::MultiDisplayWindow::updateViewport(), osg::Node::updateVolume(), osg::SimpleSceneManager::useOpenSGLogo(), osg::VerifyGraphOp::verifyGeometry(), osg::VerifyGraphOp::verifyIndexMap(), osg::AttachmentContainer::~AttachmentContainer(), osg::CPEditor::~CPEditor(), osg::Node::~Node(), and osg::Particles::~Particles().
00292 { 00293 endEditCP(objectP.node(), whichField, origin); 00294 endEditCP(objectP.core(), whichField, origin); 00295 }
| std::ostream & osg::operator<< | ( | std::ostream & | str, | |
| const CoredNodePtr< Core > & | cnp | |||
| ) | [inline] |
Definition at line 301 of file OSGCoredNodePtr.inl.
References osg::CoredNodePtr< Core >::core(), and osg::CoredNodePtrBase::node().
00303 { 00304 str << "CoredNodePtr<" << Core::getClassType().getName() 00305 << ">: Node: "; 00306 if(cnp.node()) 00307 { 00308 str << cnp.node(); 00309 } 00310 else 00311 { 00312 str << "(unset)"; 00313 } 00314 00315 str << " Core: "; 00316 if(cnp.node() && cnp.core()) 00317 { 00318 str << cnp.core(); 00319 } 00320 else 00321 { 00322 str << "(unset)"; 00323 } 00324 00325 return str; 00326 }
| FCPtrAttributeMapPtr osg::fcptrAttributeMap | ( | AttachmentContainerPtr | container | ) |
Gets the string-to-field container pointer (FCPtr) attribute map associated with the given attachment container. If the container does not already have a string-to-FCPtr attribute map attached, a new one is created and attached as a side effect of this function. Otherwise, the existing string-to-FCPtr attribute map is returned. If container is NullFC, then NullFC is returned. Otherwise, the newly created and attached OSG::FCPtrAttributeMapPtr is returned.
Definition at line 195 of file OSGFCPtrAttributeMap.cpp.
References osg::AttachmentContainer::AttachmentsFieldMask, beginEditCP(), osg::FCPtrAttributeMapBase::create(), osg::AttachmentPtr::dcast(), endEditCP(), FFATAL, osg::FCPtrAttributeMapBase::getClassType(), osg::FieldContainer::getGroupId(), and NullFC.
00196 { 00197 if ( NullFC == container ) 00198 { 00199 FFATAL(("stringAttributeMap: no container?!?\n")); 00200 return NullFC; 00201 } 00202 00203 FCPtrAttributeMapPtr attr_map = NullFC; 00204 AttachmentPtr attach_ptr = 00205 container->findAttachment(FCPtrAttributeMap::getClassType().getGroupId()); 00206 00207 if ( NullFC == attach_ptr ) 00208 { 00209 attr_map = FCPtrAttributeMap::create(); 00210 beginEditCP(container, AttachmentContainer::AttachmentsFieldMask); 00211 container->addAttachment(attr_map); 00212 endEditCP(container, AttachmentContainer::AttachmentsFieldMask); 00213 } 00214 else 00215 { 00216 attr_map = FCPtrAttributeMapPtr::dcast(attach_ptr); 00217 00218 if ( NullFC == attr_map ) 00219 { 00220 FFATAL(("fcptrAttributeMap: FCPtrAttributeMap Attachment is not castable to FCPtrAttributeMap?!?\n")); 00221 return NullFC; 00222 } 00223 } 00224 00225 return attr_map; 00226 }
| osg::OSG_DLLEXPORT_SFIELD_DEF1 | ( | FCPtrAttributeMapPtr | , | |
| OSG_SYSTEMLIB_DLLTMPLMAPPING | ||||
| ) |
| osg::OSG_PROPERTY_SPEC | ( | FIELDCONTAINER_ERROR | , | |
| Pointer | ||||
| ) |
| osg::OSG_PROPERTY_SPEC | ( | FIELDCONTAINER_ERROR | , | |
| ConstPointer | ||||
| ) |
| FieldContainerPtr osg::deepClone | ( | const FieldContainerPtr & | src, | |
| const std::vector< std::string > & | share | |||
| ) |
Definition at line 719 of file OSGNode.cpp.
References addRefCP(), beginEditCP(), osg::FieldContainerFactory::createFieldContainer(), osg::AttachmentPtr::dcast(), osg::AttachmentContainerPtr::dcast(), deepClone(), endEditCP(), osg::FieldContainerFactory::findType(), osg::Field::getCardinality(), osg::TypeBase::getCName(), osg::FieldDescription::getCName(), osg::FieldContainerType::getFieldDescription(), osg::FieldDescription::getFieldMask(), osg::TypeBase::getName(), osg::FieldContainerType::getNumFieldDescs(), osg::Field::getType(), osg::SField< FieldTypeT, fieldNameSpace >::getValue(), osg::FieldDescription::isInternal(), osg::FieldType::MULTI_FIELD, NullFC, osgMin(), osg::Field::setAbstrValue(), osg::FieldType::SINGLE_FIELD, osg::IDString::str(), and osg::FieldContainerFactory::the().
Referenced by osg::MakeTransparentGraphOp::traverse().
00721 { 00722 if(src == NullFC) 00723 return NullFC; 00724 00725 const FieldContainerType &type = src->getType(); 00726 00727 //FDEBUG(("deepClone: fieldcontainertype = %s\n", type.getCName())); 00728 00729 FieldContainerPtr dst = FieldContainerFactory::the()->createFieldContainer(type.getName().str()); 00730 00731 //UInt32 fcount = type.getNumFieldDescs(); 00732 // ignore dynamic fields. 00733 UInt32 fcount = osgMin(type.getNumFieldDescs(), dst->getType().getNumFieldDescs()); 00734 00735 00736 for(UInt32 i=1;i <= fcount;++i) 00737 { 00738 const FieldDescription* fdesc = type.getFieldDescription(i); 00739 00740 if(fdesc->isInternal()) 00741 continue; 00742 00743 BitVector mask = fdesc->getFieldMask(); 00744 00745 Field *src_field = src->getField(i); 00746 Field *dst_field = dst->getField(i); 00747 00748 const FieldType &ftype = src_field->getType(); 00749 00750 std::string fieldType = ftype.getName().str(); 00751 00752 // attachements 00753 if(strcmp(fdesc->getCName(), "attachments") == 0) 00754 { 00755 SFAttachmentMap *amap = (SFAttachmentMap *) src_field; 00756 00757 AttachmentMap::const_iterator mapIt = amap->getValue().begin(); 00758 AttachmentMap::const_iterator mapEnd = amap->getValue().end(); 00759 00760 beginEditCP(dst, mask); 00761 for(; mapIt != mapEnd; ++mapIt) 00762 { 00763 FieldContainerPtr fc = mapIt->second; 00764 00765 bool shareit = false; 00766 for(UInt32 k=0;k<share.size();++k) 00767 { 00768 FieldContainerType *fct = FieldContainerFactory::the() 00769 ->findType(share[k].c_str()); 00770 if(fc != NullFC && fct != NULL && 00771 fc->getType().isDerivedFrom(*fct)) 00772 { 00773 shareit = true; 00774 break; 00775 } 00776 } 00777 00778 if(!shareit) 00779 fc = OSG::deepClone(fc, share); 00780 00781 if(fc != NullFC) 00782 AttachmentContainerPtr::dcast(dst)->addAttachment(AttachmentPtr::dcast(fc)); 00783 } 00784 endEditCP(dst, mask); 00785 continue; 00786 } 00787 00788 // field 00789 if(strstr(ftype.getCName(), "Ptr") == NULL) 00790 { 00791 //FDEBUG(("deepClone: fieldname = %s fieldType = %s\n", fdesc->getCName(), fieldType.c_str())); 00792 beginEditCP(dst, mask); 00793 dst_field->setAbstrValue(*src_field); 00794 endEditCP(dst, mask); 00795 } 00796 else // field with pointer 00797 { 00798 if(src_field->getCardinality() == FieldType::SINGLE_FIELD) 00799 { 00800 FieldContainerPtr fc = ((SFFieldContainerPtr *) src_field)->getValue(); 00801 00802 bool shareit = false; 00803 for(UInt32 k=0;k<share.size();++k) 00804 { 00805 FieldContainerType *fct = FieldContainerFactory::the() 00806 ->findType(share[k].c_str()); 00807 if(fc != NullFC && fct != NULL && 00808 fc->getType().isDerivedFrom(*fct)) 00809 { 00810 shareit = true; 00811 break; 00812 } 00813 } 00814 00815 if(!shareit) 00816 fc = OSG::deepClone(fc, share); 00817 00818 if(fc != NullFC) 00819 { 00820 // increment reference counter! 00821 addRefCP(fc); 00822 beginEditCP(dst); 00823 ((SFFieldContainerPtr *) dst_field)->setValue(fc); 00824 endEditCP(dst); 00825 } 00826 } 00827 else if(src_field->getCardinality() == FieldType::MULTI_FIELD) 00828 { 00829 beginEditCP(dst, mask); 00830 for(UInt32 j=0;j < ((MFFieldContainerPtr*)src_field)->size();++j) 00831 { 00832 FieldContainerPtr fc = (*(((MFFieldContainerPtr *)src_field)))[j]; 00833 00834 bool shareit = false; 00835 for(UInt32 k=0;k<share.size();++k) 00836 { 00837 FieldContainerType *fct = FieldContainerFactory::the() 00838 ->findType(share[k].c_str()); 00839 if(fc != NullFC && fct != NULL && 00840 fc->getType().isDerivedFrom(*fct)) 00841 { 00842 shareit = true; 00843 break; 00844 } 00845 } 00846 00847 if(!shareit) 00848 fc = OSG::deepClone(fc, share); 00849 00850 if(fc != NullFC) 00851 { 00852 // increment reference counter! 00853 addRefCP(fc); 00854 ((MFFieldContainerPtr *) dst_field)->push_back(fc); 00855 } 00856 } 00857 endEditCP(dst, mask); 00858 } 00859 } 00860 } 00861 return dst; 00862 }
| FieldContainerPtr osg::deepClone | ( | const FieldContainerPtr & | src, | |
| const std::vector< UInt16 > & | shareGroupIds | |||
| ) |
Definition at line 864 of file OSGNode.cpp.
References deepClone(), osg::FieldContainerFactory::findGroupName(), and osg::FieldContainerFactory::the().
00866 { 00867 std::vector<std::string> share; 00868 share.reserve(shareGroupIds.size()); 00869 for(UInt32 i=0;i<shareGroupIds.size();++i) 00870 { 00871 const char *name = FieldContainerFactory::the()->findGroupName(shareGroupIds[i]); 00872 if(name != NULL) 00873 share.push_back(name); 00874 } 00875 return OSG::deepClone(src, share); 00876 }
| FieldContainerPtr osg::deepClone | ( | const FieldContainerPtr & | src, | |
| const std::string & | shareString | |||
| ) |
Definition at line 880 of file OSGNode.cpp.
Referenced by deepClone(), deepCloneAttachments(), and deepCloneTree().
00882 { 00883 std::vector<std::string> share; 00884 00885 // parse comma separated names. 00886 std::string::const_iterator nextComma; 00887 std::string::const_iterator curPos = shareString.begin(); 00888 while(curPos < shareString.end()) 00889 { 00890 nextComma = std::find(curPos, shareString.end(), ','); 00891 // strip leading spaces 00892 curPos = std::find_if(curPos, nextComma, std::not1(std::ptr_fun(isspace))); 00893 share.push_back(std::string(curPos, nextComma)); 00894 if(nextComma != shareString.end()) 00895 curPos = ++nextComma; 00896 else 00897 break; 00898 } 00899 00900 return OSG::deepClone(src, share); 00901 }
| void osg::deepCloneAttachments | ( | const AttachmentContainerPtr & | src, | |
| AttachmentContainerPtr | dst, | |||
| const std::vector< std::string > & | share | |||
| ) |
Definition at line 904 of file OSGNode.cpp.
References osg::AttachmentContainer::AttachmentsFieldMask, beginEditCP(), osg::AttachmentPtr::dcast(), deepClone(), endEditCP(), osg::FieldContainerFactory::findType(), osg::SField< FieldTypeT, fieldNameSpace >::getValue(), NullFC, and osg::FieldContainerFactory::the().
Referenced by deepCloneTree().
00907 { 00908 SFAttachmentMap *amap = (SFAttachmentMap *) src->getSFAttachments(); 00909 00910 AttachmentMap::const_iterator mapIt = amap->getValue().begin(); 00911 AttachmentMap::const_iterator mapEnd = amap->getValue().end(); 00912 00913 beginEditCP(dst, AttachmentContainer::AttachmentsFieldMask); 00914 for(; mapIt != mapEnd; ++mapIt) 00915 { 00916 FieldContainerPtr fc = mapIt->second; 00917 00918 bool shareit = false; 00919 for(UInt32 k=0;k<share.size();++k) 00920 { 00921 FieldContainerType *fct = FieldContainerFactory::the() 00922 ->findType(share[k].c_str()); 00923 if(fc != NullFC && fct != NULL && 00924 fc->getType().isDerivedFrom(*fct)) 00925 { 00926 shareit = true; 00927 break; 00928 } 00929 } 00930 00931 if(!shareit) 00932 fc = OSG::deepClone(fc, share); 00933 00934 if(fc != NullFC) 00935 dst->addAttachment(AttachmentPtr::dcast(fc)); 00936 } 00937 endEditCP(dst, AttachmentContainer::AttachmentsFieldMask); 00938 }
| void osg::deepCloneAttachments | ( | const AttachmentContainerPtr & | src, | |
| AttachmentContainerPtr | dst, | |||
| const std::vector< UInt16 > & | shareGroupIds | |||
| ) |
Definition at line 940 of file OSGNode.cpp.
References deepCloneAttachments(), osg::FieldContainerFactory::findGroupName(), and osg::FieldContainerFactory::the().
00943 { 00944 std::vector<std::string> share; 00945 share.reserve(shareGroupIds.size()); 00946 for(UInt32 i=0;i<shareGroupIds.size();++i) 00947 { 00948 const char *name = FieldContainerFactory::the() 00949 ->findGroupName(shareGroupIds[i]); 00950 if(name != NULL) 00951 share.push_back(name); 00952 } 00953 OSG::deepCloneAttachments(src, dst, share); 00954 }
| void osg::deepCloneAttachments | ( | const NodePtr & | src, | |
| NodePtr & | dst, | |||
| const std::string & | shareString | |||
| ) |
Definition at line 958 of file OSGNode.cpp.
Referenced by deepCloneAttachments().
00960 { 00961 std::vector<std::string> share; 00962 00963 // parse comma separated names. 00964 std::string::const_iterator nextComma; 00965 std::string::const_iterator curPos = shareString.begin(); 00966 while(curPos < shareString.end()) 00967 { 00968 nextComma = std::find(curPos, shareString.end(), ','); 00969 // strip leading spaces 00970 curPos = std::find_if(curPos, nextComma, std::not1(std::ptr_fun(isspace))); 00971 share.push_back(std::string(curPos, nextComma)); 00972 if(nextComma != shareString.end()) 00973 curPos = ++nextComma; 00974 else 00975 break; 00976 } 00977 00978 OSG::deepCloneAttachments(src, dst, share); 00979 }
Definition at line 982 of file OSGNode.cpp.
References beginEditCP(), osg::Node::create(), osg::AttachmentContainerPtr::dcast(), deepClone(), deepCloneAttachments(), endEditCP(), osg::NodePtr::getCore(), and NullFC.
00984 { 00985 NodePtr dst = NullFC; 00986 00987 if(src != NullFC) 00988 { 00989 dst = Node::create(); 00990 deepCloneAttachments(src, dst, share); 00991 00992 beginEditCP(dst); 00993 { 00994 dst->setActive(src->getActive()); 00995 dst->setTravMask(src->getTravMask()); 00996 dst->setCore(NodeCorePtr::dcast(OSG::deepClone(src->getCore(), share))); 00997 00998 for(UInt32 i = 0; i < src->getNChildren(); i++) 00999 dst->addChild(deepCloneTree(src->getChild(i), share)); 01000 } 01001 endEditCP (dst); 01002 } 01003 01004 return dst; 01005 }
Definition at line 1007 of file OSGNode.cpp.
References deepCloneTree(), osg::FieldContainerFactory::findGroupName(), and osg::FieldContainerFactory::the().
01009 { 01010 std::vector<std::string> share; 01011 share.reserve(shareGroupIds.size()); 01012 for(UInt32 i=0;i<shareGroupIds.size();++i) 01013 { 01014 const char *name = FieldContainerFactory::the()->findGroupName(shareGroupIds[i]); 01015 if(name != NULL) 01016 share.push_back(name); 01017 } 01018 return OSG::deepCloneTree(src, share); 01019 }
Definition at line 1023 of file OSGNode.cpp.
Referenced by deepCloneTree().
01025 { 01026 std::vector<std::string> share; 01027 01028 // parse comma separated names. 01029 std::string::const_iterator nextComma; 01030 std::string::const_iterator curPos = shareString.begin(); 01031 while(curPos < shareString.end()) 01032 { 01033 nextComma = std::find(curPos, shareString.end(), ','); 01034 // strip leading spaces 01035 curPos = std::find_if(curPos, nextComma, std::not1(std::ptr_fun(isspace))); 01036 share.push_back(std::string(curPos, nextComma)); 01037 if(nextComma != shareString.end()) 01038 curPos = ++nextComma; 01039 else 01040 break; 01041 } 01042 01043 return OSG::deepCloneTree(src, share); 01044 }
| NodePtr osg::makeCoredNode | ( | typename Core::Ptr * | coreP = NULL |
) | [inline] |
Definition at line 66 of file OSGNodePtr.h.
References beginEditCP(), and endEditCP().
00067 { 00068 NodePtr n = Node::create(); 00069 typename Core::Ptr c = Core::create(); 00070 00071 beginEditCP(n, Node::CoreFieldMask); 00072 n->setCore(c); 00073 endEditCP(n, Node::CoreFieldMask); 00074 00075 if(coreP != NULL) 00076 *coreP = c; 00077 00078 return n; 00079 }
| osg::OSG_FC_DLLEXPORT_DEF | ( | SimpleAttachment | , | |
| NameAttachmentDesc | , | |||
| OSG_SYSTEMLIB_DLLTMPLMAPPING | ||||
| ) |
| osg::OSG_FC_DLLEXPORT_DEF | ( | SimpleAttachment | , | |
| VoidPAttachmentDesc | , | |||
| OSG_SYSTEMLIB_DLLTMPLMAPPING | ||||
| ) |
| StringAttributeMapPtr osg::stringAttributeMap | ( | AttachmentContainerPtr | container | ) |
Gets the string-to-string attribute map associated with the given attachment container. If the container does not already have a string-to-string attribute map attached, a new one is created and attached as a side effect of this function. Otherwise, the existing string-to-string attribute map is returned. If container is NullFC, then NullFC is returned. Otherwise, the newly created and attached OSG::StringAttributeMapPtr is returned.
Definition at line 195 of file OSGStringAttributeMap.cpp.
References osg::AttachmentContainer::AttachmentsFieldMask, beginEditCP(), osg::StringAttributeMapBase::create(), osg::AttachmentPtr::dcast(), endEditCP(), FFATAL, osg::StringAttributeMapBase::getClassType(), osg::FieldContainer::getGroupId(), and NullFC.
00196 { 00197 if ( NullFC == container ) 00198 { 00199 FFATAL(("stringAttributeMap: no container?!?\n")); 00200 return NullFC; 00201 } 00202 00203 StringAttributeMapPtr attr_map = NullFC; 00204 AttachmentPtr attach_ptr = 00205 container->findAttachment(StringAttributeMap::getClassType().getGroupId()); 00206 00207 if ( NullFC == attach_ptr ) 00208 { 00209 attr_map = StringAttributeMap::create(); 00210 beginEditCP(container, AttachmentContainer::AttachmentsFieldMask); 00211 container->addAttachment(attr_map); 00212 endEditCP(container, AttachmentContainer::AttachmentsFieldMask); 00213 } 00214 else 00215 { 00216 attr_map = StringAttributeMapPtr::dcast(attach_ptr); 00217 00218 if ( NullFC == attr_map ) 00219 { 00220 FFATAL(("stringAttributeMap: StringAttributeMap Attachment is not castable to StringAttributeMap?!?\n")); 00221 return NullFC; 00222 } 00223 } 00224 00225 return attr_map; 00226 }
| osg::OSG_DLLEXPORT_SFIELD_DEF1 | ( | StringAttributeMapPtr | , | |
| OSG_SYSTEMLIB_DLLTMPLMAPPING | ||||
| ) |
| osg::OSG_FIELD_CONTAINER_INL_TMPL_DEF | ( | SimpleAttachment | , | |
| AttachmentDescT | , | |||
| PtrType | ||||
| ) |
| osg::OSG_FIELD_CONTAINER_ST_INL_TMPL_DEF | ( | DynFieldAttachment | , | |
| AttachmentDescT | , | |||
| PtrType | ||||
| ) |
| std::ostream& osg::operator<< | ( | std::ostream & | os, | |
| const FCPtr< BasePtrTypeT, FieldContainerTypeT > & | fc | |||
| ) | [inline] |
Definition at line 51 of file OSGFieldContainerPtrDepImpl.inl.
References NullFC.
00054 { 00055 if(fc == NullFC) 00056 { 00057 os << std::hex << "FCPtr 0x" << &fc << std::dec << ":NullFC"; 00058 } 00059 else 00060 { 00061 os << std::hex 00062 << "FCPtr 0x" 00063 << &fc 00064 << std::dec 00065 << ":" 00066 << fc->getType().getName() 00067 << "Ptr(0x" 00068 << std::hex 00069 << (&(*fc)) 00070 << std::dec 00071 << ")"; 00072 } 00073 00074 return os; 00075 }
| OutPtrT osg::dynamic_fcptr_cast | ( | const FieldContainerPtr & | pPtr | ) | [inline] |
| PtrT::StoredObjectType* osg::getCPtr | ( | PtrT & | ptr | ) | [inline] |
Definition at line 214 of file OSGFieldContainerPtrFuncsImpl.h.
Referenced by osg::Viewport::draw(), osg::ProxyGroup::draw(), VolumeDrawWrapper::drop(), osg::NodePtr::getCPtr(), osg::AttachmentPtr::getCPtr(), osg::AttachmentContainerPtr::getCPtr(), osg::Viewport::render(), osg::FBOViewport::render(), and osg::DrawActionBase::selectVisibles().
| Int32 osg::getRefCount | ( | const PtrT & | ptr | ) | [inline] |
| UInt32 osg::getContainerId | ( | const PtrT & | objectP | ) | [inline] |
| void osg::subRef | ( | const PtrT & | ptr | ) | [inline] |
Definition at line 232 of file OSGFieldContainerPtrFuncsImpl.h.
References subRefCP().
Referenced by clearRefPVector().
00233 { 00234 subRefCP(ptr); 00235 }
| void osg::addRef | ( | const PtrT & | ptr | ) | [inline] |
Definition at line 238 of file OSGFieldContainerPtrFuncsImpl.h.
References subRefCP().
00239 { 00240 subRefCP(ptr); 00241 }
| bool osg::isGZip | ( | std::istream & | is | ) | [inline] |
Definition at line 55 of file OSGZStream.h.
Referenced by osg::SceneFileHandler::read(), and osg::DATImageFileType::read().
00056 { 00057 const int gz_magic[2] = {0x1f, 0x8b}; 00058 00059 int c1 = (int) is.get(); 00060 if(c1 != gz_magic[0]) 00061 { 00062 is.putback(c1); 00063 return false; 00064 } 00065 00066 int c2 = (int) is.get(); 00067 if(c2 != gz_magic[1]) 00068 { 00069 is.putback(c2); 00070 is.putback(c1); 00071 return false; 00072 } 00073 00074 is.putback(c2); 00075 is.putback(c1); 00076 return true; 00077 }
| osg::OSG_DLLEXPORT_SFIELD_DEF1 | ( | GenericAttPtr | , | |
| OSG_SYSTEMLIB_DLLTMPLMAPPING | ||||
| ) |
| osg::OSG_DLLEXPORT_MFIELD_DEF1 | ( | GenericAttPtr | , | |
| OSG_SYSTEMLIB_DLLTMPLMAPPING | ||||
| ) |
| static UInt32 osg::parseUInt32 | ( | char *& | ptr | ) | [static] |
Definition at line 66 of file OSGBMPImageFileType.cpp.
00067 { 00068 UInt32 result = 00069 (static_cast<UInt32>(static_cast<UInt8>(ptr[0])) << 0) | 00070 (static_cast<UInt32>(static_cast<UInt8>(ptr[1])) << 8) | 00071 (static_cast<UInt32>(static_cast<UInt8>(ptr[2])) << 16) | 00072 (static_cast<UInt32>(static_cast<UInt8>(ptr[3])) << 24); 00073 ptr += 4; 00074 return result; 00075 }
| static UInt16 osg::parseUInt16 | ( | char *& | ptr | ) | [static] |
Definition at line 77 of file OSGBMPImageFileType.cpp.
00078 { 00079 UInt16 result = 00080 (static_cast<UInt32>(static_cast<UInt8>(ptr[0])) << 0) | 00081 (static_cast<UInt32>(static_cast<UInt8>(ptr[1])) << 8); 00082 ptr +=2; 00083 return result; 00084 }
| static bool osg::readBitmapFileHeader | ( | std::istream & | is, | |
| BITMAPFILEHEADER & | header | |||
| ) | [static] |
Definition at line 122 of file OSGBMPImageFileType.cpp.
References osg::BITMAPFILEHEADER::bfOffBits, osg::BITMAPFILEHEADER::bfReserved1, osg::BITMAPFILEHEADER::bfReserved2, osg::BITMAPFILEHEADER::bfSize, osg::BITMAPFILEHEADER::bfType, parseUInt16(), and parseUInt32().
Referenced by osg::BMPImageFileType::read().
00123 { 00124 // Read the header 00125 char buffer[14]; 00126 is.read(buffer, 14); 00127 if (is.gcount() != 14) 00128 return false; 00129 00130 // Parse the header 00131 char *ptr = buffer; 00132 memcpy(header.bfType, ptr, 2); 00133 ptr += 2; 00134 header.bfSize = parseUInt32(ptr); 00135 header.bfReserved1 = parseUInt16(ptr); 00136 header.bfReserved2 = parseUInt16(ptr); 00137 header.bfOffBits = parseUInt32(ptr); 00138 00139 // Check the header 00140 if (memcmp(header.bfType, "BM", 2) != 0) 00141 return false; 00142 00143 return true; 00144 }
| static bool osg::readBitmapInfoHeader | ( | std::istream & | is, | |
| BITMAPINFOHEADER & | infoHeader | |||
| ) | [static] |
Definition at line 146 of file OSGBMPImageFileType.cpp.
References osg::BITMAPINFOHEADER::alphaMask, osg::BITMAPINFOHEADER::biBitCount, osg::BITMAPINFOHEADER::biClrImportant, osg::BITMAPINFOHEADER::biClrUsed, osg::BITMAPINFOHEADER::biCompression, osg::BITMAPINFOHEADER::biHeight, osg::BITMAPINFOHEADER::biPlanes, osg::BITMAPINFOHEADER::biSize, osg::BITMAPINFOHEADER::biSizeImage, osg::BITMAPINFOHEADER::biWidth, osg::BITMAPINFOHEADER::biXPelsPerMeter, osg::BITMAPINFOHEADER::biYPelsPerMeter, osg::BITMAPINFOHEADER::blueMask, osg::BITMAPINFOHEADER::greenMask, parseUInt16(), parseUInt32(), and osg::BITMAPINFOHEADER::redMask.
Referenced by osg::BMPImageFileType::read().
00147 { 00148 // Determine size of the header 00149 char buffer[56]; 00150 is.read(buffer, 4); 00151 if (is.gcount() != 4) 00152 return false; 00153 char *ptr = buffer; 00154 infoHeader.biSize = parseUInt32(ptr); 00155 00156 // Parse the header 00157 if (infoHeader.biSize >= 40) 00158 { 00159 // Read the remaining header 00160 int size = infoHeader.biSize >= 56 ? 56 - 4 : 40 - 4; 00161 is.read(&(buffer[4]), size); 00162 if (is.gcount() != size) 00163 return false; 00164 00165 infoHeader.biWidth = parseUInt32(ptr); 00166 infoHeader.biHeight = parseUInt32(ptr); 00167 infoHeader.biPlanes = parseUInt16(ptr); 00168 infoHeader.biBitCount = parseUInt16(ptr); 00169 infoHeader.biCompression = parseUInt32(ptr); 00170 infoHeader.biSizeImage = parseUInt32(ptr); 00171 infoHeader.biXPelsPerMeter = parseUInt32(ptr); 00172 infoHeader.biYPelsPerMeter = parseUInt32(ptr); 00173 infoHeader.biClrUsed = parseUInt32(ptr); 00174 infoHeader.biClrImportant = parseUInt32(ptr); 00175 00176 if ((infoHeader.biSize >= 56) && (infoHeader.biCompression == 3 /*BI_BITFIELDS*/)) 00177 { 00178 infoHeader.redMask = parseUInt32(ptr); 00179 infoHeader.greenMask = parseUInt32(ptr); 00180 infoHeader.blueMask = parseUInt32(ptr); 00181 infoHeader.alphaMask = parseUInt32(ptr); 00182 } 00183 else 00184 infoHeader.alphaMask = 0; 00185 00186 is.ignore(infoHeader.biSize - size - 4); 00187 } 00188 else if (infoHeader.biSize >= 12) 00189 { 00190 // Read the remaining header 00191 is.read(&(buffer[4]), 12 - 4); 00192 if (is.gcount() != 12 - 4) 00193 return false; 00194 00195 infoHeader.biWidth = parseUInt16(ptr); 00196 infoHeader.biHeight = parseUInt16(ptr); 00197 infoHeader.biPlanes = parseUInt16(ptr); 00198 infoHeader.biBitCount = parseUInt16(ptr); 00199 infoHeader.biCompression = 0; 00200 infoHeader.biSizeImage = 0; 00201 infoHeader.biXPelsPerMeter = 0; 00202 infoHeader.biYPelsPerMeter = 0; 00203 infoHeader.biClrUsed = 0; 00204 infoHeader.biClrImportant = 0; 00205 00206 is.ignore(infoHeader.biSize - 12); 00207 } 00208 else 00209 return false; 00210 00211 // Check header 00212 if ((infoHeader.biBitCount != 1) && 00213 (infoHeader.biBitCount != 4) && 00214 (infoHeader.biBitCount != 8) && 00215 (infoHeader.biBitCount != 16) && 00216 (infoHeader.biBitCount != 24) && 00217 (infoHeader.biBitCount != 32)) 00218 return false; 00219 if (infoHeader.biPlanes != 1) 00220 return false; 00221 if ((infoHeader.biBitCount == 1) && (infoHeader.biCompression != 0 /*BI_RGB*/)) 00222 return false; 00223 if ((infoHeader.biBitCount == 4) && (infoHeader.biCompression != 0 /*BI_RGB*/) && (infoHeader.biCompression != 2 /*BI_RLE4*/)) 00224 return false; 00225 if ((infoHeader.biBitCount == 8) && (infoHeader.biCompression != 0 /*BI_RGB*/) && (infoHeader.biCompression != 1 /*BI_RLE8*/)) 00226 return false; 00227 if ((infoHeader.biBitCount == 16) && (infoHeader.biCompression != 0 /*BI_RGB*/) && (infoHeader.biCompression != 3 /*BI_BITFIELDS*/)) 00228 return false; 00229 if ((infoHeader.biBitCount == 24) && (infoHeader.biCompression != 0 /*BI_RGB*/)) 00230 return false; 00231 if ((infoHeader.biBitCount == 32) && (infoHeader.biCompression != 0 /*BI_RGB*/) && (infoHeader.biCompression != 3 /*BI_BITFIELDS*/)) 00232 return false; 00233 00234 if (infoHeader.biSize < 56) 00235 { 00236 if (infoHeader.biCompression == 3 /*BI_BITFIELDS*/) 00237 { 00238 is.read(buffer, 12); 00239 if (is.gcount() != 12) 00240 return false; 00241 ptr = buffer; 00242 infoHeader.redMask = parseUInt32(ptr); 00243 infoHeader.greenMask = parseUInt32(ptr); 00244 infoHeader.blueMask = parseUInt32(ptr); 00245 infoHeader.alphaMask = 0; 00246 infoHeader.biSize += 12; 00247 } 00248 else if (infoHeader.biBitCount == 16) 00249 { 00250 infoHeader.redMask = 0x7c00; 00251 infoHeader.greenMask = 0x03e0; 00252 infoHeader.blueMask = 0x001f; 00253 infoHeader.alphaMask = 0; 00254 } 00255 else if (infoHeader.biBitCount == 32) 00256 { 00257 infoHeader.redMask = 0x00ff0000; 00258 infoHeader.greenMask = 0x0000ff00; 00259 infoHeader.blueMask = 0x000000ff; 00260 infoHeader.alphaMask = 0xff000000; 00261 } 00262 } 00263 00264 #if 0 00265 std::cout << "infoHeader.biSize = " << infoHeader.biSize << std::endl; 00266 std::cout << "infoHeader.biWidth = " << infoHeader.biWidth << std::endl; 00267 std::cout << "infoHeader.biHeight = " << infoHeader.biHeight << std::endl; 00268 std::cout << "infoHeader.biPlanes = " << infoHeader.biPlanes << std::endl; 00269 std::cout << "infoHeader.biBitCount = " << infoHeader.biBitCount << std::endl; 00270 std::cout << "infoHeader.biCompression = " << infoHeader.biCompression << std::endl; 00271 #endif 00272 00273 return true; 00274 }
| static bool osg::readColorMap | ( | std::istream & | is, | |
| const BITMAPFILEHEADER & | fileHeader, | |||
| const BITMAPINFOHEADER & | infoHeader, | |||
| RGB | colorMap[256] | |||
| ) | [static] |
Definition at line 276 of file OSGBMPImageFileType.cpp.
References osg::RGB::b, osg::BITMAPFILEHEADER::bfOffBits, osg::BITMAPINFOHEADER::biBitCount, osg::BITMAPINFOHEADER::biClrUsed, osg::BITMAPINFOHEADER::biSize, osg::RGB::g, and osg::RGB::r.
Referenced by osg::BMPImageFileType::read().
00277 { 00278 if (infoHeader.biBitCount <= 8) 00279 { 00280 UInt32 nCols = 1 << infoHeader.biBitCount; 00281 if (infoHeader.biClrUsed > 0) 00282 { 00283 if (infoHeader.biClrUsed > nCols) 00284 return false; 00285 nCols = infoHeader.biClrUsed; 00286 } 00287 int bytesPerColor = (infoHeader.biSize < 40) || (infoHeader.biSize + 14 + 4 * nCols > fileHeader.bfOffBits) 00288 ? 3 : 4; 00289 char buffer[256 * 4]; 00290 is.read(buffer, nCols * bytesPerColor); 00291 if (static_cast<UInt32>(is.gcount()) != nCols * bytesPerColor) 00292 return false; 00293 char *ptr = buffer; 00294 for (UInt32 i = 0; i < nCols; ++i) 00295 { 00296 colorMap[i].r = ptr[2]; 00297 colorMap[i].g = ptr[1]; 00298 colorMap[i].b = ptr[0]; 00299 ptr += bytesPerColor; 00300 } 00301 } 00302 00303 return true; 00304 }
| static bool osg::parseUncompressedPaletteImage | ( | std::istream & | is, | |
| const BITMAPINFOHEADER & | infoHeader, | |||
| const RGB | colorMap[256], | |||
| ImagePtr & | image | |||
| ) | [static] |
Definition at line 306 of file OSGBMPImageFileType.cpp.
References osg::RGB::b, osg::BITMAPINFOHEADER::biBitCount, osg::BITMAPINFOHEADER::biHeight, osg::BITMAPINFOHEADER::biWidth, osg::RGB::g, and osg::RGB::r.
Referenced by osg::BMPImageFileType::read().
00307 { 00308 unsigned long mask = (1 << infoHeader.biBitCount) - 1; 00309 int height; 00310 long bytesPerLine; 00311 UChar8 *data; 00312 if (infoHeader.biHeight >= 0) 00313 { 00314 height = infoHeader.biHeight; 00315 bytesPerLine = infoHeader.biWidth * 3; 00316 data = image->getData(); 00317 } 00318 else 00319 { 00320 height = -infoHeader.biHeight; 00321 bytesPerLine = infoHeader.biWidth * -3; 00322 data = image->getData() + image->getSize() + bytesPerLine; 00323 } 00324 00325 for (int y = 0; y < height; ++y) 00326 { 00327 int shift = 0; 00328 unsigned long bits; 00329 UChar8 *ptr = data; 00330 for (unsigned int x = 0; x < infoHeader.biWidth; ++x) 00331 { 00332 if (shift == 0) 00333 { 00334 char buffer[4]; 00335 is.read(buffer, 4); 00336 if (is.gcount() != 4) 00337 return false; 00338 bits = (static_cast<UInt32>(static_cast<UInt8>(buffer[0])) << 24) | 00339 (static_cast<UInt32>(static_cast<UInt8>(buffer[1])) << 16) | 00340 (static_cast<UInt32>(static_cast<UInt8>(buffer[2])) << 8) | 00341 (static_cast<UInt32>(static_cast<UInt8>(buffer[3])) << 0); 00342 shift = 32 - infoHeader.biBitCount; 00343 } 00344 else 00345 shift -= infoHeader.biBitCount; 00346 unsigned long index = (bits >> shift) & mask; 00347 *ptr++ = colorMap[index].r; 00348 *ptr++ = colorMap[index].g; 00349 *ptr++ = colorMap[index].b; 00350 } 00351 data += bytesPerLine; 00352 } 00353 00354 return true; 00355 }
| static bool osg::parseRLEImage | ( | std::istream & | is, | |
| const BITMAPINFOHEADER & | infoHeader, | |||
| const RGB | colorMap[256], | |||
| ImagePtr & | image | |||
| ) | [static] |
Definition at line 357 of file OSGBMPImageFileType.cpp.
References osg::RGB::b, osg::BITMAPINFOHEADER::biBitCount, osg::BITMAPINFOHEADER::biHeight, osg::BITMAPINFOHEADER::biWidth, osg::RGB::g, and osg::RGB::r.
Referenced by osg::BMPImageFileType::read().
00358 { 00359 unsigned int height; 00360 long bytesPerLine; 00361 UChar8 *data; 00362 if (infoHeader.biHeight >= 0) 00363 { 00364 height = infoHeader.biHeight; 00365 bytesPerLine = infoHeader.biWidth * 3; 00366 data = image->getData(); 00367 } 00368 else 00369 { 00370 height = -infoHeader.biHeight; 00371 bytesPerLine = infoHeader.biWidth * -3; 00372 data = image->getData() + image->getSize() + bytesPerLine; 00373 } 00374 00375 UChar8 *ptr = data; 00376 unsigned int x = 0; 00377 for (unsigned int y = 0; y < height; ) 00378 { 00379 int c1 = is.get(); 00380 int c2 = is.get(); 00381 if ((c1 == EOF) || (c2 == EOF)) 00382 return false; 00383 if (c1 == 0) // Escape 00384 { 00385 switch (c2) 00386 { 00387 case 0: // End of line 00388 x = 0; 00389 ++y; 00390 data += bytesPerLine; 00391 ptr = data; 00392 break; 00393 case 1: // End of bitmap 00394 y = height; 00395 break; 00396 case 2: // Delta 00397 { 00398 int xOffset = is.get(); 00399 int yOffset = is.get(); 00400 if ((xOffset == EOF) || (yOffset == EOF)) 00401 return false; 00402 x += xOffset; 00403 y += yOffset; 00404 if ((x >= infoHeader.biWidth) || (y >= height)) 00405 return false; 00406 data += bytesPerLine * yOffset; 00407 ptr += bytesPerLine * yOffset + 3 * xOffset; 00408 } 00409 break; 00410 default: // Absolute mode 00411 if (infoHeader.biWidth - x < static_cast<unsigned int>(c2)) 00412 c2 = infoHeader.biWidth - x; 00413 x += c2; 00414 if (infoHeader.biBitCount == 4) 00415 { 00416 int n = c2; 00417 for (int i = 0; i < n; ++i) 00418 { 00419 int index; 00420 switch (i & 3) 00421 { 00422 case 0: 00423 c1 = is.get(); 00424 c2 = is.get(); 00425 if ((c1 == EOF) || (c2 == EOF)) 00426 return false; 00427 index = c1 >> 4; 00428 break; 00429 case 1: 00430 index = c1 & 0xf; 00431 break; 00432 case 2: 00433 index = c2 >> 4; 00434 break; 00435 case 3: 00436 index = c2 & 0xf; 00437 break; 00438 default: 00439 index = 0; // Just to get rid of compiler warnings... 00440 break; 00441 } 00442 *ptr++ = colorMap[index].r; 00443 *ptr++ = colorMap[index].g; 00444 *ptr++ = colorMap[index].b; 00445 } 00446 } 00447 else 00448 for (int i = 0; i < c2; ++i) 00449 { 00450 int index; 00451 if ((i & 1) == 0) 00452 { 00453 index = is.get(); 00454 c1 = is.get(); 00455 if ((index == EOF) || (c1 == EOF)) 00456 return false; 00457 } 00458 else 00459 index = c1; 00460 *ptr++ = colorMap[index].r; 00461 *ptr++ = colorMap[index].g; 00462 *ptr++ = colorMap[index].b; 00463 } 00464 break; 00465 } 00466 } 00467 else // Encoded mode 00468 { 00469 if (infoHeader.biWidth - x < static_cast<unsigned int>(c1)) 00470 c1 = infoHeader.biWidth - x; 00471 x += c1; 00472 if (infoHeader.biBitCount == 4) 00473 for (int i = 0; i < c1; ++i) 00474 { 00475 int index = (i & 1) == 0 ? c2 >> 4 : c2 & 0xf; 00476 *ptr++ = colorMap[index].r; 00477 *ptr++ = colorMap[index].g; 00478 *ptr++ = colorMap[index].b; 00479 } 00480 else 00481 for (int i = 0; i < c1; ++i) 00482 { 00483 *ptr++ = colorMap[c2].r; 00484 *ptr++ = colorMap[c2].g; 00485 *ptr++ = colorMap[c2].b; 00486 } 00487 } 00488 } 00489 00490 return true; 00491 }
| static int osg::calcShift | ( | UInt32 | mask | ) | [static] |
Definition at line 493 of file OSGBMPImageFileType.cpp.
Referenced by parseTrueColorImage().
00494 { 00495 if (mask == 0) 00496 return 0; 00497 int shift = 0; 00498 while (mask > 255) 00499 { 00500 ++shift; 00501 mask >>= 1; 00502 } 00503 return shift; 00504 }
| static bool osg::parseTrueColorImage | ( | std::istream & | is, | |
| const BITMAPINFOHEADER & | infoHeader, | |||
| ImagePtr & | image | |||
| ) | [static] |
Definition at line 506 of file OSGBMPImageFileType.cpp.
References osg::BITMAPINFOHEADER::alphaMask, osg::BITMAPINFOHEADER::biBitCount, osg::BITMAPINFOHEADER::biHeight, osg::BITMAPINFOHEADER::biWidth, osg::BITMAPINFOHEADER::blueMask, calcShift(), osg::BITMAPINFOHEADER::greenMask, and osg::BITMAPINFOHEADER::redMask.
Referenced by osg::BMPImageFileType::read().
00507 { 00508 int redShift = calcShift(infoHeader.redMask); 00509 int redScale = infoHeader.redMask == 0 ? 0 : 255 / (infoHeader.redMask >> redShift); 00510 int greenShift = calcShift(infoHeader.greenMask); 00511 int greenScale = infoHeader.greenMask == 0 ? 0 : 255 / (infoHeader.greenMask >> greenShift); 00512 int blueShift = calcShift(infoHeader.blueMask); 00513 int blueScale = infoHeader.blueMask == 0 ? 0 : 255 / (infoHeader.blueMask >> blueShift); 00514 int alphaShift = calcShift(infoHeader.alphaMask); 00515 int alphaScale = infoHeader.alphaMask == 0 ? 0 : 255 / (infoHeader.alphaMask >> alphaShift); 00516 00517 int height; 00518 long bytesPerLine = infoHeader.biWidth * (infoHeader.alphaMask != 0 ? 4 : 3); 00519 UChar8 *data; 00520 if (infoHeader.biHeight >= 0) 00521 { 00522 height = infoHeader.biHeight; 00523 data = image->getData(); 00524 } 00525 else 00526 { 00527 height = -infoHeader.biHeight; 00528 bytesPerLine = -bytesPerLine; 00529 data = image->getData() + image->getSize() + bytesPerLine; 00530 } 00531 00532 for (int y = 0; y < height; ++y) 00533 { 00534 int shift = 32; 00535 unsigned long bits; 00536 UChar8 *ptr = data; 00537 for (unsigned int x = 0; x < infoHeader.biWidth; ++x) 00538 { 00539 if (shift >= 32) 00540 { 00541 char buffer[4]; 00542 is.read(buffer, 4); 00543 if (is.gcount() != 4) 00544 return false; 00545 bits = (static_cast<UInt32>(static_cast<UInt8>(buffer[0])) << 0) | 00546 (static_cast<UInt32>(static_cast<UInt8>(buffer[1])) << 8) | 00547 (static_cast<UInt32>(static_cast<UInt8>(buffer[2])) << 16) | 00548 (static_cast<UInt32>(static_cast<UInt8>(buffer[3])) << 24); 00549 shift = 0; 00550 } 00551 unsigned long color = bits >> shift; 00552 *ptr++ = static_cast<UChar8>(((color & infoHeader.redMask) >> redShift) * redScale); 00553 *ptr++ = static_cast<UChar8>(((color & infoHeader.greenMask) >> greenShift) * greenScale); 00554 *ptr++ = static_cast<UChar8>(((color & infoHeader.blueMask) >> blueShift) * blueScale); 00555 if (infoHeader.alphaMask != 0) 00556 *ptr++ = static_cast<UChar8>(((color & infoHeader.alphaMask) >> alphaShift) * alphaScale); 00557 shift += infoHeader.biBitCount; 00558 } 00559 data += bytesPerLine; 00560 } 00561 00562 return true; 00563 }
| static bool osg::parse24bitImage | ( | std::istream & | is, | |
| const BITMAPINFOHEADER & | infoHeader, | |||
| ImagePtr & | image | |||
| ) | [static] |
Definition at line 565 of file OSGBMPImageFileType.cpp.
References osg::BITMAPINFOHEADER::biHeight, and osg::BITMAPINFOHEADER::biWidth.
Referenced by osg::BMPImageFileType::read().
00566 { 00567 int height; 00568 long bytesPerLine; 00569 UChar8 *data; 00570 if (infoHeader.biHeight >= 0) 00571 { 00572 height = infoHeader.biHeight; 00573 bytesPerLine = infoHeader.biWidth * 3; 00574 data = image->getData(); 00575 } 00576 else 00577 { 00578 height = -infoHeader.biHeight; 00579 bytesPerLine = infoHeader.biWidth * -3; 00580 data = image->getData() + image->getSize() + bytesPerLine; 00581 } 00582 int padding = (infoHeader.biWidth * 3) & 3; 00583 if (padding != 0) 00584 padding = 4 - padding; 00585 00586 for (int y = 0; y < height; ++y) 00587 { 00588 UChar8 *ptr = data; 00589 for (unsigned int x = 0; x < infoHeader.biWidth; ++x) 00590 { 00591 char buffer[3]; 00592 is.read(buffer, 3); 00593 if (is.gcount() != 3) 00594 return false; 00595 *ptr++ = buffer[2]; 00596 *ptr++ = buffer[1]; 00597 *ptr++ = buffer[0]; 00598 } 00599 is.ignore(padding); 00600 data += bytesPerLine; 00601 } 00602 00603 return true; 00604 }
| static void osg::u_short_int_write | ( | unsigned short int | u_short_int_val, | |
| std::ostream & | os | |||
| ) | [static] |
Definition at line 670 of file OSGBMPImageFileType.cpp.
References _bmp_byte_swap.
Referenced by bmp_header1_write(), bmp_header2_write(), long_int_write(), and u_long_int_write().
00672 { 00673 unsigned char chi; 00674 unsigned char clo; 00675 00676 chi = ( unsigned char ) ( u_short_int_val / 256 ); 00677 clo = ( unsigned char ) ( u_short_int_val % 256 ); 00678 00679 if(_bmp_byte_swap) 00680 os << clo << chi; 00681 else 00682 os << chi << clo; 00683 00684 return; 00685 }
| static void osg::long_int_write | ( | long int | long_int_val, | |
| std::ostream & | os | |||
| ) | [static] |
Definition at line 616 of file OSGBMPImageFileType.cpp.
References _bmp_byte_swap, and u_short_int_write().
Referenced by bmp_header2_write().
00617 { 00618 long int temp; 00619 unsigned short int u_short_int_val_hi; 00620 unsigned short int u_short_int_val_lo; 00621 00622 temp = long_int_val / 65536; 00623 if(temp < 0) 00624 temp = temp + 65536; 00625 00626 u_short_int_val_hi = ( unsigned short ) temp; 00627 00628 temp = long_int_val % 65536; 00629 if(temp < 0) 00630 temp = temp + 65536; 00631 00632 u_short_int_val_lo = ( unsigned short ) temp; 00633 00634 if(_bmp_byte_swap) 00635 { 00636 u_short_int_write ( u_short_int_val_lo, os); 00637 u_short_int_write ( u_short_int_val_hi, os); 00638 } 00639 else 00640 { 00641 u_short_int_write ( u_short_int_val_hi, os); 00642 u_short_int_write ( u_short_int_val_lo, os); 00643 } 00644 return; 00645 }
| static void osg::u_long_int_write | ( | unsigned long int | u_long_int_val, | |
| std::ostream & | os | |||
| ) | [static] |
Definition at line 647 of file OSGBMPImageFileType.cpp.
References _bmp_byte_swap, and u_short_int_write().
Referenced by bmp_header1_write(), and bmp_header2_write().
00649 { 00650 unsigned short int u_short_int_val_hi; 00651 unsigned short int u_short_int_val_lo; 00652 00653 u_short_int_val_hi = ( unsigned short ) ( u_long_int_val / 65536 ); 00654 u_short_int_val_lo = ( unsigned short ) ( u_long_int_val % 65536 ); 00655 00656 if(_bmp_byte_swap) 00657 { 00658 u_short_int_write ( u_short_int_val_lo, os); 00659 u_short_int_write ( u_short_int_val_hi, os); 00660 } 00661 else 00662 { 00663 u_short_int_write ( u_short_int_val_hi, os); 00664 u_short_int_write ( u_short_int_val_lo, os); 00665 } 00666 00667 return; 00668 }
| static void osg::bmp_header1_write | ( | std::ostream & | os, | |
| unsigned short int | filetype, | |||
| unsigned long int | filesize, | |||
| unsigned short int | reserved1, | |||
| unsigned short int | reserved2, | |||
| unsigned long int | bitmapoffset | |||
| ) | [static] |
Definition at line 687 of file OSGBMPImageFileType.cpp.
References u_long_int_write(), and u_short_int_write().
Referenced by osg::BMPImageFileType::write().
00690 { 00691 u_short_int_write(filetype, os); 00692 u_long_int_write(filesize, os); 00693 u_short_int_write(reserved1, os); 00694 u_short_int_write(reserved2, os); 00695 u_long_int_write(bitmapoffset, os); 00696 return; 00697 }
| static void osg::bmp_header2_write | ( | std::ostream & | os, | |
| unsigned long int | size, | |||
| unsigned long int | width, | |||
| long int | height, | |||
| unsigned short int | planes, | |||
| unsigned short int | bitsperpixel, | |||
| unsigned long int | compression, | |||
| unsigned long int | sizeofbitmap, | |||
| unsigned long int | horzresolution, | |||
| unsigned long int | vertresolution, | |||
| unsigned long int | colorsused, | |||
| unsigned long int | colorsimportant | |||
| ) | [static] |
Definition at line 699 of file OSGBMPImageFileType.cpp.
References long_int_write(), u_long_int_write(), and u_short_int_write().
Referenced by osg::BMPImageFileType::write().
00722 : 00723 // 00724 // Input, ofstream &FILE_OUT, a reference to the output file. 00725 // 00726 // Input, unsigned long int SIZE, the size of this header in bytes. 00727 // 00728 // Input, unsigned long int WIDTH, the X dimensions of the image. 00729 // 00730 // Input, long int HEIGHT, the Y dimensions of the image. 00731 // 00732 // Input, unsigned short int PLANES, the number of color planes. 00733 // 00734 // Input, unsigned short int BITSPERPIXEL, color bits per pixel. 00735 // 00736 // Input, unsigned long int COMPRESSION, the compression option. 00737 // 00738 // Input, unsigned long int SIZEOFBITMAP, the size of the bitmap. 00739 // 00740 // Input, unsigned long int HORZRESOLUTION, the horizontal resolution. 00741 // 00742 // Input, unsigned long int VERTRESOLUTION, the vertical resolution. 00743 // 00744 // Input, unsigned long int COLORSUSED, the number of colors in the palette. 00745 // 00746 // Input, unsigned long int COLORSIMPORTANT, the minimum number of colors. 00747 // 00748 { 00749 u_long_int_write(size, os); 00750 u_long_int_write(width, os); 00751 long_int_write(height, os); 00752 u_short_int_write(planes, os); 00753 u_short_int_write(bitsperpixel, os); 00754 u_long_int_write(compression, os); 00755 u_long_int_write(sizeofbitmap, os); 00756 u_long_int_write(horzresolution, os); 00757 u_long_int_write(vertresolution, os); 00758 u_long_int_write(colorsused, os); 00759 u_long_int_write(colorsimportant, os); 00760 return; 00761 }
| static void osg::bmp_24_data_write | ( | std::ostream & | os, | |
| unsigned long int | width, | |||
| long int | height, | |||
| unsigned char * | data | |||
| ) | [static] |
Definition at line 763 of file OSGBMPImageFileType.cpp.
Referenced by osg::BMPImageFileType::write().
00765 { 00766 int i; 00767 unsigned char *indexb; 00768 unsigned char *indexg; 00769 unsigned char *indexr; 00770 int j; 00771 int padding; 00772 00773 // Set the padding. 00774 padding = ( 4 - ( ( 3 * width ) % 4 ) ) % 4; 00775 00776 for(j = 0; j < abs ( height ); ++j) 00777 { 00778 for(i = 0; i < width; ++i) 00779 { 00780 os << *(data + 2); 00781 os << *(data + 1); 00782 os << *(data + 0); 00783 data += 3; 00784 } 00785 00786 for(i = 0; i < padding; ++i) 00787 { 00788 os << 0; 00789 } 00790 } 00791 return; 00792 }
| osg::OSG_DLLEXPORT_SFIELD_DEF1 | ( | ImagePtr | , | |
| OSG_SYSTEMLIB_DLLTMPLMAPPING | ||||
| ) |
| osg::OSG_DLLEXPORT_MFIELD_DEF1 | ( | ImagePtr | , | |
| OSG_SYSTEMLIB_DLLTMPLMAPPING | ||||
| ) |
| bool osg::createComposedImage | ( | std::vector< ImagePtr > | imageVec, | |
| ImagePtr | image, | |||
| SliceDataType | sliceDataType | |||
| ) |
composes multiple images to one
Definition at line 67 of file OSGImageFunctions.cpp.
References osg::ImageBase::create(), DEPTH_SDT, osg::FieldContainerPtrBase::dump(), FLOG, FRAME_SDT, FWARNING, INVALID_SDT, osg::Image::OSG_INVALID_IMAGEDATATYPE, osg::Image::OSG_INVALID_PF, osg::Image::OSG_UINT8_IMAGEDATA, osgMax(), SIDE_SDT, and subRefCP().
00070 { 00071 UInt32 dataSize, i, n = imageVec.size(); 00072 Int32 w = 0, h = 0; 00073 UInt8 *destData, *srcData; 00074 Image::PixelFormat pf = Image::OSG_INVALID_PF; 00075 Image::Type dt = Image::OSG_INVALID_IMAGEDATATYPE; 00076 bool needColor = false, needAlpha = false, needCopy = false; 00077 ImagePtr copy = Image::create(); 00078 UInt32 depth, frameCount, sideCount; 00079 00080 if (n) { 00081 for (i = 0; i < n; i++) { 00082 if ( i == 0 ) { 00083 pf = Image::PixelFormat(imageVec[0]->getPixelFormat()); 00084 dt = Image::Type(imageVec[0]->getDataType()); 00085 w = imageVec[0]->getWidth(); 00086 h = imageVec[0]->getHeight(); 00087 needAlpha = imageVec[0]->hasAlphaChannel(); 00088 needColor = imageVec[0]->hasColorChannel(); 00089 } 00090 else { 00091 needAlpha |= imageVec[i]->hasAlphaChannel(); 00092 needColor |= imageVec[i]->hasColorChannel(); 00093 if (Image::PixelFormat(imageVec[i]->getPixelFormat()) != pf) { 00094 needCopy = true; 00095 FWARNING (( "Image has different PF while composing\n" )); 00096 pf = Image::OSG_INVALID_PF; 00097 } 00098 if (Image::Type(imageVec[i]->getDataType()) != dt) { 00099 needCopy = true; 00100 FWARNING (( "Image has different DT while composing\n" )); 00101 dt = Image::OSG_INVALID_IMAGEDATATYPE; 00102 } 00103 if (imageVec[i]->getWidth() != w) { 00104 needCopy = true; 00105 FWARNING (( "Image has different width while composing\n" )); 00106 w = osgMax ( w, imageVec[i]->getWidth()); 00107 } 00108 if (imageVec[i]->getHeight() != h) { 00109 needCopy = true; 00110 FWARNING (( "Image has different height while composing\n" )); 00111 h = osgMax ( h, imageVec[i]->getHeight()); 00112 } 00113 } 00114 } 00115 00116 if (pf == Image::OSG_INVALID_PF) { 00117 if (needColor) 00118 if (needAlpha) 00119 pf = OSG::Image::OSG_RGBA_PF; 00120 else 00121 pf = OSG::Image::OSG_RGB_PF; 00122 else 00123 if (needAlpha) 00124 pf = OSG::Image::OSG_LA_PF; 00125 else 00126 pf = OSG::Image::OSG_L_PF; 00127 } 00128 00129 if (dt == Image::OSG_INVALID_IMAGEDATATYPE) 00130 dt = Image::OSG_UINT8_IMAGEDATA; 00131 00132 depth = frameCount = sideCount = 1; 00133 switch (sliceDataType) { 00134 case FRAME_SDT: 00135 frameCount = n; 00136 break; 00137 case SIDE_SDT: 00138 sideCount = n; 00139 break; 00140 case INVALID_SDT: 00141 case DEPTH_SDT: 00142 default: 00143 depth = n; 00144 break; 00145 } 00146 00147 image->set( pf, w, h, depth, 1, frameCount, 0.0, 00148 0, dt, true, sideCount ); 00149 00150 destData = image->getData(); 00151 dataSize = image->getSize() / n; 00152 00153 if (needCopy) { 00154 FLOG (("Image data/type/size missmatch while composing\n")); 00155 } 00156 00157 for (i = 0; i < n; i++) { 00158 if (needCopy) { 00159 copy->set(imageVec[i]); 00160 if ( Image::PixelFormat(copy->getPixelFormat()) != pf ) 00161 copy->reformat(pf); 00162 if ( Image::Type(copy->getDataType()) != dt ) 00163 copy->convertDataTypeTo(dt); 00164 if ( (w != copy->getWidth()) || (h != copy->getHeight())) 00165 copy->scale(w,h,copy->getDepth()); 00166 srcData = copy->getData(); 00167 } 00168 else 00169 srcData = imageVec[i]->getData(); 00170 00171 memcpy ( destData, srcData, dataSize ); 00172 destData += dataSize; 00173 } 00174 } 00175 00176 subRefCP(copy); 00177 00178 imageVec[0]->dump(); 00179 image->dump(); 00180 00181 return true; 00182 }
convert bumpmap to normalmap
Definition at line 188 of file OSGImageFunctions.cpp.
References beginEditCP(), osg::ImageBase::create(), osg::VectorInterface< ValueTypeT, StorageInterfaceT >::cross(), endEditCP(), FFATAL, osg::VectorInterface< ValueTypeT, StorageInterfaceT >::normalize(), NullFC, osg::Image::OSG_L_PF, and osg::Image::OSG_RGB_PF.
00191 { 00192 if (image == NullFC || image->getDepth() > 1 || 00193 image->getPixelFormat() != Image::OSG_L_PF) 00194 { 00195 FFATAL(("No valid Normalmap given!\n")); 00196 return false; 00197 } 00198 00199 bool cpImg = false; 00200 00201 if (dst == NullFC) 00202 { 00203 dst = Image::create(); 00204 cpImg = true; 00205 } 00206 00207 Int32 w = image->getWidth(); 00208 Int32 h = image->getHeight(); 00209 00210 unsigned char *srcData = image->getData(); 00211 00212 beginEditCP(dst); 00213 00214 dst->set(Image::OSG_RGB_PF, w, h); 00215 00216 unsigned char *dstData = dst->getData(); 00217 00218 Vec3f scale(normalMapScale); 00219 00220 if (scale[0] == 0.0f || scale[1] == 0.0f || scale[2] == 0.0f) 00221 { 00222 Real32 a = Real32(w) / Real32(h); 00223 00224 if(a < 1.0f) 00225 { 00226 scale[0] = 1.0f; 00227 scale[1] = 1.0f / a; 00228 } 00229 else 00230 { 00231 scale[0] = a; 00232 scale[1] = 1.0f; 00233 } 00234 scale[2] = 1.0f; 00235 } 00236 00237 Int32 i, j; 00238 00239 for (i=1; i<w-1; i++) 00240 { 00241 for (j=1; j<h-1; j++) 00242 { 00243 Vec3f dfdi(2.0f, 0.0f, (Real32)(srcData[(i+1) + j*w] - srcData[(i-1) + j*w]) / 255.0f); 00244 Vec3f dfdj(0.0f, 2.0f, (Real32)(srcData[ i + (j+1)*w] - srcData[ i + (j-1)*w]) / 255.0f); 00245 Vec3f n = dfdi.cross(dfdj); 00246 00247 n[0] *= scale[0]; 00248 n[1] *= scale[1]; 00249 n[2] *= scale[2]; 00250 n.normalize(); 00251 00252 dstData[(j*w+i)*3+0] = (unsigned char)((n[0]+1)*127.5); 00253 dstData[(j*w+i)*3+1] = (unsigned char)((n[1]+1)*127.5); 00254 dstData[(j*w+i)*3+2] = (unsigned char)((n[2]+1)*127.5); 00255 } 00256 } 00257 00258 // handle image border 00259 for (i=0; i<w; i++) 00260 { 00261 dstData[i*3+0] = dstData[(w+i)*3+0]; 00262 dstData[i*3+1] = dstData[(w+i)*3+1]; 00263 dstData[i*3+2] = dstData[(w+i)*3+2]; 00264 00265 dstData[((h-1)*w+i)*3+0] = dstData[((h-2)*w+1)*3+0]; 00266 dstData[((h-1)*w+i)*3+1] = dstData[((h-2)*w+1)*3+1]; 00267 dstData[((h-1)*w+i)*3+2] = dstData[((h-2)*w+1)*3+2]; 00268 } 00269 00270 for (j=0; j<h; j++) 00271 { 00272 dstData[(j*w)*3+0] = dstData[(j*w+1)*3+0]; 00273 dstData[(j*w)*3+1] = dstData[(j*w+1)*3+1]; 00274 dstData[(j*w)*3+2] = dstData[(j*w+1)*3+2]; 00275 00276 dstData[(j*w+(w-1))*3+0] = dstData[(j*w+(w-2))*3+0]; 00277 dstData[(j*w+(w-1))*3+1] = dstData[(j*w+(w-2))*3+1]; 00278 dstData[(j*w+(w-1))*3+2] = dstData[(j*w+(w-2))*3+2]; 00279 } 00280 00281 endEditCP(dst); 00282 00283 if (cpImg) 00284 { 00285 beginEditCP(image); 00286 image->set(dst); 00287 endEditCP(image); 00288 } 00289 00290 //dst->dump(); 00291 00292 return true; 00293 }
| bool osg::createNormalVolume | ( | ImagePtr | inImage, | |
| ImagePtr | outImage, | |||
| const std::string & | outputFormat | |||
| ) |
creates a Normal Volume from the given data
Definition at line 300 of file OSGImageFunctions.cpp.
References beginEditCP(), osg::ImageBase::create(), endEditCP(), FDEBUG, FFATAL, FLOG, Inf, osg::VectorInterface< ValueTypeT, StorageInterfaceT >::length(), osg::VectorInterface< ValueTypeT, StorageInterfaceT >::normalize(), NullFC, osg::Image::OSG_L_PF, osg::Image::OSG_LA_PF, osg::Image::OSG_RGB_PF, osg::Image::OSG_RGBA_PF, osg::Image::OSG_UINT8_IMAGEDATA, osgacos(), osgMax(), osgsqrt(), p, Pi, and subRefCP().
00303 { 00304 const Real32 gMax = 441.67295593, gF = 255.0/gMax; 00305 const osg::Real32 TwoPi = 2 * osg::Pi; 00306 00307 enum DataIndex { SCALAR_DI, 00308 SCALAR_NULLEDGE_DI, 00309 X_DI, Y_DI, Z_DI, 00310 GRADIENT_DI, 00311 THETA_DI, PHI_DI, 00312 00313 END_DI 00314 }; 00315 00316 UInt8 *data = 0, *ds, dc; 00317 osg::Real32 minU = osg::Inf, maxU = -osg::Inf; 00318 osg::Real32 minV = osg::Inf, maxV = -osg::Inf; 00319 Int32 w, h, d, x, y, z, md, ld, hd, xs, ys, zs, ps, ls, ss, os; 00320 Int32 i,voxelSize ,g,t,p; 00321 std::vector<UInt32> dataIndex; 00322 Real32 u, v, length; 00323 Vec3f normal; 00324 ImagePtr copy; 00325 Image::PixelFormat pf; 00326 bool calcGradient = false, calcThetaPhi = false; 00327 char validFormat[END_DI]; 00328 UInt8 voxelData[sizeof(validFormat)]; 00329 char *formatP; 00330 bool isEdge; 00331 00332 // init valid format string 00333 validFormat[SCALAR_DI] = 's'; 00334 validFormat[SCALAR_NULLEDGE_DI] = 'S'; 00335 validFormat[X_DI] = 'x'; 00336 validFormat[Y_DI] = 'y'; 00337 validFormat[Z_DI] = 'z'; 00338 validFormat[GRADIENT_DI] = 'g'; 00339 validFormat[THETA_DI] = 't'; 00340 validFormat[PHI_DI] = 'p'; 00341 00342 // check if we have a valid input image 00343 if ( inImage->getBpp() != 1 ) { 00344 00345 copy = Image::create(); 00346 FLOG (("Create copy to reformat/convert Image\n")); 00347 00348 if ( (inImage->getPixelFormat() == Image::OSG_L_PF) || 00349 (inImage->getPixelFormat() == Image::OSG_L_PF) ) 00350 copy->set(inImage); 00351 else 00352 inImage->reformat(Image::OSG_L_PF,copy); 00353 inImage = copy; 00354 00355 if (inImage->getDataType() != Image::OSG_UINT8_IMAGEDATA) 00356 inImage->convertDataTypeTo(Image::OSG_UINT8_IMAGEDATA); 00357 } 00358 00359 switch (outputFormat.size()) { 00360 case 1: 00361 pf = Image::OSG_L_PF; 00362 break; 00363 case 2: 00364 pf = Image::OSG_LA_PF; 00365 break; 00366 case 3: 00367 pf = Image::OSG_RGB_PF; 00368 break; 00369 case 4: 00370 pf = Image::OSG_RGBA_PF; 00371 break; 00372 default: 00373 FFATAL (( "Invalid outputFormat length in createNormalVolume: %d\n", 00374 outputFormat.size() )); 00375 return false; 00376 } 00377 00378 // get image data and parameter 00379 w = inImage->getWidth(); 00380 h = inImage->getHeight(); 00381 d = inImage->getDepth(); 00382 data = inImage->getData(); 00383 ps = inImage->getBpp(); 00384 ls = ps * w; 00385 ss = ls * h; 00386 os = 0; 00387 00388 // check format string and fill dataIndex 00389 voxelSize = outputFormat.size(); 00390 dataIndex.resize(voxelSize); 00391 for (i = 0; i < voxelSize; i++) { 00392 if ((formatP = strchr(validFormat, outputFormat[i]))) { 00393 dataIndex[i] = (formatP - validFormat); 00394 switch (dataIndex[i]) { 00395 case GRADIENT_DI: 00396 calcGradient = true; 00397 break; 00398 case THETA_DI: 00399 case PHI_DI: 00400 calcThetaPhi = true; 00401 break; 00402 } 00403 FDEBUG (( "dataIndex[%d]: %d\n", i, dataIndex[i] )); 00404 } 00405 else { 00406 FFATAL (( "Invalid outputFormat element %c, valid: \n", 00407 char(outputFormat[i]), validFormat )); 00408 return false; 00409 } 00410 } 00411 00412 beginEditCP(outImage); 00413 00414 // create output image 00415 outImage->set( pf, w, h, d ); 00416 00417 ds = outImage->getData(); 00418 00419 // fill output image 00420 for (z = 0; z < d; z++) { 00421 for (y = 0; y < h; y++) { 00422 for (x = 0; x < w; x++) { 00423 isEdge = false; 00424 00425 md = data[(x*ps) + (y*ls) + (z*ss) + os]; 00426 00427 // calc xs 00428 if (x > 0) 00429 ld = data[((x-1)*ps) + (y*ls) + (z*ss) + os]; 00430 else { 00431 isEdge |= true; 00432 ld = 0; 00433 } 00434 if (x < (w-1)) 00435 hd = data[((x+1)*ps) + (y*ls) + (z*ss) + os]; 00436 else { 00437 isEdge |= true; 00438 hd = 0; 00439 } 00440 xs = (ld - hd); 00441 00442 // calc ys 00443 if (y > 0) 00444 ld = data[(x*ps) + ((y-1)*ls) + (z*ss) + os]; 00445 else { 00446 isEdge |= true; 00447 ld = 0; 00448 } 00449 if (y < (h-1)) 00450 hd = data[(x*ps) + ((y+1)*ls) + (z*ss) + os]; 00451 else { 00452 isEdge |= true; 00453 hd = 0; 00454 } 00455 ys = (ld - hd); 00456 00457 // cals zs 00458 if (z > 0) 00459 ld = data[(x*ps) + (y*ls) + ((z-1)*ss) + os]; 00460 else { 00461 isEdge |= true; 00462 ld = 0; 00463 } 00464 if (z < (d-1)) 00465 hd = data[(x*ps) + (y*ls) + ((z+1)*ss) + os]; 00466 else { 00467 isEdge |= true; 00468 hd = 0; 00469 } 00470 zs = (ld - hd); 00471 00472 // set the voxel data 00473 voxelData[SCALAR_DI] = md; 00474 voxelData[SCALAR_NULLEDGE_DI] = isEdge ? 0 : md; 00475 voxelData[X_DI] = xs / 2 + 127; 00476 voxelData[Y_DI] = ys / 2 + 127; 00477 voxelData[Z_DI] = zs / 2 + 127; 00478 00479 // calc normal 00480 if (calcGradient || calcThetaPhi) { 00481 normal.setValues (xs,ys,zs); 00482 length = normal.length(); 00483 normal.normalize(); 00484 } 00485 00486 // calc gradient 00487 if (calcGradient) { 00488 voxelData[GRADIENT_DI] = osgMax ( int (length * gF), 255 ); 00489 } 00490 00491 // calc ThetaPhi 00492 if (calcThetaPhi) { 00493 v = osg::osgacos(normal[2]) / osg::Pi; 00494 u = osg::osgsqrt(normal[0]*normal[0] + normal[1]*normal[1]); 00495 00496 if (u) u = normal[0] / u; 00497 u = osg::osgacos(u); 00498 if (normal[1]<0) u = TwoPi - u; 00499 u /= TwoPi; 00500 00501 if (u<minU) minU=u; 00502 if (u>maxU) maxU=u; 00503 if (v<minV) minV=v; 00504 if (v>maxV) maxV=v; 00505 00506 voxelData[THETA_DI] = (osg::UInt8)(v * 255.f); // theta 00507 voxelData[PHI_DI] = (osg::UInt8)(u * 255.f); // phi 00508 } 00509 00510 // copy voxeldata to image data 00511 for (i = 0; i < voxelSize; i++) 00512 *ds++ = voxelData[dataIndex[i]]; 00513 00514 } 00515 } 00516 } 00517 00518 endEditCP(outImage); 00519 00520 if (copy != osg::NullFC) 00521 subRefCP(copy); 00522 00523 return true; 00524 }
create pre-integrated lookup table code based on the "Truly Volumetric Effects" (Martin Kraus) example in the ShaderX book (www.shaderx.com)
Definition at line 534 of file OSGImageFunctions.cpp.
References beginEditCP(), endEditCP(), FFATAL, NullFC, and osg::Image::OSG_RGBA_PF.
00537 { 00538 if (src == NullFC || dst == NullFC || 00539 src->getHeight() > 1 || src->getDepth() > 1 || 00540 src->getPixelFormat() != Image::OSG_RGBA_PF) 00541 { 00542 FFATAL(("No appropriate image given!\n")); 00543 return false; 00544 } 00545 00546 unsigned char *dataSrc = src->getData(); 00547 UInt32 width = src->getWidth(); 00548 00549 beginEditCP( dst ); 00550 { 00551 dst->set(Image::OSG_RGBA_PF, width, width); 00552 00553 unsigned char *dataDst = dst->getData(); 00554 00555 for (Int32 x = 0; x < (Int32)width; x++) 00556 { 00557 for (Int32 y = 0; y < (Int32)width; y++) 00558 { 00559 Int32 n = 10 + 2 * abs(x-y); 00560 Real64 step = thickness / n; 00561 00562 Real64 dr = 0.0, 00563 dg = 0.0, 00564 db = 0.0, 00565 dtau = 0.0; 00566 00567 for (Int32 i = 0; i < n; i++) 00568 { 00569 Real64 w = x + (y-x) * (Real64)i/n; 00570 00571 if ((Int32)(w + 1) >= (Int32)width) 00572 w = (Real64)(width - 1) - 0.5/n; 00573 00574 Int32 pos = ((Int32)w) * 4; 00575 00576 Real64 e = exp(-dtau), scale = step * (1.0 / 255.0), 00577 f = w - floor(w), invF = 1 - f; 00578 00579 Real64 tau = scale * (dataSrc[pos + 3] * f + dataSrc[pos+4 + 3] * invF); 00580 Real64 r = e * scale * (dataSrc[pos + 0] * f + dataSrc[pos+4 + 0] * invF); 00581 Real64 g = e * scale * (dataSrc[pos + 1] * f + dataSrc[pos+4 + 1] * invF); 00582 Real64 b = e * scale * (dataSrc[pos + 2] * f + dataSrc[pos+4 + 2] * invF); 00583 00584 dr += r; 00585 dg += g; 00586 db += b; 00587 dtau += tau; 00588 } 00589 00590 dataDst[(x*width+y)*4+0] = (unsigned char)((dr > 1.0 ? 1.0 : dr)*255); 00591 dataDst[(x*width+y)*4+1] = (unsigned char)((dg > 1.0 ? 1.0 : dg)*255); 00592 dataDst[(x*width+y)*4+2] = (unsigned char)((db > 1.0 ? 1.0 : db)*255); 00593 dataDst[(x*width+y)*4+3] = (unsigned char)((1.0 - exp(-dtau))*255); 00594 } 00595 } 00596 } 00597 endEditCP( dst ); 00598 00599 //dst->dump(); 00600 00601 return true; 00602 }
split RGBA images into RGB and A
Definition at line 609 of file OSGImageFunctions.cpp.
References beginEditCP(), osg::ImageBase::create(), endEditCP(), FFATAL, NullFC, osg::Image::OSG_L_PF, osg::Image::OSG_RGB_PF, and osg::Image::OSG_RGBA_PF.
00612 { 00613 if (rgba == NullFC || rgba->getDepth() > 1 || 00614 rgba->getPixelFormat() != Image::OSG_RGBA_PF) 00615 { 00616 FFATAL(("No appropriate image given!\n")); 00617 return false; 00618 } 00619 00620 if (rgb == NullFC) 00621 rgb = Image::create(); 00622 if (alpha == NullFC) 00623 alpha = Image::create(); 00624 00625 Int32 w = rgba->getWidth(); 00626 Int32 h = rgba->getHeight(); 00627 00628 beginEditCP( rgb ); 00629 beginEditCP( alpha ); 00630 { 00631 rgb->set(Image::OSG_RGB_PF, w, h); 00632 alpha->set(Image::OSG_L_PF, w, h); 00633 00634 unsigned char *data = rgb->getData(); 00635 unsigned char *dataRgba = rgba->getData(); 00636 unsigned char *dataAlpha = alpha->getData(); 00637 00638 for (Int32 i=0; i<(w * h); i++) 00639 { 00640 data[0] = dataRgba[0]; 00641 data[1] = dataRgba[1]; 00642 data[2] = dataRgba[2]; 00643 dataAlpha[0] = dataRgba[3]; 00644 00645 data += 3; 00646 dataRgba += 4; 00647 dataAlpha++; 00648 } 00649 } 00650 endEditCP( alpha ); 00651 endEditCP( rgb ); 00652 00653 //rgb->dump(); 00654 //alpha->dump(); 00655 00656 return true; 00657 }
merge RGB and A images into RGBA
Definition at line 663 of file OSGImageFunctions.cpp.
References beginEditCP(), osg::ImageBase::create(), endEditCP(), FFATAL, NullFC, osg::Image::OSG_L_PF, osg::Image::OSG_RGB_PF, and osg::Image::OSG_RGBA_PF.
00666 { 00667 if (rgb == NullFC || alpha == NullFC || 00668 rgb->getDepth() > 1 || alpha->getDepth() > 1 || 00669 rgb->getPixelFormat() != Image::OSG_RGB_PF || 00670 alpha->getPixelFormat() != Image::OSG_L_PF) 00671 { 00672 FFATAL(("No appropriate images given!\n")); 00673 return false; 00674 } 00675 00676 Int32 w = rgb->getWidth(); 00677 Int32 h = rgb->getHeight(); 00678 00679 if (w != alpha->getWidth() || h != alpha->getHeight()) 00680 { 00681 FFATAL(("Colour and Alpha Images must be of same size!\n")); 00682 return false; 00683 } 00684 00685 if (rgba == NullFC) 00686 rgba = Image::create(); 00687 00688 beginEditCP( rgba ); 00689 { 00690 rgba->set(Image::OSG_RGBA_PF, w, h); 00691 00692 unsigned char *data = rgba->getData(); 00693 unsigned char *dataRgb = rgb->getData(); 00694 unsigned char *dataAlpha = alpha->getData(); 00695 00696 for (Int32 i=0; i<(w * h); i++) 00697 { 00698 data[0] = dataRgb[0]; 00699 data[1] = dataRgb[1]; 00700 data[2] = dataRgb[2]; 00701 data[3] = *dataAlpha; 00702 data += 4; 00703 dataRgb += 3; 00704 dataAlpha++; 00705 } 00706 } 00707 endEditCP( rgba ); 00708 00709 //rgba->dump(); 00710 00711 return true; 00712 }
| bool osg::blendImage | ( | ImagePtr | canvas, | |
| ImagePtr | brush, | |||
| Vec3f | position, | |||
| Color4f | color, | |||
| Real32 | alphaScale, | |||
| Real32 | paintZ | |||
| ) |
blend the brush on the canvas image
Definition at line 718 of file OSGImageFunctions.cpp.
References osg::Color4< ValueTypeT >::alpha(), beginEditCP(), osg::Color4< ValueTypeT >::blue(), osg::FieldContainerPtrBase::dump(), endEditCP(), FFATAL, osg::Color4< ValueTypeT >::green(), osg::Image::OSG_I_PF, osg::Image::OSG_L_PF, osg::Image::OSG_LA_PF, osg::Image::OSG_RGB_PF, osg::Image::OSG_RGBA_PF, osgabs(), osgMax(), osgMin(), and osg::Color4< ValueTypeT >::red().
00724 { 00725 int x,y,z; 00726 int red = 0, green = 0, blue = 0, grey = 0; 00727 int alpha = 0; 00728 osg::UChar8 *s = 0, *d = 0; 00729 00730 osg::beginEditCP(canvas); 00731 00732 osg::UChar8 *src = brush->getData(); 00733 osg::UChar8 *dest = canvas->getData(); 00734 00735 const float cred = color.red(); 00736 const float cgreen = color.green(); 00737 const float cblue = color.blue(); 00738 const float calpha = color.alpha(); 00739 const float talpha = alphaScale; 00740 00741 const int cPF = canvas->getPixelFormat(); 00742 const int bPF = brush->getPixelFormat(); 00743 00744 const int cBpp = canvas->getBpp(); 00745 const int bBpp = brush->getBpp(); 00746 00747 const int bW = brush->getWidth(); 00748 const int bH = brush->getHeight(); 00749 const int bD = brush->getDepth(); 00750 00751 const int cW = canvas->getWidth(); 00752 const int cH = canvas->getHeight(); 00753 const int cD = canvas->getDepth(); 00754 00755 const int xcOff = int(position.x()); 00756 const int ycOff = int(position.y()); 00757 const int zcOff = int(position.z()); 00758 00759 // canvas->setSubData (xcOff,ycOff,zcOff,bW,bH,bD,src); 00760 00761 const int xcMin = osg::osgMax(0, xcOff); 00762 const int ycMin = osg::osgMax(0, ycOff); 00763 const int zcMin = osg::osgMax(0, zcOff); 00764 00765 const int xcMax = osg::osgMin(cW, xcOff + bW); 00766 const int ycMax = osg::osgMin(cH, ycOff + bH); 00767 const int zcMax = osg::osgMin(cD, zcOff + bD); 00768 00769 const int width = (xcMax - xcMin); 00770 const int height = (ycMax - ycMin); 00771 const int depth = (zcMax - zcMin); 00772 00773 int xbMin = xcOff < 0 ? -xcOff : 0; 00774 int ybMin = ycOff < 0 ? -ycOff : 0; 00775 int zbMin = zcOff < 0 ? -zcOff : 0; 00776 00777 //select slice for volume brush 00778 if ((bD > 1) && (depth == 1)) { 00779 z = int(osg::osgabs(paintZ) * (bD - 1)) % bD; 00780 src += bW * bH * bBpp * z; 00781 zbMin = 0; 00782 } 00783 00784 for (z = 0; z < depth; z++) { 00785 for (y = 0; y < height; y++){ 00786 d = dest + ( ((z+zcMin) * cH + (y+ycMin)) * cW + xcMin) * cBpp; 00787 s = src + ( ((z+zbMin) * bH + (y+ybMin)) * bW + xbMin) * bBpp; 00788 for (x = 0; x < width; x++) { 00789 switch ( bPF ) { 00790 case OSG::Image::OSG_A_PF: 00791 case OSG::Image::OSG_I_PF: 00792 grey = *s++; 00793 red = int(cred * grey); 00794 green = int(cgreen * grey); 00795 blue = int(cblue * grey); 00796 alpha = int(calpha * grey); 00797 break; 00798 case osg::Image::OSG_L_PF: 00799 grey = *s++; 00800 red = int(cred * grey); 00801 green = int(cgreen * grey); 00802 blue = int(cblue * grey); 00803 alpha = int(calpha * 255); 00804 break; 00805 case osg::Image::OSG_LA_PF: 00806 grey = *s++; 00807 red = int(cred * grey); 00808 green = int(cgreen * grey); 00809 blue = int(cblue * grey); 00810 alpha = int(calpha * *s++); 00811 break; 00812 case osg::Image::OSG_RGB_PF: 00813 red = *s++; 00814 green = *s++; 00815 blue = *s++; 00816 grey = green; // FIXME 00817 alpha = 255; 00818 break; 00819 case osg::Image::OSG_RGBA_PF: 00820 red = *s++; 00821 green = *s++; 00822 blue = *s++; 00823 grey = green; // FIXME 00824 alpha = *s++; 00825 break; 00826 default: 00827 FFATAL (("Invalid Brush PixelFormat\n")); 00828 brush->dump(); 00829 return false; 00830 } 00831 alpha = int(talpha * alpha); 00832 switch ( cPF ) { 00833 case osg::Image::OSG_I_PF: 00834 *d++ = int(*d * (alpha - 255) + grey * alpha) / 255; 00835 break; 00836 case osg::Image::OSG_L_PF: 00837 *d++ = int(*d * (alpha - 255) + grey * alpha) / 255; 00838 break; 00839 case osg::Image::OSG_LA_PF: 00840 *d++ = int(*d * (alpha - 255) + grey * alpha) / 255; 00841 d++; 00842 break; 00843 case osg::Image::OSG_RGB_PF: 00844 *d++ = int(*d * (255 - alpha) + red * alpha) / 255; 00845 *d++ = int(*d * (255 - alpha) + green * alpha) / 255; 00846 *d++ = int(*d * (255 - alpha) + blue * alpha) / 255; 00847 break; 00848 case osg::Image::OSG_RGBA_PF: 00849 *d++ = int(*d * (255 - alpha) + red * alpha) / 255; 00850 *d++ = int(*d * (255 - alpha) + green * alpha) / 255; 00851 *d++ = int(*d * (255 - alpha) + blue * alpha) / 255; 00852 d++; 00853 break; 00854 default: 00855 FFATAL (("Invalid Canvas PixelFormat\n")); 00856 canvas->dump(); 00857 return false; 00858 } 00859 } 00860 } 00861 } 00862 osg::endEditCP(canvas); 00863 00864 return true; 00865 }
| bool osg::createPhongTexture | ( | ImagePtr | image, | |
| UInt32 | size, | |||
| Real32 | specular_exponent, | |||
| Real32 | ka, | |||
| Real32 | kd, | |||
| Real32 | ks | |||
| ) |
create phong texture
Definition at line 871 of file OSGImageFunctions.cpp.
References beginEditCP(), osg::ImageBase::create(), endEditCP(), NullFC, and osg::Image::OSG_L_PF.
00877 { 00878 if (image == NullFC) 00879 image = Image::create(); 00880 00881 beginEditCP( image ); 00882 { 00883 image->set(Image::OSG_L_PF, size, size); 00884 unsigned char *textureMap = image->getData(); 00885 00886 UInt32 i, j, index = 0; 00887 Real32 x = 0, y = 0; 00888 00889 Real32 specular_factor, diffuse_factor; 00890 Real32 textureRadius = 0.95f; 00891 Real32 textureStep = (2.0 * textureRadius) / Real32(size-1); 00892 00893 y = - textureRadius; 00894 for (j=0; j<size; j++) 00895 { 00896 x = -textureRadius; 00897 for (i=0; i<size; i++) 00898 { 00899 diffuse_factor = sqrt(1.0 - x * x); 00900 specular_factor = pow( diffuse_factor * sqrt (1.0f - y * y) - x * y, 00901 specular_exponent ); 00902 textureMap[index++] = (unsigned char)((ka + kd * diffuse_factor + ks * specular_factor) * 255); 00903 x += textureStep; 00904 } 00905 y += textureStep; 00906 } 00907 } 00908 endEditCP( image ); 00909 00910 //image->dump(); 00911 00912 return true; 00913 }
| bool osg::createNormalizationCubeMap | ( | std::vector< ImagePtr > | imageVec, | |
| UInt32 | size | |||
| ) |
create normalization cube map
Definition at line 978 of file OSGImageFunctions.cpp.
References beginEditCP(), endEditCP(), FFATAL, osg::VectorInterface< ValueTypeT, StorageInterfaceT >::normalize(), NullFC, osg::Image::OSG_RGB_PF, and osgnextpower2().
00980 { 00981 int i, j; 00982 00983 if (imageVec.size() < 6) 00984 { 00985 FFATAL(("Only %d images given - need six\n", imageVec.size())); 00986 return false; 00987 } 00988 00989 for (i=0; i<6; i++) 00990 { 00991 if (imageVec[i] == NullFC) 00992 { 00993 FFATAL(("Image[%d] is Null\n", i)); 00994 return false; 00995 } 00996 } 00997 00998 unsigned char *data = NULL; 00999 Vec3f n; 01000 01001 size = osgnextpower2(size); 01002 01003 float size2 = size / 2.0f; 01004 float offset = 0.5f; 01005 01006 ImagePtr imagePosX = imageVec[0]; 01007 01008 // pos x 01009 beginEditCP( imagePosX ); 01010 imagePosX->set(Image::OSG_RGB_PF, size, size); 01011 data = imagePosX->getData(); 01012 01013 for (j=0; j<size; j++) { 01014 for (i=0; i<size; i++) { 01015 01016 n[0] = size2; 01017 n[1] = -((float)j + offset - size2); 01018 n[2] = -((float)i + offset - size2); 01019 n.normalize(); 01020 01021 data[0] = (UInt8)(((n.x() + 1.f) / 2.f) * 255.f); 01022 data[1] = (UInt8)(((n.y() + 1.f) / 2.f) * 255.f); 01023 data[2] = (UInt8)(((n.z() + 1.f) / 2.f) * 255.f); 01024 data += 3; 01025 } 01026 } 01027 endEditCP( imagePosX ); 01028 01029 ImagePtr imageNegX = imageVec[1]; 01030 01031 // neg x 01032 beginEditCP( imageNegX ); 01033 imageNegX->set(Image::OSG_RGB_PF, size, size); 01034 data = imageNegX->getData(); 01035 01036 for (j=0; j<size; j++) { 01037 for (i=0; i<size; i++) { 01038 01039 n[0] = -size2; 01040 n[1] = -((float)j + offset - size2); 01041 n[2] = ((float)i + offset - size2); 01042 n.normalize(); 01043 01044 data[0]= (UInt8)(((n.x() + 1.f) / 2.f) * 255.f); 01045 data[1]= (UInt8)(((n.y() + 1.f) / 2.f) * 255.f); 01046 data[2]= (UInt8)(((n.z() + 1.f) / 2.f) * 255.f); 01047 data += 3; 01048 } 01049 } 01050 endEditCP( imageNegX ); 01051 01052 ImagePtr imagePosY = imageVec[2]; 01053 01054 // pos y 01055 beginEditCP( imagePosY ); 01056 imagePosY->set(Image::OSG_RGB_PF, size, size); 01057 data = imagePosY->getData(); 01058 01059 for (j=0; j<size; j++) { 01060 for (i=0; i<size; i++) { 01061 01062 n[0] = ((float)i + offset - size2); 01063 n[1] = size2; 01064 n[2] = ((float)j + offset - size2); 01065 n.normalize(); 01066 01067 data[0]= (UInt8)(((n.x() + 1.f) / 2.f) * 255.f); 01068 data[1]= (UInt8)(((n.y() + 1.f) / 2.f) * 255.f); 01069 data[2]= (UInt8)(((n.z() + 1.f) / 2.f) * 255.f); 01070 data += 3; 01071 } 01072 } 01073 endEditCP( imagePosY ); 01074 01075 ImagePtr imageNegY = imageVec[3]; 01076 01077 // neg y 01078 beginEditCP( imageNegY ); 01079 imageNegY->set(Image::OSG_RGB_PF, size, size); 01080 data = imageNegY->getData(); 01081 01082 for (j=0; j<size; j++) { 01083 for (i=0; i<size; i++) { 01084 01085 n[0]= ((float)i + offset - size2); 01086 n[1]= -size2; 01087 n[2]= -((float)j + offset - size2); 01088 n.normalize(); 01089 01090 data[0] = (UInt8)(((n.x() + 1.f) / 2.f) * 255.f); 01091 data[1] = (UInt8)(((n.y() + 1.f) / 2.f) * 255.f); 01092 data[2] = (UInt8)(((n.z() + 1.f) / 2.f) * 255.f); 01093 data += 3; 01094 } 01095 } 01096 endEditCP( imageNegY ); 01097 01098 ImagePtr imagePosZ = imageVec[4]; 01099 01100 // pos z 01101 beginEditCP( imagePosZ ); 01102 imagePosZ->set(Image::OSG_RGB_PF, size, size); 01103 data = imagePosZ->getData(); 01104 01105 for (j=0; j<size; j++) { 01106 for (i=0; i<size; i++) { 01107 01108 n[0] = ((float)i + offset - size2); 01109 n[1] = -((float)j + offset - size2); 01110 n[2] = size2; 01111 n.normalize(); 01112 01113 data[0] = (UInt8)(((n.x() + 1.f) / 2.f) * 255.f); 01114 data[1] = (UInt8)(((n.y() + 1.f) / 2.f) * 255.f); 01115 data[2] = (UInt8)(((n.z() + 1.f) / 2.f) * 255.f); 01116 data += 3; 01117 } 01118 } 01119 endEditCP( imagePosZ ); 01120 01121 ImagePtr imageNegZ = imageVec[5]; 01122 01123 //negz 01124 beginEditCP( imageNegZ ); 01125 imageNegZ->set(Image::OSG_RGB_PF, size, size); 01126 data = imageNegZ->getData(); 01127 01128 for (j=0; j<size; j++) { 01129 for (i=0; i<size; i++) { 01130 01131 n[0] = -((float)i + offset - size2); 01132 n[1] = -((float)j + offset - size2); 01133 n[2] = -size2; 01134 n.normalize(); 01135 01136 data[0] = (UInt8)(((n.x() + 1.f) / 2.f) * 255.f); 01137 data[1] = (UInt8)(((n.y() + 1.f) / 2.f) * 255.f); 01138 data[2] = (UInt8)(((n.z() + 1.f) / 2.f) * 255.f); 01139 data += 3; 01140 } 01141 } 01142 endEditCP( imageNegZ ); 01143 01144 return true; 01145 }
| bool osg::createNoise | ( | ImagePtr | image, | |
| Image::PixelFormat | pixelformat, | |||
| UInt16 | numOctaves, | |||
| UInt16 | size, | |||
| UInt8 | dim, | |||
| bool | splitOctaves | |||
| ) |
create a noise texture. Based on code my
Definition at line 1424 of file OSGImageFunctions.cpp.
References FFATAL, FNOTICE, FWARNING, noise(), NullFC, and setNoiseFrequency().
01430 { 01431 Int32 f, i, j, k, c, w, h, mult = 1, frequency = 4; 01432 Real32 ni[3], amp = 0.5, inci, incj, inck; 01433 unsigned char *data, *ptr = NULL; 01434 bool ok = true; 01435 01436 if (image == NullFC) 01437 { 01438 FFATAL (("No output image given\n")); 01439 return false; 01440 } 01441 01442 switch (dim) 01443 { 01444 case 1: 01445 ok = image->set(pixelformat, size); 01446 w = h = 1; 01447 break; 01448 case 2: 01449 ok = image->set(pixelformat, size, size); 01450 w = size; 01451 h = 1; 01452 break; 01453 case 3: 01454 ok = image->set(pixelformat, size, size, size); 01455 w = h = size; 01456 break; 01457 default: 01458 ok = image->set(pixelformat, size, size); 01459 dim = 2; 01460 w = size; 01461 h = 1; 01462 FWARNING(("createNoise: Use [1|2|3] for image dimension (default 2)\n")); 01463 break; 01464 } 01465 01466 if ( ! (ok && (data = image->getData())) ) 01467 { 01468 FFATAL(("createNoise: Could not create image\n")); 01469 return false; 01470 } 01471 01472 UInt16 ncomp = image->getComponents(); 01473 01474 if(splitOctaves && numOctaves > ncomp) 01475 { 01476 FWARNING(("createNoise: try to split %d octaves, but only have %d" 01477 " components!\n", numOctaves, ncomp )); 01478 numOctaves = ncomp; 01479 } 01480 01481 for (f=0; f<numOctaves; ++f, frequency*=2, amp*=0.5) 01482 { 01483 ptr = data; 01484 01485 setNoiseFrequency(frequency); 01486 ni[0] = ni[1] = ni[2] = 0; 01487 inci = 1.0 / (size / (Real32)frequency); 01488 incj = 1.0 / (size / (Real32)frequency); 01489 inck = 1.0 / (size / (Real32)frequency); 01490 01491 for (i=0; i<size; ++i, ni[0]+=inci) 01492 { 01493 for (j=0; j<w; ++j, ni[1]+=incj) 01494 { 01495 for (k=0; k<h; ++k, ni[2]+=inck) 01496 { 01497 // calculate numOctaves of noise and scale to range [0;1] 01498 if (splitOctaves) 01499 { 01500 *(ptr+f) = (UInt8)(((noise(ni, dim) + 1) * amp) * 128.0); 01501 01502 ptr+=ncomp; 01503 } 01504 else 01505 { 01506 for(c = 0; c < ncomp; ++c, ++ptr, ni[0] += 1) 01507 (*ptr) += (UInt8)(((noise(ni, dim) + 1) * amp) * 128.0); 01508 01509 ni[0] -= ncomp; 01510 } 01511 } 01512 } 01513 } 01514 FNOTICE(("Generated %dD noise: octave %d/%d...\n", dim, f+1, numOctaves)); 01515 } 01516 01517 return true; 01518 }
| bool osg::createPhongVolume | ( | ImagePtr | image, | |
| Color3f | diffuseColor, | |||
| Color3f | specularColor, | |||
| UInt32 | lutSize, | |||
| UInt32 | lutScalar, | |||
| Real32 | lutIncr | |||
| ) |
create phong Volume
Definition at line 918 of file OSGImageFunctions.cpp.
References beginEditCP(), endEditCP(), FDEBUG, Inf, osg::Image::OSG_RGB_PF, osgClamp(), osgcos(), osgdegree2rad(), osgpow(), and osgsin().
00924 { 00925 const osg::Int32 lutFSize = lutSize / lutScalar; 00926 osg::Real32 theta1, theta2, dPhi, incr = lutScalar * lutIncr; 00927 osg::Real32 Const = 0.2f, Shi = 40, NdotL; 00928 osg::Vec3f color; 00929 osg::Vec3f diffuse (diffuseColor[0],diffuseColor[1],diffuseColor[2]); 00930 osg::Vec3f specular (specularColor[0],specularColor[1],specularColor[2]); 00931 osg::UInt8 *ds; 00932 osg::Real32 min = osg::Inf, max = -osg::Inf; 00933 00934 osg::beginEditCP(image); 00935 00936 image->set( osg::Image::OSG_RGB_PF, lutFSize, lutFSize, lutFSize ); 00937 00938 ds = image->getData(); 00939 00940 FDEBUG (("calc phong map START\n")); 00941 00942 for (dPhi=0; dPhi<360; dPhi+=incr) { 00943 for (theta1=0; theta1<180; theta1+=incr) { 00944 for (theta2=0; theta2<180; theta2+=incr) { 00945 osg::Real32 t1 = osg::osgdegree2rad(theta1), 00946 t2 = osg::osgdegree2rad(theta2), 00947 dp = osg::osgdegree2rad(dPhi); 00948 NdotL = osg::osgsin(t1)*osg::osgsin(t2)*osg::osgcos(dp) + 00949 osg::osgcos(t1)*osg::osgcos(t2); 00950 NdotL = (NdotL >= 0) ? NdotL : 0; 00951 color = diffuse * (NdotL + Const) + 00952 specular * osg::osgpow(NdotL, Shi); 00953 00954 for (int i=0; i<3; i++) { 00955 if (min>color[i]) min=color[i]; 00956 if (max<color[i]) max=color[i]; 00957 00958 color[i] = osg::osgClamp(0.f, (color[i]), 1.f); 00959 *ds++ = (osg::UInt8)(color[i]*255); 00960 } 00961 } 00962 } 00963 } 00964 00965 osg::endEditCP(image); 00966 00967 FDEBUG (( "calc phong map FINISH: clamped from [%f,%f] to [0,1]\n", 00968 min, max)); 00969 00970 return true; 00971 }
| osg::OSG_DLLEXPORT_SFIELD_DEF1 | ( | ChunkMaterialPtr | , | |
| OSG_SYSTEMLIB_DLLTMPLMAPPING | ||||
| ) |
| osg::OSG_DLLEXPORT_MFIELD_DEF1 | ( | ChunkMaterialPtr | , | |
| OSG_SYSTEMLIB_DLLTMPLMAPPING | ||||
| ) |
| osg::OSG_DLLEXPORT_SFIELD_DEF1 | ( | MaterialPtr | , | |
| OSG_SYSTEMLIB_DLLTMPLMAPPING | ||||
| ) |
| osg::OSG_DLLEXPORT_MFIELD_DEF1 | ( | MaterialPtr | , | |
| OSG_SYSTEMLIB_DLLTMPLMAPPING | ||||
| ) |
| osg::OSG_DLLEXPORT_SFIELD_DEF1 | ( | MultiPassMaterialPtr | , | |
| OSG_SYSTEMLIB_DLLTMPLMAPPING | ||||
| ) |
| osg::OSG_DLLEXPORT_MFIELD_DEF1 | ( | MultiPassMaterialPtr | , | |
| OSG_SYSTEMLIB_DLLTMPLMAPPING | ||||
| ) |
| osg::OSG_DLLEXPORT_SFIELD_DEF1 | ( | SimpleTexturedMaterialPtr | , | |
| OSG_SYSTEMLIB_DLLTMPLMAPPING | ||||
| ) |
| osg::OSG_DLLEXPORT_MFIELD_DEF1 | ( | SimpleTexturedMaterialPtr | , | |
| OSG_SYSTEMLIB_DLLTMPLMAPPING | ||||
| ) |
| osg::OSG_DLLEXPORT_SFIELD_DEF1 | ( | SwitchMaterialPtr | , | |
| OSG_SYSTEMLIB_DLLTMPLMAPPING | ||||
| ) |
| osg::OSG_DLLEXPORT_MFIELD_DEF1 | ( | SwitchMaterialPtr | , | |
| OSG_SYSTEMLIB_DLLTMPLMAPPING | ||||
| ) |
| osg::OSG_DLLEXPORT_SFIELD_DEF1 | ( | DrawablePtr | , | |
| OSG_SYSTEMLIB_DLLTMPLMAPPING | ||||
| ) |
| osg::OSG_DLLEXPORT_MFIELD_DEF1 | ( | DrawablePtr | , | |
| OSG_SYSTEMLIB_DLLTMPLMAPPING | ||||
| ) |
| osg::OSG_DLLEXPORT_SFIELD_DEF1 | ( | MaterialDrawablePtr | , | |
| OSG_SYSTEMLIB_DLLTMPLMAPPING | ||||
| ) |
| osg::OSG_DLLEXPORT_MFIELD_DEF1 | ( | MaterialDrawablePtr | , | |
| OSG_SYSTEMLIB_DLLTMPLMAPPING | ||||
| ) |
| VectorTypeT osg::apply4PtScheme | ( | const typename std::vector< VectorTypeT >::const_iterator & | a, | |
| const typename std::vector< VectorTypeT >::const_iterator & | b, | |||
| const typename std::vector< VectorTypeT >::const_iterator & | c, | |||
| const typename std::vector< VectorTypeT >::const_iterator & | d | |||
| ) | [inline] |
Definition at line 230 of file OSGExtrusionGeometry.inl.
References SLOG.
00234 { 00235 00236 #ifdef DEBUG_SUBDIVISION 00237 SLOG << "4ptScheme: interior: " 00238 << "( " << *a << " ) " 00239 << "(_" << *b << "_) " 00240 << "( " << *c << " ) " 00241 << "( " << *d << " ) " 00242 << endl; 00243 #endif 00244 00245 // return the weighted sum of the four points (a,b,c,d) 00246 return (-1.f/16.f) * (*a) 00247 + ( 9.f/16.f) * (*b) 00248 + ( 9.f/16.f) * (*c) 00249 + (-1.f/16.f) * (*d); 00250 }
| VectorTypeT osg::apply3PtScheme | ( | const typename std::vector< VectorTypeT >::const_iterator & | a, | |
| const typename std::vector< VectorTypeT >::const_iterator & | b, | |||
| const typename std::vector< VectorTypeT >::const_iterator & | c | |||
| ) | [inline] |
Definition at line 261 of file OSGExtrusionGeometry.inl.
References SLOG.
00264 { 00265 00266 #ifdef DEBUG_SUBDIVISION 00267 SLOG << "3PtScheme: exterior" 00268 << "( " << *a << " ) " 00269 << "(_" << *b << "_) " 00270 << "( " << *c << " ) " 00271 << endl; 00272 #endif 00273 00274 // return the weighted sum of the three points (a,b,c) 00275 return ( 3.f/8.f) * (*a) 00276 + ( 6.f/8.f) * (*b) 00277 + (-1.f/8.f) * (*c); 00278 }
| void osg::mergeGeometries | ( | std::vector< NodePtr > & | nodes, | |
| std::vector< NodePtr > & | results | |||
| ) |
| osg::OSG_DLLEXPORT_SFIELD_DEF1 | ( | GeometryPtr | , | |
| OSG_SYSTEMLIB_DLLTMPLMAPPING | ||||
| ) |
| osg::OSG_DLLEXPORT_MFIELD_DEF1 | ( | GeometryPtr | , | |
| OSG_SYSTEMLIB_DLLTMPLMAPPING | ||||
| ) |
| osg::OSG_GEOPROP_DLLEXPORT_DEF | ( | GeoProperty | , | |
| GeoColors3fPropertyDesc | , | |||
| OSG_SYSTEMLIB_DLLTMPLMAPPING | ||||
| ) |
| osg::OSG_GEOPROP_DLLEXPORT_DEF | ( | GeoProperty | , | |
| GeoColors4fPropertyDesc | , | |||
| OSG_SYSTEMLIB_DLLTMPLMAPPING | ||||
| ) |
| osg::OSG_GEOPROP_DLLEXPORT_DEF | ( | GeoProperty | , | |
| GeoColors3ubPropertyDesc | , | |||
| OSG_SYSTEMLIB_DLLTMPLMAPPING | ||||
| ) |
| osg::OSG_GEOPROP_DLLEXPORT_DEF | ( | GeoProperty | , | |
| GeoColors4ubPropertyDesc | , | |||
| OSG_SYSTEMLIB_DLLTMPLMAPPING | ||||
| ) |
| osg::OSG_ABSTR_GEOPROP_DLLEXPORT_DEF | ( | AbstractGeoProperty | , | |
| GeoPositionsPropertyDesc | , | |||
| OSG_SYSTEMLIB_DLLTMPLMAPPING | ||||
| ) |
| osg::OSG_ABSTR_GEOPROP_DLLEXPORT_DEF | ( | AbstractGeoProperty | , | |
| GeoNormalsPropertyDesc | , | |||
| OSG_SYSTEMLIB_DLLTMPLMAPPING | ||||
| ) |
| osg::OSG_ABSTR_GEOPROP_DLLEXPORT_DEF | ( | AbstractGeoProperty | , | |
| GeoColorsPropertyDesc | , | |||
| OSG_SYSTEMLIB_DLLTMPLMAPPING | ||||
| ) |
| osg::OSG_ABSTR_GEOPROP_DLLEXPORT_DEF | ( | AbstractGeoProperty | , | |
| GeoTexCoordsPropertyDesc | , | |||
| OSG_SYSTEMLIB_DLLTMPLMAPPING | ||||
| ) |
| osg::OSG_ABSTR_GEOPROP_DLLEXPORT_DEF | ( | AbstractGeoProperty | , | |
| GeoIndicesPropertyDesc | , | |||
| OSG_SYSTEMLIB_DLLTMPLMAPPING | ||||
| ) |
| osg::OSG_ABSTR_GEOPROP_DLLEXPORT_DEF | ( | AbstractGeoProperty | , | |
| GeoPTypesPropertyDesc | , | |||
| OSG_SYSTEMLIB_DLLTMPLMAPPING | ||||
| ) |
| osg::OSG_ABSTR_GEOPROP_DLLEXPORT_DEF | ( | AbstractGeoProperty | , | |
| GeoPLengthsPropertyDesc | , | |||
| OSG_SYSTEMLIB_DLLTMPLMAPPING | ||||
| ) |
| osg::OSG_ABSTR_FC_DLLEXPORT_DECL | ( | AbstractGeoProperty | , | |
| GeoPositionsPropertyDesc | , | |||
| OSG_SYSTEMLIB_DLLTMPLMAPPING | ||||
| ) |
| OSG_SYSTEMLIB_DLLTMPLMAPPING osg::OSG_ABSTR_FC_DLLEXPORT_DECL | ( | AbstractGeoProperty | , | |
| GeoColorsPropertyDesc | , | |||
| OSG_SYSTEMLIB_DLLTMPLMAPPING | ||||
| ) |
| OSG_SYSTEMLIB_DLLTMPLMAPPING OSG_SYSTEMLIB_DLLTMPLMAPPING osg::OSG_ABSTR_FC_DLLEXPORT_DECL | ( | AbstractGeoProperty | , | |
| GeoIndicesPropertyDesc | , | |||
| OSG_SYSTEMLIB_DLLTMPLMAPPING | ||||
| ) |
| osg::OSG_ABSTR_FIELD_CONTAINER_INL_TMPL_DEF | ( | AbstractGeoProperty | , | |
| GeoPropertyDesc | , | |||
| PtrType | ||||
| ) |
Definition at line 45 of file OSGGeoPropertyBase.inl.
00055 : 00056 LocalInherited() 00057 #ifndef OSG_SUPPORT_NO_GEO_INTERFACE 00058 , LocalInterface() 00059 #endif 00060 { 00061 }
| osg::OSG_FIELD_CONTAINER_INL_TMPL_DEF | ( | GeoProperty | , | |
| GeoPropertyDesc | , | |||
| PtrType | ||||
| ) |
Attachment type
Definition at line 95 of file OSGGeoPropertyBase.inl.
00107 { 00108 typedef GeoProperty<GeoPropertyDesc> Self; 00109 typedef StoredFieldType *(Self::*GetFieldPtr)(void); 00110 00111 GetFieldPtr tmp = &osg::GeoProperty<GeoPropertyDesc>::getFieldPtr; 00112 00113 FieldAccessMethod tmpMethod = (*((FieldAccessMethod *) &tmp)); 00114 00115 return tmpMethod; 00116 } 00117 #endif 00118 00119 #if defined(__hpux) 00120 template <class GeoPropertyDesc> 00121 const BitVector GeoProperty<GeoPropertyDesc>::GeoPropDataFieldMask; 00122 #endif 00123 00124 template <class GeoPropertyDesc> inline 00125 GeoProperty<GeoPropertyDesc>::GeoProperty(void) : 00126 LocalInherited(), 00127 _field () 00128 { 00129 }
| osg::OSG_DLLEXPORT_SFIELD_DEF1 | ( | GeoPositionsPtr | , | |
| OSG_SYSTEMLIB_DLLTMPLMAPPING | ||||
| ) |
| osg::OSG_DLLEXPORT_SFIELD_DEF1 | ( | GeoNormalsPtr | , | |
| OSG_SYSTEMLIB_DLLTMPLMAPPING | ||||
| ) |
| osg::OSG_DLLEXPORT_SFIELD_DEF1 | ( | GeoColorsPtr | , | |
| OSG_SYSTEMLIB_DLLTMPLMAPPING | ||||
| ) |
| osg::OSG_DLLEXPORT_SFIELD_DEF1 | ( | GeoTexCoordsPtr | , | |
| OSG_SYSTEMLIB_DLLTMPLMAPPING | ||||
| ) |
| osg::OSG_DLLEXPORT_SFIELD_DEF1 | ( | GeoIndicesPtr | , | |
| OSG_SYSTEMLIB_DLLTMPLMAPPING | ||||
| ) |
| osg::OSG_DLLEXPORT_SFIELD_DEF1 | ( | GeoPTypesPtr | , | |
| OSG_SYSTEMLIB_DLLTMPLMAPPING | ||||
| ) |
| osg::OSG_DLLEXPORT_SFIELD_DEF1 | ( | GeoPLengthsPtr | , | |
| OSG_SYSTEMLIB_DLLTMPLMAPPING | ||||
| ) |
| osg::OSG_DLLEXPORT_MFIELD_DEF1 | ( | GeoPositionsPtr | , | |
| OSG_SYSTEMLIB_DLLTMPLMAPPING | ||||
| ) |
| osg::OSG_DLLEXPORT_MFIELD_DEF1 | ( | GeoNormalsPtr | , | |
| OSG_SYSTEMLIB_DLLTMPLMAPPING | ||||
| ) |
| osg::OSG_DLLEXPORT_MFIELD_DEF1 | ( | GeoColorsPtr | , | |
| OSG_SYSTEMLIB_DLLTMPLMAPPING | ||||
| ) |
| osg::OSG_DLLEXPORT_MFIELD_DEF1 | ( | GeoTexCoordsPtr | , | |
| OSG_SYSTEMLIB_DLLTMPLMAPPING | ||||
| ) |
| osg::OSG_DLLEXPORT_MFIELD_DEF1 | ( | GeoIndicesPtr | , | |
| OSG_SYSTEMLIB_DLLTMPLMAPPING | ||||
| ) |
| osg::OSG_DLLEXPORT_MFIELD_DEF1 | ( | GeoPTypesPtr | , | |
| OSG_SYSTEMLIB_DLLTMPLMAPPING | ||||
| ) |
| osg::OSG_DLLEXPORT_MFIELD_DEF1 | ( | GeoPLengthsPtr | , | |
| OSG_SYSTEMLIB_DLLTMPLMAPPING | ||||
| ) |
| osg::OSG_GEOPROP_DLLEXPORT_DEF | ( | GeoProperty | , | |
| GeoIndicesUI32PropertyDesc | , | |||
| OSG_SYSTEMLIB_DLLTMPLMAPPING | ||||
| ) |
| osg::OSG_GEOPROP_DLLEXPORT_DEF | ( | GeoProperty | , | |
| GeoIndicesUI16PropertyDesc | , | |||
| OSG_SYSTEMLIB_DLLTMPLMAPPING | ||||
| ) |
| osg::OSG_GEOPROP_DLLEXPORT_DEF | ( | GeoProperty | , | |
| GeoNormals3fPropertyDesc | , | |||
| OSG_SYSTEMLIB_DLLTMPLMAPPING | ||||
| ) |
| osg::OSG_GEOPROP_DLLEXPORT_DEF | ( | GeoProperty | , | |
| GeoNormals3sPropertyDesc | , | |||
| OSG_SYSTEMLIB_DLLTMPLMAPPING | ||||
| ) |
| osg::OSG_GEOPROP_DLLEXPORT_DEF | ( | GeoProperty | , | |
| GeoNormals3bPropertyDesc | , | |||
| OSG_SYSTEMLIB_DLLTMPLMAPPING | ||||
| ) |
| float osg::glShortToFloat | ( | GLshort | b | ) | [inline] |
Definition at line 49 of file OSGGeoPropNormals.inl.
Referenced by osg::GeoProperty< GeoPropertyDesc >::getValue(), and glShortVecToFloatVec().
| GLshort osg::glFloatToShort | ( | float | f | ) | [inline] |
Definition at line 54 of file OSGGeoPropNormals.inl.
Referenced by glFloatVecToShortVec(), and osg::GeoProperty< GeoPropertyDesc >::setValue().
| Vec3f osg::glShortVecToFloatVec | ( | const Vec3s & | v | ) | [inline] |
Definition at line 60 of file OSGGeoPropNormals.inl.
References glShortToFloat().
Referenced by osg::GeoProperty< GeoPropertyDesc >::getValue().
00061 { 00062 return Vec3f( 00063 glShortToFloat(v[0]), 00064 glShortToFloat(v[1]), 00065 glShortToFloat(v[2])); 00066 }
| Vec3s osg::glFloatVecToShortVec | ( | const Vec3f & | v | ) | [inline] |
Definition at line 68 of file OSGGeoPropNormals.inl.
References glFloatToShort().
Referenced by osg::GeoProperty< GeoPropertyDesc >::addValue(), and osg::GeoProperty< GeoPropertyDesc >::insertValue().
00069 { 00070 return Vec3s( 00071 glFloatToShort(v[0]), 00072 glFloatToShort(v[1]), 00073 glFloatToShort(v[2])); 00074 }
| float osg::glByteToFloat | ( | GLbyte | b | ) | [inline] |
Definition at line 148 of file OSGGeoPropNormals.inl.
Referenced by osg::GeoProperty< GeoPropertyDesc >::getValue(), and glByteVecToFloatVec().
| GLbyte osg::glFloatToByte | ( | float | f | ) | [inline] |
Definition at line 153 of file OSGGeoPropNormals.inl.
Referenced by glFloatVecToByteVec(), and osg::GeoProperty< GeoPropertyDesc >::setValue().
| Vec3f osg::glByteVecToFloatVec | ( | const Vec3b & | v | ) | [inline] |
Definition at line 160 of file OSGGeoPropNormals.inl.
References glByteToFloat().
Referenced by osg::GeoProperty< GeoPropertyDesc >::getValue().
00161 { 00162 return Vec3f( 00163 glByteToFloat(v[0]), 00164 glByteToFloat(v[1]), 00165 glByteToFloat(v[2])); 00166 }
| Vec3b osg::glFloatVecToByteVec | ( | const Vec3f & | v | ) | [inline] |
Definition at line 168 of file OSGGeoPropNormals.inl.
References glFloatToByte().
Referenced by osg::GeoProperty< GeoPropertyDesc >::addValue(), and osg::GeoProperty< GeoPropertyDesc >::insertValue().
00169 { 00170 return Vec3b( 00171 glFloatToByte(v[0]), 00172 glFloatToByte(v[1]), 00173 glFloatToByte(v[2])); 00174 }
| osg::OSG_GEOPROP_DLLEXPORT_DEF | ( | GeoProperty | , | |
| GeoPLengthsUI32PropertyDesc | , | |||
| OSG_SYSTEMLIB_DLLTMPLMAPPING | ||||
| ) |
| osg::OSG_GEOPROP_DLLEXPORT_DEF | ( | GeoProperty | , | |
| GeoPLengthsUI16PropertyDesc | , | |||
| OSG_SYSTEMLIB_DLLTMPLMAPPING | ||||
| ) |
| osg::OSG_GEOPROP_DLLEXPORT_DEF | ( | GeoProperty | , | |
| GeoPLengthsUI8PropertyDesc | , | |||
| OSG_SYSTEMLIB_DLLTMPLMAPPING | ||||
| ) |
| osg::OSG_GEOPROP_DLLEXPORT_DEF | ( | GeoProperty | , | |
| GeoPositions2fPropertyDesc | , | |||
| OSG_SYSTEMLIB_DLLTMPLMAPPING | ||||
| ) |
| osg::OSG_GEOPROP_DLLEXPORT_DEF | ( | GeoProperty | , | |
| GeoPositions3fPropertyDesc | , | |||
| OSG_SYSTEMLIB_DLLTMPLMAPPING | ||||
| ) |
| osg::OSG_GEOPROP_DLLEXPORT_DEF | ( | GeoProperty | , | |
| GeoPositions4fPropertyDesc | , | |||
| OSG_SYSTEMLIB_DLLTMPLMAPPING | ||||
| ) |
| osg::OSG_GEOPROP_DLLEXPORT_DEF | ( | GeoProperty | , | |
| GeoPositions2dPropertyDesc | , | |||
| OSG_SYSTEMLIB_DLLTMPLMAPPING | ||||
| ) |
| osg::OSG_GEOPROP_DLLEXPORT_DEF | ( | GeoProperty | , | |
| GeoPositions3dPropertyDesc | , | |||
| OSG_SYSTEMLIB_DLLTMPLMAPPING | ||||
| ) |
| osg::OSG_GEOPROP_DLLEXPORT_DEF | ( | GeoProperty | , | |
| GeoPositions4dPropertyDesc | , | |||
| OSG_SYSTEMLIB_DLLTMPLMAPPING | ||||
| ) |
| osg::OSG_GEOPROP_DLLEXPORT_DEF | ( | GeoProperty | , | |
| GeoPositions2sPropertyDesc | , | |||
| OSG_SYSTEMLIB_DLLTMPLMAPPING | ||||
| ) |
| osg::OSG_GEOPROP_DLLEXPORT_DEF | ( | GeoProperty | , | |
| GeoPositions3sPropertyDesc | , | |||
| OSG_SYSTEMLIB_DLLTMPLMAPPING | ||||
| ) |
| osg::OSG_GEOPROP_DLLEXPORT_DEF | ( | GeoProperty | , | |
| GeoPositions4sPropertyDesc | , | |||
| OSG_SYSTEMLIB_DLLTMPLMAPPING | ||||
| ) |
| osg::OSG_GEOPROP_DLLEXPORT_DEF | ( | GeoProperty | , | |
| GeoPTypesUI8PropertyDesc | , | |||
| OSG_SYSTEMLIB_DLLTMPLMAPPING | ||||
| ) |
| osg::OSG_GEOPROP_DLLEXPORT_DEF | ( | GeoProperty | , | |
| GeoTexCoords1fPropertyDesc | , | |||
| OSG_SYSTEMLIB_DLLTMPLMAPPING | ||||
| ) |
| osg::OSG_GEOPROP_DLLEXPORT_DEF | ( | GeoProperty | , | |
| GeoTexCoords2fPropertyDesc | , | |||
| OSG_SYSTEMLIB_DLLTMPLMAPPING | ||||
| ) |
| osg::OSG_GEOPROP_DLLEXPORT_DEF | ( | GeoProperty | , | |
| GeoTexCoords3fPropertyDesc | , | |||
| OSG_SYSTEMLIB_DLLTMPLMAPPING | ||||
| ) |
| osg::OSG_GEOPROP_DLLEXPORT_DEF | ( | GeoProperty | , | |
| GeoTexCoords4fPropertyDesc | , | |||
| OSG_SYSTEMLIB_DLLTMPLMAPPING | ||||
| ) |
| osg::OSG_GEOPROP_DLLEXPORT_DEF | ( | GeoProperty | , | |
| GeoTexCoords1dPropertyDesc | , | |||
| OSG_SYSTEMLIB_DLLTMPLMAPPING | ||||
| ) |
| osg::OSG_GEOPROP_DLLEXPORT_DEF | ( | GeoProperty | , | |
| GeoTexCoords2dPropertyDesc | , | |||
| OSG_SYSTEMLIB_DLLTMPLMAPPING | ||||
| ) |
| osg::OSG_GEOPROP_DLLEXPORT_DEF | ( | GeoProperty | , | |
| GeoTexCoords3dPropertyDesc | , | |||
| OSG_SYSTEMLIB_DLLTMPLMAPPING | ||||
| ) |
| osg::OSG_GEOPROP_DLLEXPORT_DEF | ( | GeoProperty | , | |
| GeoTexCoords4dPropertyDesc | , | |||
| OSG_SYSTEMLIB_DLLTMPLMAPPING | ||||
| ) |
| osg::OSG_DLLEXPORT_SFIELD_DEF1 | ( | SlicesPtr | , | |
| OSG_SYSTEMLIB_DLLTMPLMAPPING | ||||
| ) |
| osg::OSG_DLLEXPORT_MFIELD_DEF1 | ( | SlicesPtr | , | |
| OSG_SYSTEMLIB_DLLTMPLMAPPING | ||||
| ) |
| osg::OSG_DLLEXPORT_SFIELD_DEF1 | ( | ParticlesPtr | , | |
| OSG_SYSTEMLIB_DLLTMPLMAPPING | ||||
| ) |
| osg::OSG_DLLEXPORT_MFIELD_DEF1 | ( | ParticlesPtr | , | |
| OSG_SYSTEMLIB_DLLTMPLMAPPING | ||||
| ) |
| osg::OSG_DLLEXPORT_SFIELD_DEF1 | ( | DVRAppearancePtr | , | |
| OSG_SYSTEMLIB_DLLTMPLMAPPING | ||||
| ) |
| osg::OSG_DLLEXPORT_SFIELD_DEF1 | ( | DVRClipGeometryPtr | , | |
| OSG_SYSTEMLIB_DLLTMPLMAPPING | ||||
| ) |
| osg::OSG_DLLEXPORT_MFIELD_DEF1 | ( | DVRClipGeometryPtr | , | |
| OSG_SYSTEMLIB_DLLTMPLMAPPING | ||||
| ) |
| osg::OSG_DLLEXPORT_SFIELD_DEF1 | ( | DVRClipObjectsPtr | , | |
| OSG_SYSTEMLIB_DLLTMPLMAPPING | ||||
| ) |
| osg::OSG_DLLEXPORT_SFIELD_DEF1 | ( | DVRGeometryPtr | , | |
| OSG_SYSTEMLIB_DLLTMPLMAPPING | ||||
| ) |
| osg::OSG_DLLEXPORT_SFIELD_DEF1 | ( | DVRShaderPtr | , | |
| OSG_SYSTEMLIB_DLLTMPLMAPPING | ||||
| ) |
| osg::OSG_DLLEXPORT_SFIELD_DEF2 | ( | QBit | , | |
| 1 | , | |||
| OSG_SYSTEMLIB_DLLTMPLMAPPING | ||||
| ) |
| osg::OSG_DLLEXPORT_MFIELD_DEF2 | ( | QBit | , | |
| 1 | , | |||
| OSG_SYSTEMLIB_DLLTMPLMAPPING | ||||
| ) |
| osg::OSG_DLLEXPORT_SFIELD_DEF1 | ( | FatBorderChunkPtr | , | |
| OSG_SYSTEMLIB_DLLTMPLMAPPING | ||||
| ) |
| osg::OSG_DLLEXPORT_MFIELD_DEF1 | ( | FatBorderChunkPtr | , | |
| OSG_SYSTEMLIB_DLLTMPLMAPPING | ||||
| ) |
| osg::OSG_DLLEXPORT_SFIELD_DEF1 | ( | SurfacePtr | , | |
| OSG_SYSTEMLIB_DLLTMPLMAPPING | ||||
| ) |
| osg::OSG_DLLEXPORT_MFIELD_DEF1 | ( | SurfacePtr | , | |
| OSG_SYSTEMLIB_DLLTMPLMAPPING | ||||
| ) |
| osg::OSG_DLLEXPORT_SFIELD_DEF1 | ( | GroupPtr | , | |
| OSG_SYSTEMLIB_DLLTMPLMAPPING | ||||
| ) |
| osg::OSG_DLLEXPORT_MFIELD_DEF1 | ( | GroupPtr | , | |
| OSG_SYSTEMLIB_DLLTMPLMAPPING | ||||
| ) |
| osg::OSG_DLLEXPORT_SFIELD_DEF1 | ( | BillboardPtr | , | |
| OSG_SYSTEMLIB_DLLTMPLMAPPING | ||||
| ) |
| osg::OSG_DLLEXPORT_MFIELD_DEF1 | ( | BillboardPtr | , | |
| OSG_SYSTEMLIB_DLLTMPLMAPPING | ||||
| ) |
| osg::OSG_DLLEXPORT_SFIELD_DEF1 | ( | ClipPlanePtr | , | |
| OSG_SYSTEMLIB_DLLTMPLMAPPING | ||||
| ) |
| osg::OSG_DLLEXPORT_SFIELD_DEF1 | ( | ComponentTransformPtr | , | |
| OSG_SYSTEMLIB_DLLTMPLMAPPING | ||||
| ) |
| osg::OSG_DLLEXPORT_MFIELD_DEF1 | ( | ComponentTransformPtr | , | |
| OSG_SYSTEMLIB_DLLTMPLMAPPING | ||||
| ) |
| osg::OSG_DLLEXPORT_SFIELD_DEF1 | ( | InlinePtr | , | |
| OSG_SYSTEMLIB_DLLTMPLMAPPING | ||||
| ) |
| osg::OSG_DLLEXPORT_MFIELD_DEF1 | ( | InlinePtr | , | |
| OSG_SYSTEMLIB_DLLTMPLMAPPING | ||||
| ) |
| osg::OSG_DLLEXPORT_SFIELD_DEF1 | ( | InverseTransformPtr | , | |
| OSG_SYSTEMLIB_DLLTMPLMAPPING | ||||
| ) |
| osg::OSG_DLLEXPORT_MFIELD_DEF1 | ( | InverseTransformPtr | , | |
| OSG_SYSTEMLIB_DLLTMPLMAPPING | ||||
| ) |
| osg::OSG_DLLEXPORT_SFIELD_DEF1 | ( | MaterialGroupPtr | , | |
| OSG_SYSTEMLIB_DLLTMPLMAPPING | ||||
| ) |
| osg::OSG_DLLEXPORT_MFIELD_DEF1 | ( | MaterialGroupPtr | , | |
| OSG_SYSTEMLIB_DLLTMPLMAPPING | ||||
| ) |
| osg::OSG_DLLEXPORT_SFIELD_DEF1 | ( | MaterialPoolPtr | , | |
| OSG_SYSTEMLIB_DLLTMPLMAPPING | ||||
| ) |
| osg::OSG_DLLEXPORT_MFIELD_DEF1 | ( | MaterialPoolPtr | , | |
| OSG_SYSTEMLIB_DLLTMPLMAPPING | ||||
| ) |
| osg::OSG_DLLEXPORT_SFIELD_DEF1 | ( | ScreenGroupPtr | , | |
| OSG_SYSTEMLIB_DLLTMPLMAPPING | ||||
| ) |
| osg::OSG_DLLEXPORT_MFIELD_DEF1 | ( | ScreenGroupPtr | , | |
| OSG_SYSTEMLIB_DLLTMPLMAPPING | ||||
| ) |
| osg::OSG_DLLEXPORT_SFIELD_DEF1 | ( | SwitchPtr | , | |
| OSG_SYSTEMLIB_DLLTMPLMAPPING | ||||
| ) |
| osg::OSG_DLLEXPORT_MFIELD_DEF1 | ( | SwitchPtr | , | |
| OSG_SYSTEMLIB_DLLTMPLMAPPING | ||||
| ) |
| osg::OSG_DLLEXPORT_SFIELD_DEF1 | ( | TransformPtr | , | |
| OSG_SYSTEMLIB_DLLTMPLMAPPING | ||||
| ) |
| osg::OSG_DLLEXPORT_MFIELD_DEF1 | ( | TransformPtr | , | |
| OSG_SYSTEMLIB_DLLTMPLMAPPING | ||||
| ) |
| osg::OSG_DLLEXPORT_SFIELD_DEF1 | ( | BlendChunkPtr | , | |
| OSG_SYSTEMLIB_DLLTMPLMAPPING | ||||
| ) |
| osg::OSG_DLLEXPORT_MFIELD_DEF1 | ( | BlendChunkPtr | , | |
| OSG_SYSTEMLIB_DLLTMPLMAPPING | ||||
| ) |
| osg::OSG_DLLEXPORT_SFIELD_DEF1 | ( | ClipPlaneChunkPtr | , | |
| OSG_SYSTEMLIB_DLLTMPLMAPPING | ||||
| ) |
| osg::OSG_DLLEXPORT_MFIELD_DEF1 | ( | ClipPlaneChunkPtr | , | |
| OSG_SYSTEMLIB_DLLTMPLMAPPING | ||||
| ) |
| osg::OSG_DLLEXPORT_SFIELD_DEF1 | ( | ColorMaskChunkPtr | , | |
| OSG_SYSTEMLIB_DLLTMPLMAPPING | ||||
| ) |
| osg::OSG_DLLEXPORT_MFIELD_DEF1 | ( | ColorMaskChunkPtr | , | |
| OSG_SYSTEMLIB_DLLTMPLMAPPING | ||||
| ) |
| osg::OSG_DLLEXPORT_SFIELD_DEF1 | ( | CubeTextureChunkPtr | , | |
| OSG_SYSTEMLIB_DLLTMPLMAPPING | ||||
| ) |
| osg::OSG_DLLEXPORT_MFIELD_DEF1 | ( | CubeTextureChunkPtr | , | |
| OSG_SYSTEMLIB_DLLTMPLMAPPING | ||||
| ) |
| osg::OSG_DLLEXPORT_SFIELD_DEF1 | ( | DepthChunkPtr | , | |
| OSG_SYSTEMLIB_DLLTMPLMAPPING | ||||
| ) |
| osg::OSG_DLLEXPORT_MFIELD_DEF1 | ( | DepthChunkPtr | , | |
| OSG_SYSTEMLIB_DLLTMPLMAPPING | ||||
| ) |
| osg::OSG_DLLEXPORT_SFIELD_DEF1 | ( | FragmentProgramChunkPtr | , | |
| OSG_SYSTEMLIB_DLLTMPLMAPPING | ||||
| ) |
| osg::OSG_DLLEXPORT_MFIELD_DEF1 | ( | FragmentProgramChunkPtr | , | |
| OSG_SYSTEMLIB_DLLTMPLMAPPING | ||||
| ) |
| osg::OSG_DLLEXPORT_SFIELD_DEF1 | ( | LightChunkPtr | , | |
| OSG_SYSTEMLIB_DLLTMPLMAPPING | ||||
| ) |
| osg::OSG_DLLEXPORT_MFIELD_DEF1 | ( | LightChunkPtr | , | |
| OSG_SYSTEMLIB_DLLTMPLMAPPING | ||||
| ) |
| osg::OSG_DLLEXPORT_SFIELD_DEF1 | ( | LightModelChunkPtr | , | |
| OSG_SYSTEMLIB_DLLTMPLMAPPING | ||||
| ) |
| osg::OSG_DLLEXPORT_MFIELD_DEF1 | ( | LightModelChunkPtr | , | |
| OSG_SYSTEMLIB_DLLTMPLMAPPING | ||||
| ) |
| osg::OSG_DLLEXPORT_SFIELD_DEF1 | ( | LineChunkPtr | , | |
| OSG_SYSTEMLIB_DLLTMPLMAPPING | ||||
| ) |
| osg::OSG_DLLEXPORT_MFIELD_DEF1 | ( | LineChunkPtr | , | |
| OSG_SYSTEMLIB_DLLTMPLMAPPING | ||||
| ) |
| osg::OSG_DLLEXPORT_SFIELD_DEF1 | ( | LogicOpChunkPtr | , | |
| OSG_SYSTEMLIB_DLLTMPLMAPPING | ||||
| ) |
| osg::OSG_DLLEXPORT_MFIELD_DEF1 | ( | LogicOpChunkPtr | , | |
| OSG_SYSTEMLIB_DLLTMPLMAPPING | ||||
| ) |
| osg::OSG_DLLEXPORT_SFIELD_DEF1 | ( | MaterialChunkPtr | , | |
| OSG_SYSTEMLIB_DLLTMPLMAPPING | ||||
| ) |
| osg::OSG_DLLEXPORT_MFIELD_DEF1 | ( | MaterialChunkPtr | , | |
| OSG_SYSTEMLIB_DLLTMPLMAPPING | ||||
| ) |
| osg::OSG_DLLEXPORT_SFIELD_DEF1 | ( | PointChunkPtr | , | |
| OSG_SYSTEMLIB_DLLTMPLMAPPING | ||||
| ) |
| osg::OSG_DLLEXPORT_MFIELD_DEF1 | ( | PointChunkPtr | , | |
| OSG_SYSTEMLIB_DLLTMPLMAPPING | ||||
| ) |
| osg::OSG_DLLEXPORT_SFIELD_DEF1 | ( | PolygonChunkPtr | , | |
| OSG_SYSTEMLIB_DLLTMPLMAPPING | ||||
| ) |
| osg::OSG_DLLEXPORT_MFIELD_DEF1 | ( | PolygonChunkPtr | , | |
| OSG_SYSTEMLIB_DLLTMPLMAPPING | ||||
| ) |
| osg::OSG_DLLEXPORT_SFIELD_DEF1 | ( | ProgramChunkPtr | , | |
| OSG_SYSTEMLIB_DLLTMPLMAPPING | ||||
| ) |
| osg::OSG_DLLEXPORT_MFIELD_DEF1 | ( | ProgramChunkPtr | , | |
| OSG_SYSTEMLIB_DLLTMPLMAPPING | ||||
| ) |
| osg::OSG_DLLEXPORT_SFIELD_DEF1 | ( | RegisterCombinersChunkPtr | , | |
| OSG_SYSTEMLIB_DLLTMPLMAPPING | ||||
| ) |
| osg::OSG_DLLEXPORT_MFIELD_DEF1 | ( | RegisterCombinersChunkPtr | , | |
| OSG_SYSTEMLIB_DLLTMPLMAPPING | ||||
| ) |
| osg::OSG_DLLEXPORT_SFIELD_DEF1 | ( | SClipPlaneChunkPtr | , | |
| OSG_SYSTEMLIB_DLLTMPLMAPPING | ||||
| ) |
| osg::OSG_DLLEXPORT_MFIELD_DEF1 | ( | SClipPlaneChunkPtr | , | |
| OSG_SYSTEMLIB_DLLTMPLMAPPING | ||||
| ) |
| osg::OSG_DLLEXPORT_SFIELD_DEF1 | ( | StatePtr | , | |
| OSG_SYSTEMLIB_DLLTMPLMAPPING | ||||
| ) |
| osg::OSG_DLLEXPORT_MFIELD_DEF1 | ( | StatePtr | , | |
| OSG_SYSTEMLIB_DLLTMPLMAPPING | ||||
| ) |
| osg::OSG_DLLEXPORT_SFIELD_DEF1 | ( | StateChunkPtr | , | |
| OSG_SYSTEMLIB_DLLTMPLMAPPING | ||||
| ) |
| osg::OSG_DLLEXPORT_MFIELD_DEF1 | ( | StateChunkPtr | , | |
| OSG_SYSTEMLIB_DLLTMPLMAPPING | ||||
| ) |
| void osg::setTestCubeImages | ( | TextureChunkPtr | chunk | ) |
Definition at line 673 of file OSGTestCubeMaps.cpp.
References beginEditCP(), osg::ImageBase::create(), osg::AttachmentPtr::dcast(), endEditCP(), NullFC, TestCubeBackData, TestCubeDownData, TestCubeFrontData, TestCubeLeftData, TestCubeRightData, and TestCubeUpData.
00674 { 00675 ImagePtr img; 00676 00677 CubeTextureChunkPtr cchunk = CubeTextureChunkPtr::dcast(chunk); 00678 00679 if(cchunk != NullFC) 00680 { 00681 beginEditCP(cchunk); 00682 00683 img = Image::create(); 00684 img->restore(TestCubeFrontData, sizeof(TestCubeFrontData)); 00685 cchunk->setImage(img); 00686 00687 img = Image::create(); 00688 img->restore(TestCubeBackData, sizeof(TestCubeBackData)); 00689 cchunk->setPosZImage(img); 00690 00691 img = Image::create(); 00692 img->restore(TestCubeLeftData, sizeof(TestCubeLeftData)); 00693 cchunk->setNegXImage(img); 00694 00695 img = Image::create(); 00696 img->restore(TestCubeRightData, sizeof(TestCubeRightData)); 00697 cchunk->setPosXImage(img); 00698 00699 img = Image::create(); 00700 img->restore(TestCubeDownData, sizeof(TestCubeDownData)); 00701 cchunk->setNegYImage(img); 00702 00703 img = Image::create(); 00704 img->restore(TestCubeUpData, sizeof(TestCubeUpData)); 00705 cchunk->setPosYImage(img); 00706 00707 endEditCP(cchunk); 00708 } 00709 else 00710 { 00711 img = Image::create(); 00712 img->restore(TestCubeRightData, sizeof(TestCubeRightData)); 00713 00714 ImagePtr image = Image::create(); 00715 beginEditCP(image); 00716 00717 image->set(img->getPixelFormat(), img->getWidth(), img->getHeight(), 00718 1, 1, 1, 0, NULL, img->getDataType(), true, 6 ); 00719 00720 UInt8 *d = image->getData(); 00721 00722 memcpy(d, img->getData(), image->getSize(true, true, false)); 00723 d += image->getSize(true, true, false); 00724 00725 img = Image::create(); 00726 img->restore(TestCubeLeftData, sizeof(TestCubeLeftData)); 00727 memcpy(d, img->getData(), image->getSize(true, true, false)); 00728 d += image->getSize(true, true, false); 00729 00730 img = Image::create(); 00731 img->restore(TestCubeUpData, sizeof(TestCubeUpData)); 00732 memcpy(d, img->getData(), image->getSize(true, true, false)); 00733 d += image->getSize(true, true, false); 00734 00735 img = Image::create(); 00736 img->restore(TestCubeDownData, sizeof(TestCubeDownData)); 00737 memcpy(d, img->getData(), image->getSize(true, true, false)); 00738 d += image->getSize(true, true, false); 00739 00740 img = Image::create(); 00741 img->restore(TestCubeFrontData, sizeof(TestCubeFrontData)); 00742 memcpy(d, img->getData(), image->getSize(true, true, false)); 00743 d += image->getSize(true, true, false); 00744 00745 img = Image::create(); 00746 img->restore(TestCubeBackData, sizeof(TestCubeBackData)); 00747 memcpy(d, img->getData(), image->getSize(true, true, false)); 00748 d += image->getSize(true, true, false); 00749 00750 endEditCP(image); 00751 00752 beginEditCP(chunk); 00753 chunk->setImage(image); 00754 endEditCP(chunk); 00755 } 00756 00757 }
| osg::OSG_DLLEXPORT_SFIELD_DEF1 | ( | TexGenChunkPtr | , | |
| OSG_SYSTEMLIB_DLLTMPLMAPPING | ||||
| ) |
| osg::OSG_DLLEXPORT_MFIELD_DEF1 | ( | TexGenChunkPtr | , | |
| OSG_SYSTEMLIB_DLLTMPLMAPPING | ||||
| ) |
| osg::OSG_DLLEXPORT_SFIELD_DEF1 | ( | TextureChunkPtr | , | |
| OSG_SYSTEMLIB_DLLTMPLMAPPING | ||||
| ) |
| osg::OSG_DLLEXPORT_MFIELD_DEF1 | ( | TextureChunkPtr | , | |
| OSG_SYSTEMLIB_DLLTMPLMAPPING | ||||
| ) |
| osg::OSG_DLLEXPORT_SFIELD_DEF1 | ( | TextureTransformChunkPtr | , | |
| OSG_SYSTEMLIB_DLLTMPLMAPPING | ||||
| ) |
| osg::OSG_DLLEXPORT_MFIELD_DEF1 | ( | TextureTransformChunkPtr | , | |
| OSG_SYSTEMLIB_DLLTMPLMAPPING | ||||
| ) |
| osg::OSG_DLLEXPORT_SFIELD_DEF1 | ( | TransformChunkPtr | , | |
| OSG_SYSTEMLIB_DLLTMPLMAPPING | ||||
| ) |
| osg::OSG_DLLEXPORT_MFIELD_DEF1 | ( | TransformChunkPtr | , | |
| OSG_SYSTEMLIB_DLLTMPLMAPPING | ||||
| ) |
| osg::OSG_DLLEXPORT_SFIELD_DEF1 | ( | VertexProgramChunkPtr | , | |
| OSG_SYSTEMLIB_DLLTMPLMAPPING | ||||
| ) |
| osg::OSG_DLLEXPORT_MFIELD_DEF1 | ( | VertexProgramChunkPtr | , | |
| OSG_SYSTEMLIB_DLLTMPLMAPPING | ||||
| ) |
| osg::OSG_DLLEXPORT_SFIELD_DEF1 | ( | GraphicStatisticsForegroundPtr | , | |
| OSG_SYSTEMLIB_DLLTMPLMAPPING | ||||
| ) |
| osg::OSG_DLLEXPORT_MFIELD_DEF1 | ( | GraphicStatisticsForegroundPtr | , | |
| OSG_SYSTEMLIB_DLLTMPLMAPPING | ||||
| ) |
| osg::OSG_DLLEXPORT_SFIELD_DEF1 | ( | SimpleStatisticsForegroundPtr | , | |
| OSG_SYSTEMLIB_DLLTMPLMAPPING | ||||
| ) |
| osg::OSG_DLLEXPORT_MFIELD_DEF1 | ( | SimpleStatisticsForegroundPtr | , | |
| OSG_SYSTEMLIB_DLLTMPLMAPPING | ||||
| ) |
| osg::OSG_DLLEXPORT_SFIELD_DEF1 | ( | StatCollector | , | |
| OSG_SYSTEMLIB_DLLTMPLMAPPING | ||||
| ) |
| TextTXFFace* osg::getStatisticsDefaultFont | ( | ) |
| TextureChunkPtr osg::getStatisticsDefaultFontTexture | ( | ) |
| osg::OSG_DLLEXPORT_SFIELD_DEF1 | ( | StatisticsForegroundPtr | , | |
| OSG_SYSTEMLIB_DLLTMPLMAPPING | ||||
| ) |
| osg::OSG_DLLEXPORT_MFIELD_DEF1 | ( | StatisticsForegroundPtr | , | |
| OSG_SYSTEMLIB_DLLTMPLMAPPING | ||||
| ) |
| static wchar_t osg::utf8Char2Unicode | ( | const char *& | str | ) | [static] |
Definition at line 283 of file OSGTextFace.cpp.
00284 { 00285 char c = *str++; 00286 if ((c & 0x80) == 0) 00287 return c; 00288 if (((c & 0xc0) == 0x80) || ((c & 0xfe) == 0xfe)) // should never happen 00289 return (unsigned char)c; 00290 char mask = 0xe0, value = 0xc0; 00291 int i; 00292 for (i = 1; i < 6; ++i) 00293 { 00294 if ((c & mask) == value) 00295 break; 00296 value = mask; 00297 mask >>= 1; 00298 } 00299 wchar_t result = c & ~mask; 00300 for (; i > 0; --i) 00301 { 00302 c = *str++; 00303 if ((c & 0xc0) != 0x80) // should never happen 00304 ; // TODO 00305 result <<= 6; 00306 result |= c & 0x3f; 00307 } 00308 return result; 00309 }
| static bool osg::terminateFaceFactory | ( | ) | [static] |
Definition at line 69 of file OSGTextFaceFactory.cpp.
Referenced by osg::TextFaceFactory::TextFaceFactory().
00070 { 00071 // we need this extra valid flag because the compiler creates 00072 // some atexit() code for destruction of the TextFaceFactory instance 00073 // and this would conflict with osgExit() which is also called via atexit()! 00074 // The osgExit() would be called after the TextFaceFactory instance has already 00075 // been destroyed ... 00076 00077 if(TextFaceFactory::isValid()) 00078 TextFaceFactory::the().clearCache(); 00079 //else already destroyed do nothing. 00080 return true; 00081 }
| static UInt32 osg::readLong | ( | istream & | is, | |
| bool | swap | |||
| ) | [static] |
Definition at line 356 of file OSGTextTXFFace.cpp.
00357 { 00358 UInt8 bytes[4]; 00359 is.read((istream::char_type*)(bytes), 4); 00360 return swap ? 00361 (bytes[3] << 24) | 00362 (bytes[2] << 16) | 00363 (bytes[1] << 8) | 00364 bytes[0] 00365 : 00366 (bytes[0] << 24) | 00367 (bytes[1] << 16) | 00368 (bytes[2] << 8) | 00369 bytes[3]; 00370 }
| static UInt16 osg::readShort | ( | istream & | is, | |
| bool | swap | |||
| ) | [static] |
Definition at line 377 of file OSGTextTXFFace.cpp.
00378 { 00379 UInt8 bytes[2]; 00380 is.read((istream::char_type*)(bytes), 2); 00381 return swap ? 00382 (bytes[1] << 8) | 00383 bytes[0] 00384 : 00385 (bytes[0] << 8) | 00386 bytes[1]; 00387 }
| static void osg::writeLong | ( | ostream & | os, | |
| UInt32 | value | |||
| ) | [static] |
Definition at line 585 of file OSGTextTXFFace.cpp.
00586 { 00587 UInt8 bytes[4]; 00588 bytes[0] = static_cast<UInt8>((value >> 24) & 0xff); 00589 bytes[1] = static_cast<UInt8>((value >> 16) & 0xff); 00590 bytes[2] = static_cast<UInt8>((value >> 8) & 0xff); 00591 bytes[3] = static_cast<UInt8>(value & 0xff); 00592 os.write(reinterpret_cast<ostream::char_type*>(bytes), 4); 00593 }
| static void osg::writeShort | ( | ostream & | os, | |
| UInt16 | value | |||
| ) | [static] |
| static void osg::evalCubicBezierCurve | ( | const Vec2f & | pt1, | |
| const Vec2f & | pt2, | |||
| const Vec2f & | pt3, | |||
| const Vec2f & | pt4, | |||
| const UInt32 | level, | |||
| vector< Vec2f > & | coords | |||
| ) | [static] |
Definition at line 126 of file OSGTextVectorGlyph.cpp.
Referenced by evalBezierCurve().
00128 { 00129 // granularity for the detail level 00130 const UInt32 knotsPerLevel = 3; 00131 // number of points generated for detail level n 00132 const UInt32 steps = knotsPerLevel * (level + 1) - 1; 00133 00134 const Real32 h = 1.0f / steps; 00135 const Real32 hh = h * h; // h squared 00136 const Real32 hhh = h * hh; // h cube 00137 00138 // initialize taylor coefficients for a bezier curve f at x=0 00139 // f = f, f' = df, f'' = ddf, f''' = dddf 00140 Vec2f f = pt1; 00141 Vec2f df = (pt2 - pt1) * 3.0f * h; 00142 00143 Vec2f ddf_div_2 = (pt1 - pt2 * 2.0f + pt3) * 3.0f * hh; 00144 Vec2f ddf = ddf_div_2 + ddf_div_2; 00145 00146 const Vec2f dddf_div_2 = ((pt2 - pt3) * 3.0f + pt4 - pt1) * 3.0f * hhh; 00147 const Vec2f dddf = dddf_div_2 + dddf_div_2; 00148 const Vec2f dddf_div_6 = dddf_div_2 * (1.0f / 3.0f); 00149 00150 // sum up the taylor coefficients to obtain f(x+h) 00151 UInt32 i; 00152 for (i = steps; i > 0; --i) 00153 { 00154 coords.push_back(f); 00155 // taylor series of a cubic bezier curve (i.e. polynomial) f 00156 // and its derivatives f', f'' 00157 f += df + ddf_div_2 + dddf_div_6; 00158 df += ddf + dddf_div_2; 00159 ddf += dddf; 00160 ddf_div_2 += dddf_div_2; 00161 } 00162 }
| static void osg::evalQuadraticBezierCurve | ( | const Vec2f & | pt1, | |
| const Vec2f & | pt2, | |||
| const Vec2f & | pt3, | |||
| const UInt32 | level, | |||
| vector< Vec2f > & | coords | |||
| ) | [static] |
Definition at line 174 of file OSGTextVectorGlyph.cpp.
Referenced by evalBezierCurve().
00176 { 00177 const UInt32 knotsPerLevel = 3; 00178 // determines the number of points generated for level n 00179 const UInt32 steps = knotsPerLevel * (level + 1) - 1; 00180 00181 const Real32 h = 1.0f / steps; 00182 const Real32 hh = h * h; 00183 00184 // f(0) 00185 Vec2f f = pt1; 00186 00187 // df(0) = -2*P_0 + 2P_1 00188 Vec2f df = (pt2 - pt1) * 2.f * h; 00189 00190 // ddf(0) = 2*P_0 - 4*P_1 + 2*P_2 00191 const Vec2f ddf_div_2 = (pt1 - pt2 * 2.f + pt3) * hh; 00192 const Vec2f ddf = ddf_div_2 + ddf_div_2; 00193 00194 // sum up the taylor coefficients to obtain f(x+h) 00195 UInt32 i; 00196 for (i = steps; i > 0; --i) 00197 { 00198 coords.push_back(f); 00199 // taylor series of a quadratic bezier curve (i.e polynomial) f 00200 f += df + ddf_div_2; 00201 df += ddf; 00202 } 00203 }
| static void osg::evalBezierCurve | ( | const TextVectorGlyph::Contour & | contour, | |
| UInt32 & | index, | |||
| const UInt32 | level, | |||
| vector< Vec2f > & | coords | |||
| ) | [static] |
Definition at line 214 of file OSGTextVectorGlyph.cpp.
References evalCubicBezierCurve(), evalQuadraticBezierCurve(), osg::TextVectorGlyph::Point::PT_CUBIC, osg::TextVectorGlyph::Point::PT_ON, and osg::TextVectorGlyph::Point::PT_QUAD.
Referenced by osg::TextVectorGlyph::getLines().
00217 { 00218 assert(index + 1 < contour.size()); 00219 switch (contour[index + 1].type) 00220 { 00221 // linear segment - copy first point only 00222 case TextVectorGlyph::Point::PT_ON: 00223 assert(index < contour.size()); 00224 coords.push_back(contour[index].pos); 00225 ++index; 00226 break; 00227 // quadratic segment - last point point omitted by evaluation function 00228 case TextVectorGlyph::Point::PT_QUAD: 00229 assert(index + 2 < contour.size()); 00230 evalQuadraticBezierCurve(contour[index].pos, contour[index + 1].pos, contour[index + 2].pos, level, coords); 00231 index += 2; 00232 break; 00233 // cubic segment - last point point omitted by evaluation function 00234 case TextVectorGlyph::Point::PT_CUBIC: 00235 assert(index + 3 < contour.size()); 00236 evalCubicBezierCurve(contour[index].pos, contour[index + 1].pos, contour[index + 2].pos, contour[index + 3].pos, level, coords); 00237 index += 3; 00238 break; 00239 default: 00240 assert(false); 00241 break; 00242 } 00243 }
| static void OSG_APIENTRY osg::gluTessBeginDataCB | ( | GLenum | type, | |
| void * | polygonData | |||
| ) | [static] |
Definition at line 250 of file OSGTextVectorGlyph.cpp.
References osg::TextVectorGlyph::PolygonOutline::types.
Referenced by createConvexPrimitives(), and osg::TextVectorGlyph::getLines().
00251 { 00252 TextVectorGlyph::PolygonOutline *outline = reinterpret_cast<TextVectorGlyph::PolygonOutline*>(polygonData); 00253 assert(outline != 0); 00254 outline->types.push_back(TextVectorGlyph::PolygonOutline::TypeIndex(type, 0)); 00255 }
| static void OSG_APIENTRY osg::gluTessEndDataCB | ( | void * | polygonData | ) | [static] |
Definition at line 262 of file OSGTextVectorGlyph.cpp.
References osg::TextVectorGlyph::PolygonOutline::indices, and osg::TextVectorGlyph::PolygonOutline::types.
Referenced by osg::TextVectorGlyph::getLines().
00263 { 00264 TextVectorGlyph::PolygonOutline *outline = reinterpret_cast<TextVectorGlyph::PolygonOutline*>(polygonData); 00265 assert(outline != 0); 00266 assert(outline->types.empty() == false); 00267 outline->types.back().second = outline->indices.size(); 00268 }
| static void OSG_APIENTRY osg::gluTessVertexDataCB | ( | void * | vertexData, | |
| void * | polygonData | |||
| ) | [static] |
Definition at line 276 of file OSGTextVectorGlyph.cpp.
References osg::TextVectorGlyph::PolygonOutline::indices.
Referenced by createConvexPrimitives(), and osg::TextVectorGlyph::getLines().
00277 { 00278 TextVectorGlyph::PolygonOutline *outline = reinterpret_cast<TextVectorGlyph::PolygonOutline*>(polygonData); 00279 00280 // Go via 64 bit int to avoid problems on 64 bit machines 00281 UInt64 coordIndexHelp = (UInt64)vertexData; 00282 UInt32 coordIndex = static_cast<UInt32>(coordIndexHelp); 00283 00284 assert(outline != 0); 00285 outline->indices.push_back(coordIndex); 00286 }
| static void OSG_APIENTRY osg::gluTessCombineDataCB | ( | GLdouble | coords[3], | |
| void * | vertexData[4], | |||
| GLfloat | weight[4], | |||
| void ** | outDatab, | |||
| void * | polygonData | |||
| ) | [static] |
Definition at line 295 of file OSGTextVectorGlyph.cpp.
References osg::TextVectorGlyph::PolygonOutline::coords.
Referenced by osg::TextVectorGlyph::getLines().
00298 { 00299 TextVectorGlyph::PolygonOutline *outline = reinterpret_cast<TextVectorGlyph::PolygonOutline*>(polygonData); 00300 assert(outDatab != 0); 00301 *outDatab = reinterpret_cast<void*>(outline->coords.size()); 00302 assert(outline != 0); 00303 outline->coords.push_back(Vec2f(coords[0], coords[1])); 00304 }
| static Vec2f osg::computeEdgeNormal | ( | const Vec2f & | a, | |
| const Vec2f & | b, | |||
| bool | cw | |||
| ) | [static] |
Definition at line 405 of file OSGTextVectorGlyph.cpp.
References osg::VectorInterface< ValueTypeT, StorageInterfaceT >::normalize().
Referenced by osg::TextVectorGlyph::computeContourOrientations(), osg::TextVectorGlyph::getNormals(), and isLeft().
00406 { 00407 Vec2f d = b - a; 00408 d.normalize(); 00409 return cw == true ? Vec2f(d.y(), -d.x()) : Vec2f(-d.y(), d.x()); 00410 }
| static bool osg::isLeft | ( | const Vec2f & | a, | |
| const Vec2f & | b, | |||
| const Vec2f & | point | |||
| ) | [static] |
Definition at line 498 of file OSGTextVectorGlyph.cpp.
References computeEdgeNormal(), and osg::VectorInterface< ValueTypeT, StorageInterfaceT >::dot().
Referenced by calcWindingNumber().
00499 { 00500 // compute the normal pointing into the left half plane of the oriented 00501 // line 00502 Vec2f n = computeEdgeNormal(a, b, false); 00503 // the dot product is >0 when two vectors point into the same direction 00504 return n.dot(point - a) > 0.f; 00505 }
| static Int32 osg::calcWindingNumber | ( | const vector< Vec2f > & | coords, | |
| UInt32 | start, | |||
| UInt32 | end, | |||
| const Vec2f & | point | |||
| ) | [static] |
Definition at line 514 of file OSGTextVectorGlyph.cpp.
References isLeft().
Referenced by isInteriorPoint().
00515 { 00516 Int32 windingNumber = 0; 00517 assert(end - 1 < coords.size()); 00518 const Vec2f *prevPoint = &(coords[end - 1]); 00519 UInt32 i; 00520 for (i = start; i < end; ++i) 00521 { 00522 assert(i < coords.size()); 00523 const Vec2f *curPoint = &(coords[i]); 00524 if (prevPoint->y() <= point.y()) 00525 { 00526 // upward crossing 00527 if (curPoint->y() > point.y()) 00528 { 00529 if (isLeft(*prevPoint, *curPoint, point) == true) 00530 windingNumber++; 00531 } 00532 } 00533 else // prevPoint->y() > point.y() 00534 { 00535 // downward crossing 00536 if (curPoint->y() < point.y()) 00537 { 00538 if (isLeft(*prevPoint, *curPoint, point) == false) 00539 windingNumber--; 00540 } 00541 } 00542 prevPoint = curPoint; 00543 } 00544 00545 return windingNumber; 00546 }
| static bool osg::isInteriorPoint | ( | const Vec2f & | point, | |
| const TextVectorGlyph::PolygonOutline & | outline, | |||
| GLenum | windingRule | |||
| ) | [static] |
Definition at line 553 of file OSGTextVectorGlyph.cpp.
References calcWindingNumber(), osg::TextVectorGlyph::PolygonOutline::contours, osg::TextVectorGlyph::PolygonOutline::coords, and start.
Referenced by osg::TextVectorGlyph::computeContourOrientations().
00554 { 00555 Int32 totalWindingNumber = 0; 00556 UInt32 start = 0, end; 00557 vector<UInt32>::const_iterator it; 00558 for (it = outline.contours.begin(); it != outline.contours.end(); ++it) 00559 { 00560 end = *it; 00561 totalWindingNumber += calcWindingNumber(outline.coords, start, end, point); 00562 start = end; 00563 } 00564 00565 switch(windingRule) 00566 { 00567 case GLU_TESS_WINDING_NONZERO: 00568 return totalWindingNumber != 0; 00569 case GLU_TESS_WINDING_ODD: 00570 return totalWindingNumber % 2; 00571 default: 00572 return false; 00573 } 00574 }
| osg::OSG_DLLEXPORT_SFIELD_DEF1 | ( | BackgroundPtr | , | |
| OSG_SYSTEMLIB_DLLTMPLMAPPING | ||||
| ) |
| osg::OSG_DLLEXPORT_MFIELD_DEF1 | ( | BackgroundPtr | , | |
| OSG_SYSTEMLIB_DLLTMPLMAPPING | ||||
| ) |
| osg::OSG_DLLEXPORT_SFIELD_DEF1 | ( | CameraPtr | , | |
| OSG_SYSTEMLIB_DLLTMPLMAPPING | ||||
| ) |
| osg::OSG_DLLEXPORT_MFIELD_DEF1 | ( | CameraPtr | , | |
| OSG_SYSTEMLIB_DLLTMPLMAPPING | ||||
| ) |
| osg::OSG_DLLEXPORT_SFIELD_DEF1 | ( | CameraDecoratorPtr | , | |
| OSG_SYSTEMLIB_DLLTMPLMAPPING | ||||
| ) |
| osg::OSG_DLLEXPORT_MFIELD_DEF1 | ( | CameraDecoratorPtr | , | |
| OSG_SYSTEMLIB_DLLTMPLMAPPING | ||||
| ) |
| osg::OSG_DLLEXPORT_SFIELD_DEF1 | ( | ColorBufferViewportPtr | , | |
| OSG_SYSTEMLIB_DLLTMPLMAPPING | ||||
| ) |
| osg::OSG_DLLEXPORT_MFIELD_DEF1 | ( | ColorBufferViewportPtr | , | |
| OSG_SYSTEMLIB_DLLTMPLMAPPING | ||||
| ) |
| osg::OSG_DLLEXPORT_SFIELD_DEF1 | ( | ColorDisplayFilterPtr | , | |
| OSG_SYSTEMLIB_DLLTMPLMAPPING | ||||
| ) |
| osg::OSG_DLLEXPORT_MFIELD_DEF1 | ( | ColorDisplayFilterPtr | , | |
| OSG_SYSTEMLIB_DLLTMPLMAPPING | ||||
| ) |
| osg::OSG_DLLEXPORT_SFIELD_DEF1 | ( | DepthClearBackgroundPtr | , | |
| OSG_SYSTEMLIB_DLLTMPLMAPPING | ||||
| ) |
| osg::OSG_DLLEXPORT_SFIELD_DEF1 | ( | DisplayFilterPtr | , | |
| OSG_SYSTEMLIB_DLLTMPLMAPPING | ||||
| ) |
| osg::OSG_DLLEXPORT_MFIELD_DEF1 | ( | DisplayFilterPtr | , | |
| OSG_SYSTEMLIB_DLLTMPLMAPPING | ||||
| ) |
| osg::OSG_DLLEXPORT_SFIELD_DEF1 | ( | DisplayFilterForegroundPtr | , | |
| OSG_SYSTEMLIB_DLLTMPLMAPPING | ||||
| ) |
| osg::OSG_DLLEXPORT_MFIELD_DEF1 | ( | DisplayFilterForegroundPtr | , | |
| OSG_SYSTEMLIB_DLLTMPLMAPPING | ||||
| ) |
| osg::OSG_DLLEXPORT_SFIELD_DEF1 | ( | DistortionDisplayFilterPtr | , | |
| OSG_SYSTEMLIB_DLLTMPLMAPPING | ||||
| ) |
| osg::OSG_DLLEXPORT_MFIELD_DEF1 | ( | DistortionDisplayFilterPtr | , | |
| OSG_SYSTEMLIB_DLLTMPLMAPPING | ||||
| ) |
| osg::OSG_DLLEXPORT_SFIELD_DEF1 | ( | FBOViewportPtr | , | |
| OSG_SYSTEMLIB_DLLTMPLMAPPING | ||||
| ) |
| osg::OSG_DLLEXPORT_MFIELD_DEF1 | ( | FBOViewportPtr | , | |
| OSG_SYSTEMLIB_DLLTMPLMAPPING | ||||
| ) |
| osg::OSG_DLLEXPORT_SFIELD_DEF1 | ( | FileGrabForegroundPtr | , | |
| OSG_SYSTEMLIB_DLLTMPLMAPPING | ||||
| ) |
| osg::OSG_DLLEXPORT_MFIELD_DEF1 | ( | FileGrabForegroundPtr | , | |
| OSG_SYSTEMLIB_DLLTMPLMAPPING | ||||
| ) |
| osg::OSG_DLLEXPORT_SFIELD_DEF1 | ( | ForegroundPtr | , | |
| OSG_SYSTEMLIB_DLLTMPLMAPPING | ||||
| ) |
| osg::OSG_DLLEXPORT_MFIELD_DEF1 | ( | ForegroundPtr | , | |
| OSG_SYSTEMLIB_DLLTMPLMAPPING | ||||
| ) |
| osg::OSG_DLLEXPORT_SFIELD_DEF1 | ( | GrabForegroundPtr | , | |
| OSG_SYSTEMLIB_DLLTMPLMAPPING | ||||
| ) |
| osg::OSG_DLLEXPORT_MFIELD_DEF1 | ( | GrabForegroundPtr | , | |
| OSG_SYSTEMLIB_DLLTMPLMAPPING | ||||
| ) |
| osg::OSG_DLLEXPORT_MFIELD_DEF1 | ( | GradientBackgroundPtr | , | |
| OSG_SYSTEMLIB_DLLTMPLMAPPING | ||||
| ) |
| osg::OSG_DLLEXPORT_SFIELD_DEF1 | ( | ImageBackgroundPtr | , | |
| OSG_SYSTEMLIB_DLLTMPLMAPPING | ||||
| ) |
| osg::OSG_DLLEXPORT_SFIELD_DEF1 | ( | ImageForegroundPtr | , | |
| OSG_SYSTEMLIB_DLLTMPLMAPPING | ||||
| ) |
| osg::OSG_DLLEXPORT_MFIELD_DEF1 | ( | ImageForegroundPtr | , | |
| OSG_SYSTEMLIB_DLLTMPLMAPPING | ||||
| ) |
| osg::OSG_DLLEXPORT_SFIELD_DEF1 | ( | MatrixCameraPtr | , | |
| OSG_SYSTEMLIB_DLLTMPLMAPPING | ||||
| ) |
| osg::OSG_DLLEXPORT_MFIELD_DEF1 | ( | MatrixCameraPtr | , | |
| OSG_SYSTEMLIB_DLLTMPLMAPPING | ||||
| ) |
| osg::OSG_DLLEXPORT_SFIELD_DEF1 | ( | MatrixCameraDecoratorPtr | , | |
| OSG_SYSTEMLIB_DLLTMPLMAPPING | ||||
| ) |
| osg::OSG_DLLEXPORT_MFIELD_DEF1 | ( | MatrixCameraDecoratorPtr | , | |
| OSG_SYSTEMLIB_DLLTMPLMAPPING | ||||
| ) |
| osg::OSG_DLLEXPORT_SFIELD_DEF1 | ( | OffCenterPerspectiveCameraPtr | , | |
| OSG_SYSTEMLIB_DLLTMPLMAPPING | ||||
| ) |
| osg::OSG_DLLEXPORT_MFIELD_DEF1 | ( | OffCenterPerspectiveCameraPtr | , | |
| OSG_SYSTEMLIB_DLLTMPLMAPPING | ||||
| ) |
| osg::OSG_DLLEXPORT_SFIELD_DEF1 | ( | OrthographicCameraPtr | , | |
| OSG_SYSTEMLIB_DLLTMPLMAPPING | ||||
| ) |
| osg::OSG_DLLEXPORT_MFIELD_DEF1 | ( | OrthographicCameraPtr | , | |
| OSG_SYSTEMLIB_DLLTMPLMAPPING | ||||
| ) |
| osg::OSG_DLLEXPORT_SFIELD_DEF1 | ( | PassiveBackgroundPtr | , | |
| OSG_SYSTEMLIB_DLLTMPLMAPPING | ||||
| ) |
| osg::OSG_DLLEXPORT_SFIELD_DEF1 | ( | PassiveViewportPtr | , | |
| OSG_SYSTEMLIB_DLLTMPLMAPPING | ||||
| ) |
| osg::OSG_DLLEXPORT_MFIELD_DEF1 | ( | PassiveViewportPtr | , | |
| OSG_SYSTEMLIB_DLLTMPLMAPPING | ||||
| ) |
| osg::OSG_DLLEXPORT_SFIELD_DEF1 | ( | PassiveWindowPtr | , | |
| OSG_SYSTEMLIB_DLLTMPLMAPPING | ||||
| ) |
| osg::OSG_DLLEXPORT_MFIELD_DEF1 | ( | PassiveWindowPtr | , | |
| OSG_SYSTEMLIB_DLLTMPLMAPPING | ||||
| ) |
| osg::OSG_DLLEXPORT_SFIELD_DEF1 | ( | PerspectiveCameraPtr | , | |
| OSG_SYSTEMLIB_DLLTMPLMAPPING | ||||
| ) |
| osg::OSG_DLLEXPORT_MFIELD_DEF1 | ( | PerspectiveCameraPtr | , | |
| OSG_SYSTEMLIB_DLLTMPLMAPPING | ||||
| ) |
| osg::OSG_DLLEXPORT_SFIELD_DEF1 | ( | PolygonBackgroundPtr | , | |
| OSG_SYSTEMLIB_DLLTMPLMAPPING | ||||
| ) |
| osg::OSG_DLLEXPORT_MFIELD_DEF1 | ( | PolygonBackgroundPtr | , | |
| OSG_SYSTEMLIB_DLLTMPLMAPPING | ||||
| ) |
| osg::OSG_DLLEXPORT_SFIELD_DEF1 | ( | PolygonForegroundPtr | , | |
| OSG_SYSTEMLIB_DLLTMPLMAPPING | ||||
| ) |
| osg::OSG_DLLEXPORT_MFIELD_DEF1 | ( | PolygonForegroundPtr | , | |
| OSG_SYSTEMLIB_DLLTMPLMAPPING | ||||
| ) |
| osg::OSG_DLLEXPORT_SFIELD_DEF1 | ( | ProjectionCameraDecoratorPtr | , | |
| OSG_SYSTEMLIB_DLLTMPLMAPPING | ||||
| ) |
| osg::OSG_DLLEXPORT_MFIELD_DEF1 | ( | ProjectionCameraDecoratorPtr | , | |
| OSG_SYSTEMLIB_DLLTMPLMAPPING | ||||
| ) |
| osg::OSG_DLLEXPORT_SFIELD_DEF1 | ( | ResolutionDisplayFilterPtr | , | |
| OSG_SYSTEMLIB_DLLTMPLMAPPING | ||||
| ) |
| osg::OSG_DLLEXPORT_MFIELD_DEF1 | ( | ResolutionDisplayFilterPtr | , | |
| OSG_SYSTEMLIB_DLLTMPLMAPPING | ||||
| ) |
| osg::OSG_DLLEXPORT_SFIELD_DEF1 | ( | ShearedStereoCameraDecoratorPtr | , | |
| OSG_SYSTEMLIB_DLLTMPLMAPPING | ||||
| ) |
| osg::OSG_DLLEXPORT_MFIELD_DEF1 | ( | ShearedStereoCameraDecoratorPtr | , | |
| OSG_SYSTEMLIB_DLLTMPLMAPPING | ||||
| ) |
| osg::OSG_DLLEXPORT_MFIELD_DEF1 | ( | SkyBackgroundPtr | , | |
| OSG_SYSTEMLIB_DLLTMPLMAPPING | ||||
| ) |
| osg::OSG_DLLEXPORT_SFIELD_DEF1 | ( | SolidBackgroundPtr | , | |
| OSG_SYSTEMLIB_DLLTMPLMAPPING | ||||
| ) |
| osg::OSG_DLLEXPORT_SFIELD_DEF1 | ( | StereoBufferViewportPtr | , | |
| OSG_SYSTEMLIB_DLLTMPLMAPPING | ||||
| ) |
| osg::OSG_DLLEXPORT_MFIELD_DEF1 | ( | StereoBufferViewportPtr | , | |
| OSG_SYSTEMLIB_DLLTMPLMAPPING | ||||
| ) |
| osg::OSG_DLLEXPORT_SFIELD_DEF1 | ( | StereoCameraDecoratorPtr | , | |
| OSG_SYSTEMLIB_DLLTMPLMAPPING | ||||
| ) |
| osg::OSG_DLLEXPORT_MFIELD_DEF1 | ( | StereoCameraDecoratorPtr | , | |
| OSG_SYSTEMLIB_DLLTMPLMAPPING | ||||
| ) |
| osg::OSG_DLLEXPORT_SFIELD_DEF1 | ( | TextureBackgroundPtr | , | |
| OSG_SYSTEMLIB_DLLTMPLMAPPING | ||||
| ) |
| osg::OSG_DLLEXPORT_SFIELD_DEF1 | ( | TileCameraDecoratorPtr | , | |
| OSG_SYSTEMLIB_DLLTMPLMAPPING | ||||
| ) |
| osg::OSG_DLLEXPORT_MFIELD_DEF1 | ( | TileCameraDecoratorPtr | , | |
| OSG_SYSTEMLIB_DLLTMPLMAPPING | ||||
| ) |
| osg::OSG_DLLEXPORT_SFIELD_DEF1 | ( | ViewportPtr | , | |
| OSG_SYSTEMLIB_DLLTMPLMAPPING | ||||
| ) |
| osg::OSG_DLLEXPORT_MFIELD_DEF1 | ( | ViewportPtr | , | |
| OSG_SYSTEMLIB_DLLTMPLMAPPING | ||||
| ) |
| osg::OSG_DLLEXPORT_SFIELD_DEF1 | ( | WindowPtr | , | |
| OSG_SYSTEMLIB_DLLTMPLMAPPING | ||||
| ) |
| osg::OSG_DLLEXPORT_MFIELD_DEF1 | ( | WindowPtr | , | |
| OSG_SYSTEMLIB_DLLTMPLMAPPING | ||||
| ) |
| osg::OSG_DLLEXPORT_SFIELD_DEF1 | ( | ShaderChunkPtr | , | |
| OSG_SYSTEMLIB_DLLTMPLMAPPING | ||||
| ) |
| osg::OSG_DLLEXPORT_MFIELD_DEF1 | ( | ShaderChunkPtr | , | |
| OSG_SYSTEMLIB_DLLTMPLMAPPING | ||||
| ) |
| osg::OSG_DLLEXPORT_SFIELD_DEF1 | ( | ShaderParameterPtr | , | |
| OSG_SYSTEMLIB_DLLTMPLMAPPING | ||||
| ) |
| osg::OSG_DLLEXPORT_MFIELD_DEF1 | ( | ShaderParameterPtr | , | |
| OSG_SYSTEMLIB_DLLTMPLMAPPING | ||||
| ) |
| osg::OSG_DLLEXPORT_SFIELD_DEF1 | ( | ShaderParameterBoolPtr | , | |
| OSG_SYSTEMLIB_DLLTMPLMAPPING | ||||
| ) |
| osg::OSG_DLLEXPORT_MFIELD_DEF1 | ( | ShaderParameterBoolPtr | , | |
| OSG_SYSTEMLIB_DLLTMPLMAPPING | ||||
| ) |
| osg::OSG_DLLEXPORT_SFIELD_DEF1 | ( | ShaderParameterChunkPtr | , | |
| OSG_SYSTEMLIB_DLLTMPLMAPPING | ||||
| ) |
| osg::OSG_DLLEXPORT_MFIELD_DEF1 | ( | ShaderParameterChunkPtr | , | |
| OSG_SYSTEMLIB_DLLTMPLMAPPING | ||||
| ) |
| osg::OSG_DLLEXPORT_SFIELD_DEF1 | ( | ShaderParameterIntPtr | , | |
| OSG_SYSTEMLIB_DLLTMPLMAPPING | ||||
| ) |
| osg::OSG_DLLEXPORT_MFIELD_DEF1 | ( | ShaderParameterIntPtr | , | |
| OSG_SYSTEMLIB_DLLTMPLMAPPING | ||||
| ) |
| osg::OSG_DLLEXPORT_SFIELD_DEF1 | ( | ShaderParameterMatrixPtr | , | |
| OSG_SYSTEMLIB_DLLTMPLMAPPING | ||||
| ) |
| osg::OSG_DLLEXPORT_MFIELD_DEF1 | ( | ShaderParameterMatrixPtr | , | |
| OSG_SYSTEMLIB_DLLTMPLMAPPING | ||||
| ) |
| osg::OSG_DLLEXPORT_SFIELD_DEF1 | ( | ShaderParameterMIntPtr | , | |
| OSG_SYSTEMLIB_DLLTMPLMAPPING | ||||
| ) |
| osg::OSG_DLLEXPORT_MFIELD_DEF1 | ( | ShaderParameterMIntPtr | , | |
| OSG_SYSTEMLIB_DLLTMPLMAPPING | ||||
| ) |
| osg::OSG_DLLEXPORT_SFIELD_DEF1 | ( | ShaderParameterMMatrixPtr | , | |
| OSG_SYSTEMLIB_DLLTMPLMAPPING | ||||
| ) |
| osg::OSG_DLLEXPORT_MFIELD_DEF1 | ( | ShaderParameterMMatrixPtr | , | |
| OSG_SYSTEMLIB_DLLTMPLMAPPING | ||||
| ) |
| osg::OSG_DLLEXPORT_SFIELD_DEF1 | ( | ShaderParameterMRealPtr | , | |
| OSG_SYSTEMLIB_DLLTMPLMAPPING | ||||
| ) |
| osg::OSG_DLLEXPORT_MFIELD_DEF1 | ( | ShaderParameterMRealPtr | , | |
| OSG_SYSTEMLIB_DLLTMPLMAPPING | ||||
| ) |
| osg::OSG_DLLEXPORT_SFIELD_DEF1 | ( | ShaderParameterMVec2fPtr | , | |
| OSG_SYSTEMLIB_DLLTMPLMAPPING | ||||
| ) |
| osg::OSG_DLLEXPORT_MFIELD_DEF1 | ( | ShaderParameterMVec2fPtr | , | |
| OSG_SYSTEMLIB_DLLTMPLMAPPING | ||||
| ) |
| osg::OSG_DLLEXPORT_SFIELD_DEF1 | ( | ShaderParameterMVec3fPtr | , | |
| OSG_SYSTEMLIB_DLLTMPLMAPPING | ||||
| ) |
| osg::OSG_DLLEXPORT_MFIELD_DEF1 | ( | ShaderParameterMVec3fPtr | , | |
| OSG_SYSTEMLIB_DLLTMPLMAPPING | ||||
| ) |
| osg::OSG_DLLEXPORT_SFIELD_DEF1 | ( | ShaderParameterMVec4fPtr | , | |
| OSG_SYSTEMLIB_DLLTMPLMAPPING | ||||
| ) |
| osg::OSG_DLLEXPORT_MFIELD_DEF1 | ( | ShaderParameterMVec4fPtr | , | |
| OSG_SYSTEMLIB_DLLTMPLMAPPING | ||||
| ) |
| osg::OSG_DLLEXPORT_SFIELD_DEF1 | ( | ShaderParameterRealPtr | , | |
| OSG_SYSTEMLIB_DLLTMPLMAPPING | ||||
| ) |
| osg::OSG_DLLEXPORT_MFIELD_DEF1 | ( | ShaderParameterRealPtr | , | |
| OSG_SYSTEMLIB_DLLTMPLMAPPING | ||||
| ) |
| osg::OSG_DLLEXPORT_SFIELD_DEF1 | ( | ShaderParameterStringPtr | , | |
| OSG_SYSTEMLIB_DLLTMPLMAPPING | ||||
| ) |
| osg::OSG_DLLEXPORT_MFIELD_DEF1 | ( | ShaderParameterStringPtr | , | |
| OSG_SYSTEMLIB_DLLTMPLMAPPING | ||||
| ) |
| osg::OSG_DLLEXPORT_SFIELD_DEF1 | ( | ShaderParameterVec2fPtr | , | |
| OSG_SYSTEMLIB_DLLTMPLMAPPING | ||||
| ) |
| osg::OSG_DLLEXPORT_MFIELD_DEF1 | ( | ShaderParameterVec2fPtr | , | |
| OSG_SYSTEMLIB_DLLTMPLMAPPING | ||||
| ) |
| osg::OSG_DLLEXPORT_SFIELD_DEF1 | ( | ShaderParameterVec3fPtr | , | |
| OSG_SYSTEMLIB_DLLTMPLMAPPING | ||||
| ) |
| osg::OSG_DLLEXPORT_MFIELD_DEF1 | ( | ShaderParameterVec3fPtr | , | |
| OSG_SYSTEMLIB_DLLTMPLMAPPING | ||||
| ) |
| osg::OSG_DLLEXPORT_SFIELD_DEF1 | ( | ShaderParameterVec4fPtr | , | |
| OSG_SYSTEMLIB_DLLTMPLMAPPING | ||||
| ) |
| osg::OSG_DLLEXPORT_MFIELD_DEF1 | ( | ShaderParameterVec4fPtr | , | |
| OSG_SYSTEMLIB_DLLTMPLMAPPING | ||||
| ) |
| osg::OSG_DLLEXPORT_SFIELD_DEF1 | ( | SHLChunkPtr | , | |
| OSG_SYSTEMLIB_DLLTMPLMAPPING | ||||
| ) |
| osg::OSG_DLLEXPORT_MFIELD_DEF1 | ( | SHLChunkPtr | , | |
| OSG_SYSTEMLIB_DLLTMPLMAPPING | ||||
| ) |
| osg::OSG_DLLEXPORT_SFIELD_DEF1 | ( | SHLParameterChunkPtr | , | |
| OSG_SYSTEMLIB_DLLTMPLMAPPING | ||||
| ) |
| osg::OSG_DLLEXPORT_MFIELD_DEF1 | ( | SHLParameterChunkPtr | , | |
| OSG_SYSTEMLIB_DLLTMPLMAPPING | ||||
| ) |
| osg::OSG_DLLEXPORT_SFIELD_DEF1 | ( | DisplayP | , | |
| OSG_WINDOWXLIB_DLLTMPLMAPPING | ||||
| ) |
| osg::OSG_DLLEXPORT_MFIELD_DEF1 | ( | DisplayP | , | |
| OSG_WINDOWXLIB_DLLTMPLMAPPING | ||||
| ) |
| osg::OSG_DLLEXPORT_SFIELD_DEF1 | ( | X11Window | , | |
| OSG_WINDOWXLIB_DLLTMPLMAPPING | ||||
| ) |
| osg::OSG_DLLEXPORT_MFIELD_DEF1 | ( | X11Window | , | |
| OSG_WINDOWXLIB_DLLTMPLMAPPING | ||||
| ) |
| osg::OSG_DLLEXPORT_SFIELD_DEF2 | ( | GLXContext | , | |
| 1 | , | |||
| OSG_WINDOWXLIB_DLLTMPLMAPPING | ||||
| ) |
| osg::OSG_DLLEXPORT_MFIELD_DEF2 | ( | GLXContext | , | |
| 1 | , | |||
| OSG_WINDOWXLIB_DLLTMPLMAPPING | ||||
| ) |
| osg::OSG_DLLEXPORT_SFIELD_DEF1 | ( | XWindowPtr | , | |
| OSG_WINDOWXLIB_DLLTMPLMAPPING | ||||
| ) |
| osg::OSG_DLLEXPORT_MFIELD_DEF1 | ( | XWindowPtr | , | |
| OSG_WINDOWXLIB_DLLTMPLMAPPING | ||||
| ) |
| osg::OSG_DLLEXPORT_SFIELD_DEF1 | ( | WIN32WindowPtr | , | |
| OSG_WINDOWWIN32LIB_DLLTMPLMAPPING | ||||
| ) |
| osg::OSG_DLLEXPORT_MFIELD_DEF1 | ( | WIN32WindowPtr | , | |
| OSG_WINDOWWIN32LIB_DLLTMPLMAPPING | ||||
| ) |
| osg::OSG_DLLEXPORT_SFIELD_DEF1 | ( | HWND | , | |
| OSG_WINDOWWIN32LIB_DLLTMPLMAPPING | ||||
| ) |
| osg::OSG_DLLEXPORT_SFIELD_DEF1 | ( | HDC | , | |
| OSG_WINDOWWIN32LIB_DLLTMPLMAPPING | ||||
| ) |
| osg::OSG_DLLEXPORT_SFIELD_DEF1 | ( | HGLRC | , | |
| OSG_WINDOWWIN32LIB_DLLTMPLMAPPING | ||||
| ) |
| osg::OSG_DLLEXPORT_SFIELD_DEF1 | ( | PAINTSTRUCT | , | |
| OSG_WINDOWWIN32LIB_DLLTMPLMAPPING | ||||
| ) |
| osg::OSG_DLLEXPORT_MFIELD_DEF1 | ( | HWND | , | |
| OSG_WINDOWWIN32LIB_DLLTMPLMAPPING | ||||
| ) |
| osg::OSG_DLLEXPORT_MFIELD_DEF1 | ( | HDC | , | |
| OSG_WINDOWWIN32LIB_DLLTMPLMAPPING | ||||
| ) |
| osg::OSG_DLLEXPORT_MFIELD_DEF1 | ( | HGLRC | , | |
| OSG_WINDOWWIN32LIB_DLLTMPLMAPPING | ||||
| ) |
| osg::OSG_DLLEXPORT_MFIELD_DEF1 | ( | PAINTSTRUCT | , | |
| OSG_WINDOWWIN32LIB_DLLTMPLMAPPING | ||||
| ) |
| osg::OSG_DLLEXPORT_SFIELD_DEF1 | ( | GLUTWindowPtr | , | |
| OSG_WINDOWGLUTLIB_DLLTMPLMAPPING | ||||
| ) |
| osg::OSG_DLLEXPORT_MFIELD_DEF1 | ( | GLUTWindowPtr | , | |
| OSG_WINDOWGLUTLIB_DLLTMPLMAPPING | ||||
| ) |
| void osg::sceneGraphViewThreadFunc | ( | void * | pThreadArg | ) |
Definition at line 65 of file OSGQSceneGraphViewFunctions.cpp.
References osg::QSceneGraphView::setRoot().
Referenced by startSceneGraphViewThread().
00066 { 00067 NodePtr pRootNode = *(reinterpret_cast<NodePtr *>(pThreadArg)); 00068 00069 int argc = 0; 00070 char **argv = NULL; 00071 bool bOwnQTApp = false; 00072 QApplication *pOwnQTApp = NULL; 00073 00074 if(qApp == NULL) 00075 { 00076 bOwnQTApp = true; 00077 pOwnQTApp = new QApplication(argc, argv); 00078 } 00079 00080 QSceneGraphView *pSGView = new QSceneGraphView(NULL, "pSGView"); 00081 00082 pSGView->setRoot(pRootNode); 00083 pSGView->show ( ); 00084 00085 if(bOwnQTApp) 00086 pOwnQTApp->exec(); 00087 }
| bool osg::startSceneGraphViewThread | ( | NodePtr & | pRootNode | ) |
Definition at line 89 of file OSGQSceneGraphViewFunctions.cpp.
References FFATAL, FWARNING, osg::PThreadBase::runFunction(), and sceneGraphViewThreadFunc().
00090 { 00091 Thread *pSGVThread = Thread::find("osg::SceneGraphViewThread"); 00092 00093 if(pSGVThread != NULL) 00094 { 00095 FWARNING(("startSceneGraphViewThread: thread already running.\n")); 00096 00097 return false; 00098 } 00099 00100 pSGVThread = Thread::get("osg::SceneGraphViewThread"); 00101 00102 if(pSGVThread == NULL) 00103 { 00104 FFATAL(("startSceneGraphViewThread: could not create thread.")); 00105 00106 return false; 00107 } 00108 00109 return pSGVThread->runFunction(&sceneGraphViewThreadFunc, 00110 0, (void *) &pRootNode ); 00111 }
| bool osg::stopSceneGraphViewThread | ( | void | ) |
Definition at line 113 of file OSGQSceneGraphViewFunctions.cpp.
References FFATAL.
00114 { 00115 Thread *pSGVThread = Thread::find("osg::SceneGraphViewThread"); 00116 00117 if(pSGVThread == NULL) 00118 { 00119 FFATAL(("stopSceneGraphViewThread: could not find thread.")); 00120 00121 return false; 00122 } 00123 00124 qApp->quit(); 00125 00126 // pSGVThread->kill(); 00127 00128 return true; 00129 }
| osg::OSG_DLLEXPORT_SFIELD_DEF1 | ( | OSGQGLWidgetP | , | |
| OSG_WINDOWQTLIB_DLLTMPLMAPPING | ||||
| ) |
| osg::OSG_DLLEXPORT_MFIELD_DEF1 | ( | OSGQGLWidgetP | , | |
| OSG_WINDOWQTLIB_DLLTMPLMAPPING | ||||
| ) |
| osg::OSG_DLLEXPORT_SFIELD_DEF1 | ( | QTWindowPtr | , | |
| OSG_WINDOWQTLIB_DLLTMPLMAPPING | ||||
| ) |
| osg::OSG_DLLEXPORT_MFIELD_DEF1 | ( | QTWindowPtr | , | |
| OSG_WINDOWQTLIB_DLLTMPLMAPPING | ||||
| ) |
| Field * osg::getParentsField | ( | FieldContainerPtr | pFC, | |
| UInt32 | uiAspect | |||
| ) | [inline] |
Definition at line 43 of file OSGQWidgetFunctions.inl.
References osg::FieldContainerPtrBase::getAspectCPtr(), osg::FieldDescription::getCName(), osg::TypeBase::getCName(), osg::FieldContainer::getField(), osg::FieldContainerType::getFieldDescription(), osg::FieldContainerType::getNumFieldDescs(), osg::Field::getType(), osg::FieldContainer::getType(), and NullFC.
Referenced by osg::QNodeTreeView::getBranchRecursion().
00044 { 00045 if(pFC == NullFC) 00046 return NULL; 00047 00048 FieldContainer *pFCAsp = pFC.getAspectCPtr(uiAspect); 00049 UInt32 uiNumFields = pFCAsp->getType().getNumFieldDescs(); 00050 00051 for(UInt32 uiFieldId = 1; uiFieldId <= uiNumFields; ++uiFieldId) 00052 { 00053 FieldDescription *pDesc = 00054 pFCAsp->getType().getFieldDescription (uiFieldId); 00055 Field *pField = pFCAsp->getField(uiFieldId); 00056 00057 if((strstr(pField->getType().getCName(), "Ptr" ) != NULL) && 00058 (strstr(pDesc->getCName(), "parent") != NULL) ) 00059 { 00060 return pField; 00061 } 00062 } 00063 00064 return NULL; 00065 }
| bool osg::isSFFieldContainerPtr | ( | Field * | pField | ) | [inline] |
Definition at line 68 of file OSGQWidgetFunctions.inl.
References osg::Field::getCardinality(), osg::TypeBase::getCName(), and osg::Field::getType().
Referenced by osg::QFCItem::expand(), osg::QSceneGraphView::onFieldDoubleClicked(), and osg::QFCItem::setup().
00069 { 00070 if((strstr(pField->getType().getCName(), "Ptr") != NULL) && 00071 (pField->getCardinality() == FieldType::SINGLE_FIELD)) 00072 { 00073 return true; 00074 } 00075 else 00076 { 00077 return false; 00078 } 00079 }
| bool osg::isMFFieldContainerPtr | ( | Field * | pField | ) | [inline] |
Definition at line 82 of file OSGQWidgetFunctions.inl.
References osg::Field::getCardinality(), osg::TypeBase::getCName(), and osg::Field::getType().
Referenced by osg::QFCItem::expand(), osg::QSceneGraphView::onFieldDoubleClicked(), and osg::QFCItem::setup().
00083 { 00084 if((strstr(pField->getType().getCName(), "Ptr") != NULL) && 00085 (pField->getCardinality() == FieldType::MULTI_FIELD)) 00086 { 00087 return true; 00088 } 00089 else 00090 { 00091 return false; 00092 } 00093 }
std::vector<InitFuncF>* osg::osgInitFunctions = NULL [static] |
std::vector<ExitFuncF>* osg::osgSystemExitFunctions = NULL [static] |
Definition at line 70 of file OSGBaseFunctions.cpp.
Referenced by addSystemExitFunction(), and osgExit().
std::vector<InitFuncF>* osg::osgPreMPInitFunctions = NULL [static] |
Definition at line 72 of file OSGBaseFunctions.cpp.
Referenced by addPreMPInitFunction(), and osgInit().
std::vector<ExitFuncF>* osg::osgPostMPExitFunctions = NULL [static] |
Definition at line 73 of file OSGBaseFunctions.cpp.
Referenced by addPostMPExitFunction(), and osgExit().
std::vector<std::string>* osg::osgPreloadSharedObject = NULL [static] |
Definition at line 75 of file OSGBaseFunctions.cpp.
Referenced by osgInit(), and preloadSharedObject().
| const UInt32 osg::OSGDIRFLAG = S_IFDIR |
Definition at line 59 of file OSGFileSystem.inl.
Referenced by osg::Directory::tstAttr(), and osg::File::tstAttr().
| const UInt32 osg::OSGREADFLAG = S_IRUSR |
Definition at line 60 of file OSGFileSystem.inl.
Referenced by osg::Directory::tstAttr(), and osg::File::tstAttr().
| const UInt32 osg::OSGWRITEFLAG = S_IWUSR |
Definition at line 61 of file OSGFileSystem.inl.
Referenced by osg::Directory::tstAttr(), and osg::File::tstAttr().
const UInt32 osg::uiLockPoolSize = 32 [static] |
Definition at line 67 of file OSGLock.h.
Referenced by osg::LockPool::init(), and osg::LockPool::shutdown().
const UInt32 osg::uiLockPoolMask = 0x0f80 [static] |
Definition at line 68 of file OSGLock.h.
Referenced by osg::LockPool::aquire(), osg::LockPool::release(), and osg::LockPool::request().
| LogP osg::osgLogP = NULL |
Definition at line 911 of file OSGLog.cpp.
Referenced by endLog(), initLog(), osgLog(), osgStartLog(), osg::Log::setHeaderElem(), osg::Log::setLogFile(), osg::Log::setLogLevel(), and osg::Log::setLogType().
Char8 osg::cvsid_cpp[] = "@(#)$Id: OSGRenderOptionsBase.cpp,v 1.7 2007/07/03 09:16:10 yjung Exp $" [static] |
Definition at line 974 of file OSGRenderOptionsBase.cpp.
Char8 osg::cvsid_hpp[] = OSGRENDEROPTIONSBASE_HEADER_CVSID [static] |
Definition at line 975 of file OSGRenderOptionsBase.cpp.
Char8 osg::cvsid_inl[] = OSGRENDEROPTIONSBASE_INLINE_CVSID [static] |
Definition at line 976 of file OSGRenderOptionsBase.cpp.
Char8 osg::cvsid_fields_hpp[] = OSGRENDEROPTIONSFIELDS_HEADER_CVSID [static] |
Definition at line 978 of file OSGRenderOptionsBase.cpp.
Definition at line 66 of file OSGFieldContainerPtr.cpp.
Referenced by osg::TextureChunk::activate(), osg::State::activate(), osg::DVRSimpleLUTShader::activate(), osg::CubeTextureChunk::activate(), osg::ClipPlaneChunk::activate(), osg::DVRIsoShader::activate_ColorMatrixShading(), osg::DVRIsoShader::activate_FragmentProgramShading(), osg::DVRIsoShader::activate_NVRegisterCombinerShading(), osg::MaterialPool::add(), osg::DVRClipObjects::add(), osg::AttachmentContainer::addAttachment(), osg::SharePtrGraphOp::addAttachmentParent(), osg::Node::addChild(), osg::State::addChunk(), osg::VRMLWriteAction::addContainerUse(), osg::VRMLPixelTextureDesc::addFieldValue(), osg::SwitchMaterial::addMaterial(), osg::MultiPassMaterial::addMaterial(), osg::MaterialPool::addMaterialCB(), osg::VRMLWriteAction::addNodeUse(), osg::MaterialMergeGraphOp::addObject(), osg::MakeTransparentGraphOp::addObject(), osg::Window::addPort(), addRefCP(), osg::QFCItem::addRefedContainer(), osg::TextTXFFace::addToGeom(), osg::BINWriter::addToIdMap(), osg::Surface::adjustVolume(), osg::ProxyGroup::adjustVolume(), osg::Particles::adjustVolume(), osg::Geometry::adjustVolume(), osg::DVRVolume::adjustVolume(), osg::ChangeList::apply(), osg::Action::apply(), osg::ChangeList::applyTo(), osg::MakeTransparentGraphOp::applyTransparency(), osg::Image::attachmentCount(), beginEditCP(), osg::OSGLoader::beginField(), osg::ScanParseSkel::beginImage(), osg::VRMLViewpointDesc::beginNode(), osg::VRMLInlineDesc::beginNode(), osg::VRMLExtrusionDesc::beginNode(), osg::VRMLGroupDesc::beginNode(), osg::VRMLSwitchDesc::beginNode(), osg::VRMLLODDesc::beginNode(), osg::VRMLAppearanceDesc::beginNode(), osg::VRMLGeometryObjectDesc::beginNode(), osg::VRMLGeometryPartDesc::beginNode(), osg::VRMLGeometryPointSetDesc::beginNode(), osg::VRMLGeometryDesc::beginNode(), osg::VRMLShapeDesc::beginNode(), osg::VRMLNodeDesc::beginNode(), osg::VRMLFile::beginNode(), osg::OSGLoader::beginNode(), osg::BrickSet::buildBricks2D(), osg::BrickSet::buildBricks3D(), osg::Surface::buildSurface(), osg::TextureManager::buildTextures(), calcFaceNormals(), osg::Surface::calcIndexMapping(), calcPrimitiveCount(), calcVertexNormals(), calcVertexTangents(), calcVertexTexCoords(), osg::TextureChunk::changed(), osg::Surface::changed(), osg::Slices::changed(), osg::Particles::changed(), osg::Node::changed(), osg::MaterialGroup::changed(), osg::Geometry::changed(), osg::FresnelMaterial::changed(), osg::DVRVolumeTexture::changed(), osg::CubeTextureChunk::changed(), changedCP(), osg::TextureChunk::changeFrom(), osg::State::changeFrom(), osg::CubeTextureChunk::changeFrom(), osg::ClipPlaneChunk::changeFrom(), changeGenFunc(), osg::State::chunkPresent(), osg::DVRIsoShader::cleanup(), osg::TextureGrabBackground::clear(), osg::TextureBackground::clear(), osg::SkyBackground::clear(), osg::ImageBackground::clear(), osg::SharePtrGraphOp::clearAttachmentParent(), osg::Window::clearPorts(), clearRefCP(), osg::TextureManager::clearTextures(), osg::MultiDisplayWindow::clientInit(), osg::SortFirstWindow::clientPreSync(), osg::ClusterWindow::clientPreSync(), osg::ClusterWindow::clientRender(), osg::SortFirstWindow::clientSwap(), osg::ClusterWindow::clientSwap(), osg::DVRClipper::clipSlice(), osg::Geometry::clone(), cloneTree(), osg::SharePtrGraphOp::compareFCs(), osg::Geometry::CompareMaterials(), osg::Surface::convertSurface(), countNodes(), osg::XWindowBase::create(), osg::WIN32WindowBase::create(), osg::ViewportBase::create(), osg::VertexProgramChunkBase::create(), osg::TwoSidedLightingChunkBase::create(), osg::TransformChunkBase::create(), osg::TransformBase::create(), osg::TileCameraDecoratorBase::create(), osg::TextureTransformChunkBase::create(), osg::TextureGrabForegroundBase::create(), osg::TextureGrabBackgroundBase::create(), osg::TextureChunkBase::create(), osg::TextureBackgroundBase::create(), osg::TexGenChunkBase::create(), osg::SwitchMaterialBase::create(), osg::SwitchBase::create(), osg::SurfaceBase::create(), osg::StringAttributeMapBase::create(), osg::StereoBufferViewportBase::create(), osg::StencilChunkBase::create(), osg::StateSortingGroupBase::create(), osg::StateBase::create(), osg::SpotLightBase::create(), osg::SortFirstWindowBase::create(), osg::SolidBackgroundBase::create(), osg::SlicesBase::create(), osg::SkyBackgroundBase::create(), osg::SimpleTexturedMaterialBase::create(), osg::SimpleStatisticsForegroundBase::create(), osg::SimpleMaterialBase::create(), osg::SHLParameterChunkBase::create(), osg::SHLChunkBase::create(), osg::ShearedStereoCameraDecoratorBase::create(), osg::ShaderParameterVec4fBase::create(), osg::ShaderParameterVec3fBase::create(), osg::ShaderParameterVec2fBase::create(), osg::ShaderParameterStringBase::create(), osg::ShaderParameterRealBase::create(), osg::ShaderParameterMVec4fBase::create(), osg::ShaderParameterMVec3fBase::create(), osg::ShaderParameterMVec2fBase::create(), osg::ShaderParameterMRealBase::create(), osg::ShaderParameterMMatrixBase::create(), osg::ShaderParameterMIntBase::create(), osg::ShaderParameterMatrixBase::create(), osg::ShaderParameterIntBase::create(), osg::ShaderParameterBoolBase::create(), osg::ScreenGroupBase::create(), osg::SClipPlaneChunkBase::create(), osg::ResolutionDisplayFilterBase::create(), osg::RenderOptionsBase::create(), osg::RegisterCombinersChunkBase::create(), osg::QTWindowBase::create(), osg::ProxyGroupBase::create(), osg::ProjectionCameraDecoratorBase::create(), osg::PolygonForegroundBase::create(), osg::PolygonChunkBase::create(), osg::PolygonBackgroundBase::create(), osg::PointLightBase::create(), osg::PointChunkBase::create(), osg::PhongMaterialBase::create(), osg::PerspectiveCameraBase::create(), osg::PassiveWindowBase::create(), osg::PassiveViewportBase::create(), osg::PassiveBackgroundBase::create(), osg::ParticlesBase::create(), osg::OrthographicCameraBase::create(), osg::OffCenterPerspectiveCameraBase::create(), osg::MultiPassMaterialBase::create(), osg::MultiDisplayWindowBase::create(), osg::MatrixCameraDecoratorBase::create(), osg::MatrixCameraBase::create(), osg::MaterialPoolBase::create(), osg::MaterialGroupBase::create(), osg::MaterialChunkBase::create(), osg::LogicOpChunkBase::create(), osg::LineChunkBase::create(), osg::LightModelChunkBase::create(), osg::LightEnvBase::create(), osg::LightChunkBase::create(), osg::InverseTransformBase::create(), osg::InlineBase::create(), osg::ImageForegroundBase::create(), osg::ImageBase::create(), osg::ImageBackgroundBase::create(), osg::GroupBase::create(), osg::GraphicStatisticsForegroundBase::create(), osg::GradientBackgroundBase::create(), osg::GrabForegroundBase::create(), osg::GLUTWindowBase::create(), osg::GeometryBase::create(), osg::FresnelMaterialBase::create(), osg::FragmentProgramChunkBase::create(), osg::FileGrabForegroundBase::create(), osg::FCPtrAttributeMapBase::create(), osg::FBOViewportBase::create(), osg::FatBorderChunkBase::create(), osg::DVRVolumeTextureBase::create(), osg::DVRVolumeBase::create(), osg::DVRSimpleShaderBase::create(), osg::DVRSimpleLUTShaderBase::create(), osg::DVRMtexLUTShaderBase::create(), osg::DVRLookupTableBase::create(), osg::DVRIsoSurfaceBase::create(), osg::DVRIsoShaderBase::create(), osg::DVRGeometryBase::create(), osg::DVRClipObjectsBase::create(), osg::DVRClipGeometryBase::create(), osg::DVRAppearanceBase::create(), osg::DistortionDisplayFilterBase::create(), osg::DistanceLODBase::create(), osg::DisplayFilterForegroundBase::create(), osg::DisplayCalibrationBase::create(), osg::DirectionalLightBase::create(), osg::DepthClearBackgroundBase::create(), osg::DepthChunkBase::create(), osg::CubeTextureChunkBase::create(), osg::ComponentTransformBase::create(), osg::ColorMaskChunkBase::create(), osg::ColorDisplayFilterBase::create(), osg::ColorBufferViewportBase::create(), osg::ClusterWindowBase::create(), osg::ClipPlaneChunkBase::create(), osg::ClipPlaneBase::create(), osg::ChunkMaterialBase::create(), osg::BlendChunkBase::create(), osg::BillboardBase::create(), create2DPreIntegrationLUT(), osg::DisplayCalibration::createCMViewports(), createConvexPrimitives(), osg::RemoteAspect::createCurrentStateChangeList(), osg::BINLoader::createFieldContainers(), osg::PhongMaterial::createFragmentProgram(), osg::ExtrusionSurface::createGeometry(), osg::Image::createMipmap(), createNoise(), createNormalizationCubeMap(), createNormalMapFromBump(), createNormalVolume(), createOptimizedPrimitives(), createPhongTexture(), createSharedIndex(), createSingleIndex(), osg::TextureChunk::deactivate(), osg::TexGenChunk::deactivate(), osg::State::deactivate(), osg::DVRSimpleLUTShader::deactivate(), deepClone(), deepCloneAttachments(), deepCloneTree(), osg::RenderAction::deleteOcclusionQueriesPool(), osg::DVRSimpleLUTShader::destroyDependentTexture(), osg::BINWriter::doIndexFC(), osg::ClusterServer::doSync(), osg::Viewport::draw(), osg::TextureGrabForeground::draw(), osg::ProxyGroup::draw(), osg::ImageForeground::draw(), osg::GrabForeground::draw(), osg::GeoVBO::draw(), osg::FileGrabForeground::draw(), osg::DVRVolume::draw(), osg::DisplayFilterForeground::draw(), osg::CameraDecorator::draw(), osg::MaterialDrawable::drawActionHandler(), osg::MaterialGroup::drawEnter(), osg::Light::drawEnter(), osg::SkyBackground::drawFace(), osg::RenderAction::drawHierarchicalMultiFrameOcclusionBB(), osg::MaterialGroup::drawLeave(), osg::RenderAction::drawMultiFrameOcclusionBB(), osg::Particles::drawPrimitives(), osg::Geometry::drawPrimitives(), osg::RenderAction::dropClipPlane(), osg::RenderAction::dropGeometry(), osg::RenderAction::dropLight(), osg::VRMLNodeDesc::dump(), osg::State::dump(), osg::Node::dump(), osg::Geometry::dump(), osg::FieldContainerType::dump(), osg::DVRVolume::dump(), osg::ChangeList::dump(), osg::DVRIsoShader::DVRIsoShader(), endEditCP(), endEditNotChangedCP(), osg::VRMLFile::endField(), osg::OSGLoader::endField(), osg::ScanParseSkel::endImage(), osg::VRMLInlineDesc::endNode(), osg::VRMLExtrusionDesc::endNode(), osg::VRMLPixelTextureDesc::endNode(), osg::VRMLImageTextureDesc::endNode(), osg::VRMLTextureTransformDesc::endNode(), osg::VRMLMaterialDesc::endNode(), osg::VRMLAppearanceDesc::endNode(), osg::VRMLGeometryObjectDesc::endNode(), osg::VRMLGeometryPointSetDesc::endNode(), osg::VRMLGeometryDesc::endNode(), osg::VRMLShapeDesc::endNode(), osg::VRMLFile::endNode(), osg::OSGLoader::endNode(), osg::PriorityAction::enqueueChildren(), osg::MergeGraphOp::excludeListEnter(), osg::MergeGraphOp::excludeListLeave(), fcptrAttributeMap(), osg::FieldContainerType::FieldContainerType(), osg::SharePtrGraphOp::fillAttachmentParents(), osg::TextVectorFace::fillGeo(), osg::TextTXFFace::fillGeo(), osg::ChunkMaterial::find(), osg::AttachmentContainer::findAttachment(), osg::Image::findAttachmentField(), osg::Particles::findDrawer(), osg::VRMLFile::findFCByName(), osg::QNodeTreeView::findItemInChildren(), osg::DVRVolume::findParameter(), osg::VRMLFile::findReference(), GeoPump128(), GeoPump129(), osg::QNodeTreeView::getBranch(), osg::QNodeTreeView::getBranchRecursion(), osg::Geometry::getCachedGfxMemoryUsage(), osg::State::getChunk(), osg::PrimitiveIterator::getColorIndex(), osg::FieldContainerFactory::getContainer(), osg::DVRIsoShader::getCoveredScreenRect(), osg::SwitchMaterial::getCurrentMaterial(), osg::TileCameraDecorator::getDecoration(), osg::ShearedStereoCameraDecorator::getDecoration(), osg::VRMLViewpointDesc::getDefaultBeacon(), getDefaultMaterial(), getDefaultUnlitMaterial(), osg::VRMLNodeDesc::getField(), osg::VRMLViewpointDesc::getFieldAndDesc(), osg::VRMLInlineDesc::getFieldAndDesc(), osg::VRMLExtrusionDesc::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::OSGLoader::getFieldType(), osg::IntersectAction::getHitObject(), osg::GeoPumpFactory::getIndex(), osg::PrimitiveIterator::getIndexIndex(), osg::VRMLWriteAction::getInfo(), osg::SwitchMaterial::getMaterial(), osg::MaterialMergeGraphOp::MaterialObject::getMaterial(), osg::MakeTransparentGraphOp::MaterialObject::getMaterial(), getName(), osg::PrimitiveIterator::getNormalIndex(), osg::SwitchMaterial::getNPasses(), osg::RenderAction::getOcclusionQuery(), osg::ShaderParameterAccess::getParameter(), getParentsField(), osg::Viewport::getPixelBottom(), osg::Viewport::getPixelLeft(), osg::Viewport::getPixelRight(), osg::Viewport::getPixelTop(), osg::PrimitiveIterator::getPositionIndex(), osg::TileCameraDecorator::getProjection(), osg::ShearedStereoCameraDecorator::getProjection(), osg::ProjectionCameraDecorator::getProjection(), osg::MatrixCameraDecorator::getProjection(), osg::CameraDecorator::getProjection(), osg::ProjectionCameraDecorator::getProjectionTranslation(), osg::MatrixCameraDecorator::getProjectionTranslation(), osg::CameraDecorator::getProjectionTranslation(), osg::Geometry::getProperty(), osg::SwitchMaterial::getRealSortKey(), osg::OSGLoader::getReference(), osg::VRMLFile::getRoot(), osg::BINLoader::getRootNode(), osg::VRMLAppearanceDesc::getSaveFieldContainer(), osg::VRMLNodeDesc::getSaveFieldContainer(), osg::PrimitiveIterator::getSecondaryColorIndex(), osg::QNodeTreeView::getSelectedFC(), osg::SwitchMaterial::getState(), osg::MultiPassMaterial::getState(), osg::PrimitiveIterator::getTexCoordsIndex(), osg::PrimitiveIterator::getTexCoordsIndex1(), osg::PrimitiveIterator::getTexCoordsIndex2(), osg::PrimitiveIterator::getTexCoordsIndex3(), osg::PrimitiveIterator::getTexCoordsIndex4(), osg::PrimitiveIterator::getTexCoordsIndex5(), osg::PrimitiveIterator::getTexCoordsIndex6(), osg::PrimitiveIterator::getTexCoordsIndex7(), osg::Node::getToWorld(), osg::ProjectionCameraDecorator::getViewing(), osg::MatrixCameraDecorator::getViewing(), osg::CameraDecorator::getViewing(), osg::Camera::getViewing(), getVoidP(), osg::Node::getWorldVolume(), osg::GraphicStatisticsForeground::GraphicStatisticsForeground(), osg::VRMLFile::handleError(), osg::TextureChunk::handleGL(), osg::TextureChunk::handleTexture(), osg::Image::hasAttachment(), osg::RenderAction::hasGeometryChild(), osg::SimpleSceneManager::highlightChanged(), osg::VRMLGeometryObjectDesc::init(), osg::VRMLGeometryPartDesc::init(), osg::SimpleSceneManager::initialize(), osg::DVRSimpleLUTShader::initialize(), osg::DVRMtexLUTShader::initialize(), osg::DVRIsoShader::initialize(), osg::DVRClipper::initialize(), osg::DVRClipGeometry::initialize(), osg::DVRVolume::initializeClipObjects(), osg::SimpleStatisticsForeground::initText(), osg::GraphicStatisticsForeground::initText(), osg::Node::insertChild(), osg::Window::insertPort(), osg::Node::invalidateVolume(), osg::FieldContainerType::isAbstract(), osg::SharePtrGraphOp::isEqual(), isEqual(), osg::Viewport::isFullWindow(), osg::Geometry::isMergeable(), osg::SwitchMaterial::isMultiPass(), osg::RenderAction::isOccluded(), osg::RenderAction::isSmallFeature(), osg::SwitchMaterial::isTransparent(), osg::SimpleTexturedMaterial::isTransparent(), osg::MultiPassMaterial::isTransparent(), makeBox(), makeBoxGeo(), osg::Light::makeChunk(), osg::ClipPlane::makeChunk(), makeConicalFrustum(), makeConicalFrustumGeo(), makeExtrusion(), makeExtrusionGeo(), makeLatLongSphere(), makeLatLongSphereGeo(), makePlane(), makePlaneGeo(), makeSphere(), osg::SwitchMaterial::makeState(), osg::SimpleTexturedMaterial::makeState(), osg::PhongMaterial::makeState(), osg::MultiPassMaterial::makeState(), makeTorus(), makeTorusGeo(), osg::OSGLoader::mapExtIntFieldType(), osg::GeoPumpFactory::masterGeoPump(), osg::Geometry::merge(), osg::Geometry::merge0(), osg::Geometry::MergeIndex(), mergeRGBA(), modifyMaterial(), osg::Navigator::moveTo(), osg::TextureChunk::onDestroy(), osg::Surface::onDestroy(), osg::Geometry::onDestroy(), osg::CubeTextureChunk::onDestroy(), osg::QSceneGraphView::onRawAddressEntered(), osg::QSceneGraphView::onSelectionChanged(), osg::RefPtr< Ref >::operator!(), osg::RefPtr< Ref >::operator!=(), osg::PrimitiveIterator::operator++(), operator<<(), osg::RefPtr< Ref >::operator=(), osg::CoredNodePtr< Core >::operator=(), osg::RefPtr< Ref >::operator==(), osg::FCPtrAttributeMap::operator[](), osg::SimpleTexturedMaterial::prepareLocalChunks(), osg::SimpleMaterial::prepareLocalChunks(), osg::PhongMaterial::prepareLocalChunks(), osg::FresnelMaterial::prepareLocalChunks(), osg::MergeGraphOp::processGeometries(), osg::MergeGraphOp::processTransformations(), osg::VRMLNodeDesc::prototypeAddField(), osg::DepthFirstStateAction::pushChildren(), osg::DepthFirstAction::pushChildren(), osg::QFCItem::QFCItem(), osg::QNodeCoreItem::QNodeCoreItem(), osg::VRMLSceneFileType::read(), osg::SceneFileType::read(), osg::SceneFileHandler::read(), osg::OFFSceneFileType::read(), osg::OBJSceneFileType::read(), osg::ImageFileHandler::read(), osg::SceneFileType::readFile(), osg::Surface::readfromtso(), osg::OBJSceneFileType::readMTL(), osg::SceneFileHandler::readTopNodes(), osg::SwitchMaterial::rebuildState(), osg::SimpleTexturedMaterial::rebuildState(), osg::SimpleMaterial::rebuildState(), osg::PhongMaterial::rebuildState(), osg::MultiPassMaterial::rebuildState(), osg::FresnelMaterial::rebuildState(), osg::ChunkMaterial::rebuildState(), osg::RemoteAspect::receiveSync(), osg::Action::recurse(), osg::SimpleSceneManager::redraw(), osg::Image::reformat(), osg::FieldContainerFactory::registerFieldContainer(), osg::DVRVolume::reload(), osg::DVRClipObjects::remove(), osg::Viewport::render(), osg::FBOViewport::render(), osg::Brick::render2DMultiSlices(), osg::Brick::render2DSliceXY(), osg::Brick::render2DSliceXZ(), osg::Brick::render2DSliceYZ(), osg::Brick::render3DSlices(), osg::RenderAction::RenderAction(), osg::MaterialDrawable::renderActionHandler(), osg::MaterialGroup::renderEnter(), osg::MaterialGroup::renderLeave(), osg::DVRIsoShader::renderSlice_NVRegisterCombinerShading(), osg::VerifyGraphOp::repairGeometry(), osg::Node::replaceChild(), osg::Node::replaceChildBy(), osg::Window::replacePort(), osg::Window::replacePortBy(), osg::VRMLMaterialDesc::reset(), osg::DVRClipper::reset(), osg::ImageFileType::restore(), osg::RemoteAspect::restoreChangeList(), osg::Surface::reTessellate(), osg::Image::scale(), osg::VRMLFile::scanFile(), osg::VRMLFile::scanStream(), osg::OSGLoader::scanStream(), osg::RemoteAspect::sendSync(), osg::ClusterWindow::serverRender(), osg::Image::setAttachmentField(), osg::SimpleSceneManager::setCamera(), osg::Navigator::setCameraTransformation(), osg::Particles::setColors(), osg::Geometry::setColors(), osg::VRMLFile::setContainerFieldValue(), osg::Surface::setControlPoints(), osg::Node::setCore(), osg::CoredNodePtr< Core >::setCore(), osg::OSGLoader::setFieldContainerValue(), setGenFunc(), osg::PrimitiveIterator::setGeo(), osg::SimpleSceneManager::setHeadlight(), setIndexFromIndexedX3DData(), osg::Geometry::setIndices(), osg::Geometry::setLengths(), osg::MaterialMergeGraphOp::MaterialObject::setMaterial(), osg::MakeTransparentGraphOp::MaterialObject::setMaterial(), osg::ShaderParameterAccess::setMParameter(), setName(), osg::OSGWriter::FCInfoHelper::setName(), osg::CoredNodePtrBase::setNode(), osg::Particles::setNormals(), osg::Geometry::setNormals(), osg::DVRClipper::setNumAddPerVertexAttr(), osg::RenderAction::setOcclusionMask(), osg::RenderAction::setOcclusionQuery(), osg::ShaderParameterAccess::setParameter(), osg::Particles::setPositions(), osg::Geometry::setPositions(), osg::FieldContainerType::setPrototype(), osg::RefPtr< Ref >::setRef(), setRefdCP(), osg::SimpleSceneManager::setRoot(), osg::Geometry::setSecondaryColors(), osg::Particles::setSecPositions(), osg::SimpleSceneManager::setStatistics(), setTestCubeImages(), osg::Geometry::setTexCoords(), osg::Geometry::setTexCoords1(), osg::Geometry::setTexCoords2(), osg::Geometry::setTexCoords3(), osg::Geometry::setTexCoords4(), osg::Geometry::setTexCoords5(), osg::Geometry::setTexCoords6(), osg::Geometry::setTexCoords7(), osg::Surface::setTextureControlPoints(), osg::PrimitiveIterator::setToBegin(), osg::PrimitiveIterator::setToEnd(), osg::Geometry::setTypes(), osg::QFCItem::setup(), setVoidP(), osg::SimpleSceneManager::setWindow(), osg::SimpleSceneManager::showAll(), osg::SimpleStatisticsForeground::SimpleStatisticsForeground(), osg::Image::slice(), osg::SplitGraphOp::splitNode(), splitRGBA(), osg::IntersectAction::start(), osg::RenderAction::stop(), osg::ClusterServer::stop(), osg::ExtrusionSurface::store(), osg::ExtrusionSurface::storeConvexCap(), osg::ExtrusionSurface::storeMaps(), osg::ExtrusionSurface::storePrimitive(), osg::ExtrusionSurface::storeSweepSurfaceWithNormals(), osg::ExtrusionSurface::storeSweepSurfaceWithoutNormals(), osg::ExtrusionSurface::storeVertex(), stringAttributeMap(), osg::AttachmentContainer::subAttachment(), osg::State::subChunk(), osg::Image::subImage(), osg::SwitchMaterial::subMaterial(), osg::MultiPassMaterial::subMaterial(), osg::MaterialPool::subMaterialCB(), osg::Window::subPort(), subRefCP(), osg::Surface::tessellate(), osg::MakeTransparentGraphOp::traverse(), osg::VerifyGraphOp::traverseEnter(), osg::SplitGraphOp::traverseEnter(), osg::MergeGraphOp::traverseEnter(), osg::MaterialMergeGraphOp::traverseEnter(), osg::MakeTransparentGraphOp::traverseEnter(), osg::VerifyGeoGraphOp::travNodeEnter(), osg::StripeGraphOp::travNodeEnter(), osg::GeoTypeGraphOp::travNodeEnter(), osg::FieldContainerFactory::unregisterFieldContainer(), osg::TileLoadBalancer::update(), osg::Navigator::updateCameraTransformation(), osg::ColorDisplayFilter::updateFilterValues(), osg::FresnelMaterial::updateFresnel(), osg::TileGeometryLoad::updateGeometry(), osg::SimpleSceneManager::updateHighlight(), osg::Geometry::updateLowHighIndices(), osg::CoredNodePtr< Core >::updateNode(), osg::SHLParameterChunk::updateParameters(), osg::SHLChunk::updateStereoLeftEye(), osg::TileLoadBalancer::updateSubtree(), osg::TileGeometryLoad::updateView(), osg::MultiDisplayWindow::updateViewport(), osg::Node::updateVolume(), osg::VRMLFile::use(), osg::OSGLoader::use(), osg::VerifyGraphOp::verifyGeometry(), osg::VerifyGraphOp::verifyIndexMap(), osg::OSGWriter::visitContainer(), osg::ClusterServer::windowChanged(), osg::VRMLWriteAction::write(), osg::OBJSceneFileType::write(), osg::BMPImageFileType::write(), osg::VRMLWriteAction::writeColors(), osg::OSGWriter::writeContainer(), osg::OSGWriter::writeField(), osg::VRMLWriteAction::writeGeoEnter(), osg::VRMLWriteAction::writeIndex(), osg::VRMLWriteAction::writeLineIndex(), osg::VRMLWriteAction::writeMaterial(), osg::VRMLWriteAction::writeMatGroupEnter(), osg::VRMLWriteAction::writeMatGroupLeave(), osg::VRMLWriteAction::writeNormals(), osg::VRMLWriteAction::writePoints(), osg::VRMLWriteAction::writeTexCoords(), osg::ClipPlane::~ClipPlane(), osg::CoredNodePtr< Core >::~CoredNodePtr(), osg::CoredNodePtrBase::~CoredNodePtrBase(), osg::CPEditor::~CPEditor(), osg::DisplayCalibration::~DisplayCalibration(), osg::DVRIsoShader::~DVRIsoShader(), osg::DVRSimpleLUTShader::~DVRSimpleLUTShader(), osg::DVRVolumeTexture::~DVRVolumeTexture(), osg::FresnelMaterial::~FresnelMaterial(), osg::GraphicStatisticsForeground::~GraphicStatisticsForeground(), osg::Light::~Light(), osg::Node::~Node(), osg::Particles::~Particles(), osg::ProxyGroup::~ProxyGroup(), osg::RefPtr< Ref >::~RefPtr(), osg::RemoteAspect::~RemoteAspect(), osg::ScanParseSkel::~ScanParseSkel(), osg::SimpleSceneManager::~SimpleSceneManager(), osg::SimpleStatisticsForeground::~SimpleStatisticsForeground(), osg::SwitchMaterial::~SwitchMaterial(), and osg::TextureRecord::~TextureRecord().
| template osg::ScanParseFieldTypeMapper< ScanParseSkel > |
| template osg::VRMLNodeFactory< ScanParseFieldTypeMapper< ScanParseSkel > > |
bool osg::_bmp_byte_swap = true [static] |
Definition at line 614 of file OSGBMPImageFileType.cpp.
Referenced by long_int_write(), u_long_int_write(), u_short_int_write(), and osg::BMPImageFileType::write().
const Char8* osg::suffixArray[] [static] |
Definition at line 101 of file OSGMaterial.cpp.
const UInt32 osg::DEF_N_CROSS_SECTION_POINTS = 5 [static] |
Definition at line 104 of file OSGExtrusionGeometry.h.
Referenced by osg::ExtrusionSurface::ExtrusionSurface().
const UInt32 osg::DEF_N_SCALE_PARAMS = 1 [static] |
Definition at line 107 of file OSGExtrusionGeometry.h.
Referenced by osg::ExtrusionSurface::ExtrusionSurface().
const UInt32 osg::DEF_N_SPINE_POINTS = 2 [static] |
Definition at line 110 of file OSGExtrusionGeometry.h.
Referenced by osg::ExtrusionSurface::ExtrusionSurface().
const UInt32 osg::DEF_N_ORIENTATION_PARAMS = 1 [static] |
Definition at line 113 of file OSGExtrusionGeometry.h.
Referenced by osg::ExtrusionSurface::ExtrusionSurface().
const Real32 osg::DEF_CROSS_SECTION[DEF_N_CROSS_SECTION_POINTS][2] [static] |
Initial value:
{{ 1.0, 1.0},
{ 1.0, -1.0},
{-1.0, -1.0},
{-1.0, 1.0},
{ 1.0, 1.0}}
Definition at line 117 of file OSGExtrusionGeometry.h.
Referenced by osg::ExtrusionSurface::ExtrusionSurface().
const Real32 osg::DEF_SCALE[DEF_N_SCALE_PARAMS][2] = {{ 1.f, 1.f }} [static] |
Definition at line 124 of file OSGExtrusionGeometry.h.
Referenced by osg::ExtrusionSurface::ExtrusionSurface().
const Real32 osg::DEF_SPINE[DEF_N_SPINE_POINTS][3] [static] |
Initial value:
{{ 0.f, 0.f, 0.f},
{ 0.f, 1.f, 0.f}}
Definition at line 128 of file OSGExtrusionGeometry.h.
Referenced by osg::ExtrusionSurface::ExtrusionSurface().
const Real32 osg::DEF_ORIENTATION[DEF_N_ORIENTATION_PARAMS][4] = {{0.f, 0.f, 1.f, 0.f}} [static] |
Definition at line 133 of file OSGExtrusionGeometry.h.
Referenced by osg::ExtrusionSurface::ExtrusionSurface().
Definition at line 385 of file OSGGeoPropertyBase.h.
| OSG_SYSTEMLIB_DLLTMPLMAPPING osg::GeoTexCoordsPropertyDesc |
Definition at line 405 of file OSGGeoPropertyBase.h.
| OSG_SYSTEMLIB_DLLTMPLMAPPING OSG_SYSTEMLIB_DLLTMPLMAPPING osg::GeoPTypesPropertyDesc |
Definition at line 425 of file OSGGeoPropertyBase.h.
| std::string osg::StatisticsDefaultFontString |
1.5.5