You can subscribe to this list here.
2005 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
(2) |
Aug
(1) |
Sep
|
Oct
|
Nov
|
Dec
|
---|---|---|---|---|---|---|---|---|---|---|---|---|
2006 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
(1) |
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
From: Walt B. <Wal...@jp...> - 2006-06-19 22:51:42
|
David, Thanks. I'm running with the latest ossim again. Attached are some changed nitfImageBand files. I moved setBandRepresentation from V2_1 to V2_0, since theBandRepresentation is declared in 2_0. I also added these to V2_0: virtual void setBandRepresentation(const ossimString& rep); virtual ossimString getBandSignificance()const; virtual void setBandSignificance(const ossimString& rep); However, I had to leave a setBandRepresentation stub in V2_1, forwarding to the V2_0 method, since the loader wasn't picking up the inherited method at run-time (this shouldn't be necessary): void ossimNitfImageBandV2_1::setBandRepresentation(const ossimString& rep) { ossimNitfImageBandV2_0::setBandRepresentation(rep); } If you see something stupid I'm doing here, please let me know. BTW, support_data/ossimNitfFileHeaderV2_X.cpp:246 has ossimNumericProperty* numericProperty = NULL; but numericProperty isn't used. support_data/ossimSpotDimapSupportData.cpp:1237 has vector<ossimRefPtr<ossimXmlNode> >::iterator node; but node isn't used. Thanks, Walt At 04:30 PM 6/19/2006 -0400, you wrote: >Hi Walt, > >The ration was 2_X has common stuff from 2_0 and 2_1. There is stuff in 2 >that is not in 1, so if there is a 3_x... > >You can do a PTR_CAST: > >ossimRefPtr<ossimNitfImageHeader> hdr = file.getNewImageHeader(0); >ossimNitfImageHeaderV2_X* hdr2x = PTR_CAST(ossimNitfImageHeaderV2_X, >hdr.get()) >if (hdr2x) >{ > hdr2x->getAquisitionDateTime(); >} > >Dave > > >Walt Bunch wrote: > >>Garrett, Dave, >> >>What is the rationale behind factoring the fields common to >>ossimNitfImageHeaderV2_0 and V2_1 into V2_X, rather than into just >>ossimNitfImageHeader? I need a getDateTime which V2_X provides, but >>ossimNitfFile.getNewImageHeader returns an ossimNitfImageHeader (which >>doesn't know about getTime()). My knee-jerk is to add a virtual getTime() >>to ossimNitfImageHeader, but the 2_X business isn't clear to me. Please >>clarify. >> >>Thanks, >>Walt >> |
From: Walt B. <Wal...@jp...> - 2005-08-08 16:09:22
|
Garrett, Here's the second set.... Are are the *.h and *.cpp for class ossimNitfWriter, enhanced by adding a new public method: addRegisteredTag(ossimRefPtr<ossimNitfRegisteredTag> registeredTag); that allows the following very easy creation of NITF from a file of raw pixels and its omd file: ossimImageHandler * ih = ossimImageHandlerFactory::instance()->open( ossimFilename( inPath ) ); ossimNitfWriter nw( outPath, ih ); ossimNitfUse00aTag * use00aTag = new ossimNitfUse00aTag; use00aTag->setAngleToNorth("42.0"); ossimRefPtr<ossimNitfRegisteredTag> registeredTag = use00aTag; nw.addRegisteredTag(registeredTag); nw.execute(); Walt |
From: Walt B. <Wal...@jp...> - 2005-07-25 22:00:24
|
Are are the *.h and *.cpp for class ossimNitfWriter, enhanced by adding a new public method: addRegisteredTag(ossimRefPtr<ossimNitfRegisteredTag> registeredTag); that allows the following very easy creation of NITF from a file of raw pixels and its omd file: ossimImageHandler * ih = ossimImageHandlerFactory::instance()->open( ossimFilename( inPath ) ); ossimNitfWriter nw( outPath, ih ); ossimNitfUse00aTag * use00aTag = new ossimNitfUse00aTag; use00aTag->setAngleToNorth("42.0"); ossimRefPtr<ossimNitfRegisteredTag> registeredTag = use00aTag; nw.addRegisteredTag(registeredTag); nw.execute(); Walt |
From: David B. <dav...@ti...> - 2005-07-08 18:42:22
|
test |