Changeset 1197 for trunk/Source/System/Image/ES/OSGImageBase.cpp
- Timestamp:
- 05/05/08 06:58:23 (4 months ago)
- Files:
-
- trunk/Source/System/Image/ES/OSGImageBase.cpp (modified) (9 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/Source/System/Image/ES/OSGImageBase.cpp
r1193 r1197 85 85 \***************************************************************************/ 86 86 87 /*! \var ParentFieldContainer PtrImageBase::_mfParents87 /*! \var ParentFieldContainer * ImageBase::_mfParents 88 88 89 89 */ … … 1357 1357 ImageTransitPtr fc; 1358 1358 1359 if(getClassType().getPrototype() != N ullFC)1359 if(getClassType().getPrototype() != NULL) 1360 1360 { 1361 1361 FieldContainerTransitPtr tmpPtr = … … 1373 1373 ImageTransitPtr fc; 1374 1374 1375 if(getClassType().getPrototype() != N ullFC)1375 if(getClassType().getPrototype() != NULL) 1376 1376 { 1377 1377 FieldContainerTransitPtr tmpPtr = … … 1385 1385 1386 1386 //! create an empty new instance of the class, do not copy the prototype 1387 Image PtrImageBase::createEmpty(void)1388 { 1389 Image PtrreturnValue;1387 Image *ImageBase::createEmpty(void) 1388 { 1389 Image *returnValue; 1390 1390 1391 1391 newPtr<Image>(returnValue, Thread::getCurrentLocalFlags()); … … 1397 1397 } 1398 1398 1399 Image PtrImageBase::createEmptyLocal(BitVector bFlags)1400 { 1401 Image PtrreturnValue;1399 Image *ImageBase::createEmptyLocal(BitVector bFlags) 1400 { 1401 Image *returnValue; 1402 1402 1403 1403 newPtr<Image>(returnValue, bFlags); … … 1410 1410 FieldContainerTransitPtr ImageBase::shallowCopy(void) const 1411 1411 { 1412 Image PtrtmpPtr;1412 Image *tmpPtr; 1413 1413 1414 1414 newPtr(tmpPtr, … … 1426 1426 BitVector bFlags) const 1427 1427 { 1428 Image PtrtmpPtr;1428 Image *tmpPtr; 1429 1429 1430 1430 newPtr(tmpPtr, dynamic_cast<const Image *>(this), bFlags); … … 1982 1982 1983 1983 #ifdef OSG_MT_CPTR_ASPECT 1984 FieldContainer PtrImageBase::createAspectCopy(void) const1985 { 1986 Image PtrreturnValue;1984 FieldContainer *ImageBase::createAspectCopy(void) const 1985 { 1986 Image *returnValue; 1987 1987 1988 1988 newAspectCopy(returnValue, … … 2011 2011 2012 2012 #if !defined(OSG_DO_DOC) || defined(OSG_DOC_DEV) 2013 DataType FieldTraits<Image Ptr>::_type("ImagePtr", "AttachmentContainerPtr");2014 #endif 2015 2016 OSG_FIELDTRAITS_GETTYPE(Image Ptr)2013 DataType FieldTraits<Image *>::_type("ImagePtr", "AttachmentContainerPtr"); 2014 #endif 2015 2016 OSG_FIELDTRAITS_GETTYPE(Image *) 2017 2017 2018 2018 OSG_EXPORT_PTR_SFIELD_FULL(PointerSField, 2019 Image Ptr,2019 Image *, 2020 2020 0); 2021 2021 2022 2022 OSG_EXPORT_PTR_MFIELD_FULL(PointerMField, 2023 Image Ptr,2023 Image *, 2024 2024 0); 2025 2025
