12 #ifndef ossimBumpShadeTileSource_HEADER 13 #define ossimBumpShadeTileSource_HEADER 20 class ossimImageSourceConnection;
148 virtual double getAzimuthAngle()
const;
153 virtual double getElevationAngle()
const;
158 virtual void setAzimuthAngle(
double angle);
163 virtual void setElevationAngle(
double angle);
174 const char* prefix=0);
180 const char* prefix=0)
const;
209 void computeLightDirection();
214 virtual void getPropertyNames(std::vector<ossimString>& propertyNames)
const;
virtual void propertyEvent(ossimPropertyEvent &event)
virtual void connectInputEvent(ossimConnectionEvent &event)
ossim_uint8 m_r
rgb values used when no color source (2nd layer) is present.
This uses a derivative of Blinn's bump function to compute a 3-D looking image.
virtual bool canConnectMyInputTo(ossim_int32 inputIndex, const ossimConnectableObject *object) const
required to be overriden by derived classes
This will be a base for all combiners.
Represents serializable keyword/value map.
virtual ossim_uint32 getNumberOfOutputBands() const
Returns the number of bands in a tile returned from this TileSource.
virtual double getMinPixelValue(ossim_uint32 band=0) const
Returns the min pixel of the band.
virtual void disconnectInputEvent(ossimConnectionEvent &event)
virtual ossimString getShortName() const
double m_lightSourceAzimuthAngle
Used for the light vector computation.
NEWMAT::ColumnVector m_lightDirection
This is computed from the elevation and azimuth angles of the light source.
virtual void setProperty(ossimRefPtr< ossimProperty > property)
virtual void getPropertyNames(std::vector< ossimString > &propertyNames) const
virtual double getMaxPixelValue(ossim_uint32 band=0) const
Returns the max pixel of the band.
virtual void initialize()
unsigned int ossim_uint32
virtual ossimString getLongName() const
virtual double getNullPixelValue(ossim_uint32 band=0) const
Each band has a null pixel associated with it.
virtual void refreshEvent(ossimRefreshEvent &event)
virtual ossimRefPtr< ossimProperty > getProperty(const ossimString &name) const
virtual ossimScalarType getOutputScalarType() const
This will be used to query the output pixel type of the tile source.
ossimRefPtr< ossimImageData > m_tile
The result of the illumination equation is stored in here.
virtual bool loadState(const ossimKeywordlist &kwl, const char *prefix=NULL)
Method to the load (recreate) the state of an object from a keyword list.
virtual bool saveState(ossimKeywordlist &kwl, const char *prefix=NULL) const
Method to save the state of an object to a keyword list.
unsigned char ossim_uint8
double m_lightSourceElevationAngle
Used for the light vector computation.
virtual ossimRefPtr< ossimImageData > getTile(const ossimIpt &origin, ossim_uint32 resLevel=0)