|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IRasterStretch2
Provides access to members which control stretch.
The IRasterStretch2 interface sets pixel
information such as statistics and histograms to the raster
renderer.
Method Summary | |
---|---|
IColor |
getBackgroundColor()
The color of background. |
Object |
getBackgroundValue()
The list of background value(s). |
IArray |
getSpecificationHistogram()
The statistics for histogram specification stretch. |
double |
getStandardDeviationsParam()
The standard deviation parameter for the stretch renderer. |
IArray |
getStretchStats()
The global raster stretch statistics. |
int |
getStretchStatsType()
The current stretch statistics type. |
int |
getStretchType()
The current stretch type. |
boolean |
isBackground()
Indicates if a background value is being used. |
boolean |
isInvert()
Indicates if the stretch is inverted. |
void |
setBackground(boolean b)
Indicates if a background value is being used. |
void |
setBackgroundColorByRef(IColor ppColor)
The color of background. |
void |
setBackgroundValue(Object background)
The list of background value(s). |
void |
setInvert(boolean pInvert)
Indicates if the stretch is inverted. |
void |
setSpecificationHistogramByRef(IArray pRGBStats)
The statistics for histogram specification stretch. |
void |
setStandardDeviationsParam(double param)
The standard deviation parameter for the stretch renderer. |
void |
setStretchStatsByRef(IArray ppRGBStats)
The global raster stretch statistics. |
void |
setStretchStatsType(int stats)
The current stretch statistics type. |
void |
setStretchType(int stretch)
The current stretch type. |
Method Detail |
---|
void setStretchType(int stretch) throws IOException, AutomationException
stretch
- A com.esri.arcgis.carto.esriRasterStretchTypesEnum constant (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.int getStretchType() throws IOException, AutomationException
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void setStandardDeviationsParam(double param) throws IOException, AutomationException
param
- The param (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.double getStandardDeviationsParam() throws IOException, AutomationException
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void setInvert(boolean pInvert) throws IOException, AutomationException
pInvert
- The pInvert (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.boolean isInvert() throws IOException, AutomationException
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void setBackground(boolean b) throws IOException, AutomationException
b
- The b (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.boolean isBackground() throws IOException, AutomationException
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.Object getBackgroundValue() throws IOException, AutomationException
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void setBackgroundValue(Object background) throws IOException, AutomationException
For example :-
IRasterStretch2 rasterStretch2 = ...;
double[] values = new double[1];
values[0] = 1;
rasterStretch.setBackgroundValue(values);
background
- A Variant (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.IColor getBackgroundColor() throws IOException, AutomationException
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void setBackgroundColorByRef(IColor ppColor) throws IOException, AutomationException
ppColor
- A reference to a com.esri.arcgis.display.IColor (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void setStretchStatsType(int stats) throws IOException, AutomationException
stats
- A com.esri.arcgis.carto.esriRasterStretchStatsTypeEnum constant (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.int getStretchStatsType() throws IOException, AutomationException
The StretchStatsType property specifies the stretch statistics type. The option esriRasterStretchStats_AreaOfView uses statistics dynamically calculated from the current display area, whereby the option esriRasterStretchStats_Dataset uses statistics from the raster dataset, and the option esriRasterStretchStats_GlobalStats uses user-defined statistics.
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void setStretchStatsByRef(IArray ppRGBStats) throws IOException, AutomationException
ppRGBStats
- A reference to a com.esri.arcgis.system.IArray (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.IArray getStretchStats() throws IOException, AutomationException
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void setSpecificationHistogramByRef(IArray pRGBStats) throws IOException, AutomationException
pRGBStats
- A reference to a com.esri.arcgis.system.IArray (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.IArray getSpecificationHistogram() throws IOException, AutomationException
The SpecificationHistogram property specifies histograms. You must set the stretch type (IRasterStretch::StretchType) to be esri_HistogramSpecification in order for the specified histograms to be used.
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |