19 #ifndef ossimChipperUtil_HEADER 20 #define ossimChipperUtil_HEADER 1 68 OSSIM_CHIPPER_OP_UNKNOWN = 0,
69 OSSIM_CHIPPER_OP_HILL_SHADE = 1,
70 OSSIM_CHIPPER_OP_COLOR_RELIEF = 2,
71 OSSIM_CHIPPER_OP_ORTHO = 3,
72 OSSIM_CHIPPER_OP_2CMV = 4,
73 OSSIM_CHIPPER_OP_CHIP = 5,
74 OSSIM_CHIPPER_OP_PSM = 6
80 OSSIM_CHIPPER_PROJ_UNKNOWN = 0,
81 OSSIM_CHIPPER_PROJ_GEO = 1,
82 OSSIM_CHIPPER_PROJ_GEO_SCALED = 2,
83 OSSIM_CHIPPER_PROJ_INPUT = 3,
84 OSSIM_CHIPPER_PROJ_UTM = 4
198 void initializeOutputProjection();
201 void addDemSources();
218 void addImgSources();
245 bool isDemSource)
const;
256 bool isDemSource)
const;
262 void createOutputProjection();
270 void createIdentityProjection();
302 const std::string& code );
326 void intiailizeProjectionTiePoint();
335 void initializeProjectionGsd();
344 void initializeIvtScale();
378 void getMetersPerPixel(
ossimDpt& gsd);
438 void propagateOutputProjectionToChains();
483 void addCrossHairAnnotation(
485 const std::string& prefix )
const;
493 std::shared_ptr<ossimSrcRecord> srcRecordPtr=0)
const;
523 bool getIrect(
const std::string& s,
ossimIrect& rect )
const;
536 const std::string& s,
ossimIrect& rect )
const;
562 void initializeThumbnailProjection(
const ossimIrect& originalRect,
566 bool hasBandSelection()
const;
576 void getBandList( std::vector<ossim_uint32>& bandList )
const;
579 bool hasAnnotations()
const;
582 bool hasLutFile()
const;
585 bool hasBrightnesContrastOperation()
const;
588 bool hasGeoPolyCutterOption()
const;
594 bool hasBumpShadeArg()
const;
597 bool hasThumbnailResolution()
const;
600 bool hasHistogramOperation()
const;
609 void initializeSrcKwl();
624 ossimChipperOutputProjection getOutputProjectionType()
const;
636 bool scaleToEightBit()
const;
639 bool snapTieToOrigin()
const;
653 void getImageSpaceScale(
ossimDpt &imageSpaceScale)
const;
666 void getImageSpacePivot(
ossimDpt &imageSpacePivot)
const;
679 bool hasRotation()
const;
685 bool northUp()
const;
688 bool isChipMode()
const;
691 bool keyIsTrue(
const std::string& key )
const;
709 std::string getHemisphere()
const;
715 bool hasSensorModelInput();
720 bool hasCutBoxWidthHeight()
const;
725 bool hasWmsBboxCutWidthHeight()
const;
730 bool hasScaleOption()
const;
735 bool isThreeBandOut()
const;
740 bool padThumbnail()
const;
782 std::string getSharpenMode()
const;
784 int getHistoMode()
const;
820 std::vector< ossimRefPtr<ossimSingleImageChain> >
m_demLayer;
823 std::vector< ossimRefPtr<ossimSingleImageChain> >
m_imgLayer;
Class used for parsing the command line *.src files.
Represents serializable keyword/value map.
ossimReferenced allows for shared object ref counting if the reference count ever gets to 0 or less i...
ossimRefPtr< ossimImageFileWriter > m_writer
We need access to the writer so we can support aborting.
Pure virtual base class for image file writers.
ossimRefPtr< ossimKeywordlist > m_srcKwl
Hold contents of src file if –src is used.
Single image chain class.
std::vector< ossimRefPtr< ossimSingleImageChain > > m_imgLayer
Array of image source chains.
unsigned int ossim_uint32
ossimChipperOutputProjection
emumerated output projections
ossimRefPtr< ossimKeywordlist > m_kwl
Hold all options passed into intialize.
ossimRefPtr< ossimImageGeometry > m_geom
The image geometry.
Container class that holds both 2D transform and 3D projection information for an image Only one inst...
ossimChipperOperation m_operation
Enumerated operation to perform.
ossimRefPtr< ossimImageSource > m_source
We need to support changing clips without doing a full initilization.
ossimRefPtr< ossimImageViewAffineTransform > m_ivt
Image view transform(IVT).
This class defines an abstract Handler which all image handlers(loaders) should derive from...
ossimReferenced & operator=(const ossimReferenced &)
ossimChipperOperation
emumerated operations
std::vector< ossimRefPtr< ossimSingleImageChain > > m_demLayer
Array of dem chains.