Class PushbroomXformClass

Namespace
ESRI.ArcGIS.DatasourcesRaster
Assembly
ESRI.Server.DatasourcesRaster.dll
[Guid("10A9C6EF-1B9C-4F41-9882-6F7291C39AB5")]
[ClassInterface(ClassInterfaceType.None)]
public class PushbroomXformClass : PushbroomXform, IGeodataXform2, IPushbroomXform, IGeodataXform, IRasterXform, ISensorXform, ITransformation, IClone, IPersistStream, IPersist, IDocumentVersionSupportGEN, IXMLSerialize, IXMLVersionSupport
Inheritance
PushbroomXformClass
Implements
Inherited Members

Constructors

PushbroomXformClass()

public PushbroomXformClass()

Explicit Interface Implementations

Assign(IClone)

Assigns the properties of src to the receiver.

virtual void Assign(IClone src)

Parameters

src IClone

Clone()

Clones the receiver and assigns the result to *clone.

virtual IClone Clone()

Returns

IClone

ComputeFootprint(esriTransformDirection, IGeometry, int)

Computes the footprint in a given direction for a given input extent/footprint.

virtual IGeometry ComputeFootprint(esriTransformDirection direction, IGeometry pExtent, int MaximumVertices)

Parameters

direction esriTransformDirection
pExtent IGeometry
MaximumVertices int

Returns

IGeometry

ComputeRPCXform(ref IGeodataXform)

Compute RPC sensor Xform from Ephemeris data.

virtual void ComputeRPCXform(ref IGeodataXform ppRPCXf)

Parameters

ppRPCXf IGeodataXform

ConstantZ

The constant Z value in meters.

virtual double ConstantZ { get; set; }

Returns

double

Remarks

This property can be used to set a constant elevation across the image when DEM method is not used.

ConvertToSupportedObject(esriArcGISVersion)

Convert the object to another object that is supported.

virtual object ConvertToSupportedObject(esriArcGISVersion docVersion)

Parameters

docVersion esriArcGISVersion

Returns

object

Remarks

This method should be used when IDocumentVersionSupportGEN::IsSupportedAtVersion returns FALSE.  Calling ConvertToSupportedObject will return an IUnknown pointer to a relevant object supported at the particular ArcGIS version.  Not all objects will return a supported object; in these cases a null pointer will be returned.

CorrectGeoid

Indicates if Geoid correction is needed.

virtual bool CorrectGeoid { get; set; }

Returns

bool

Remarks

If the property is set to true, the DEM used in orthorectification will be corrected to use the true elevation.

DEM

The Digital Elevation Model (DEM).

virtual IRaster DEM { get; set; }

Returns

IRaster

DefineRPCFromEphemerisAndAttitude(ref int, IntPtr, IntPtr)

Compute the sensor model from Ephemeris data.

virtual void DefineRPCFromEphemerisAndAttitude(ref int numPt, IntPtr inXYZ, IntPtr inImaxy)

Parameters

numPt int
inXYZ IntPtr
inImaxy IntPtr

Deserialize(IXMLSerializeData)

Deserializes an object from XML.

virtual void Deserialize(IXMLSerializeData data)

Parameters

data IXMLSerializeData

Domains

The domains in output space.

virtual IGeometryCollection Domains { get; }

Returns

IGeometryCollection

FullExtent

The full output extent within which this xform is applied.

virtual IEnvelope FullExtent { get; set; }

Returns

IEnvelope

GetClassID(out Guid)

virtual void GetClassID(out Guid pClassID)

Parameters

pClassID Guid

GetSizeMax(out _ULARGE_INTEGER)

virtual void GetSizeMax(out _ULARGE_INTEGER pcbSize)

Parameters

pcbSize _ULARGE_INTEGER

GetZ(double, double)

Gets Z value for a given location (x,y) in map space.

virtual double GetZ(double x, double y)

Parameters

x double
y double

Returns

double

IPushbroomXform_Domains

virtual IGeometryCollection IPushbroomXform_Domains { get; }

Returns

IGeometryCollection

IPushbroomXform_IsIdentity

virtual bool IPushbroomXform_IsIdentity { get; }

Returns

bool

IPushbroomXform_SpatialReference

virtual ISpatialReference IPushbroomXform_SpatialReference { get; set; }

Returns

ISpatialReference

IPushbroomXform_Transform(esriTransformDirection, int, ref WKSPoint)

virtual void IPushbroomXform_Transform(esriTransformDirection Direction, int npoints, ref WKSPoint points)

Parameters

Direction esriTransformDirection
npoints int
points WKSPoint

IPushbroomXform_TransformCellsize(esriTransformDirection, ref double, ref double, IEnvelope)

virtual void IPushbroomXform_TransformCellsize(esriTransformDirection Direction, ref double dx, ref double dy, IEnvelope AreaOfInterest)

Parameters

Direction esriTransformDirection
dx double
dy double
AreaOfInterest IEnvelope

IPushbroomXform_TransformExtent(esriTransformDirection, IEnvelope)

virtual void IPushbroomXform_TransformExtent(esriTransformDirection Direction, IEnvelope Extent)

Parameters

Direction esriTransformDirection
Extent IEnvelope

IPushbroomXform_TransformPoints(esriTransformDirection, IPointCollection)

virtual void IPushbroomXform_TransformPoints(esriTransformDirection Direction, IPointCollection points)

Parameters

Direction esriTransformDirection
points IPointCollection

IsDirty()

virtual void IsDirty()

IsEqual(IClone)

Indicates if the receiver and other have the same properties.

virtual bool IsEqual(IClone other)

Parameters

other IClone

Returns

bool

IsIdentical(IClone)

Indicates if the receiver and other are the same object.

virtual bool IsIdentical(IClone other)

Parameters

other IClone

Returns

bool

IsIdentity

Indicates if this geodata transform is an identity transform.

virtual bool IsIdentity { get; }

Returns

bool

IsSupportedAtVersion(esriArcGISVersion)

Is this object valid at the given document version.

virtual bool IsSupportedAtVersion(esriArcGISVersion docVersion)

Parameters

docVersion esriArcGISVersion

Returns

bool

Remarks

Use IsSupportedAtVersion to identify if a particular object should be saved to the ObjectStream.  This result is based on the esriArcGISVersion enumeration.  In some instances, if the object is not supported at a particular ArcGIS version, the object may support conversion to another similar object; use IDocumentVersionSupportGEN::ConvertToSupportedObject to accomplish this.

Load(IStream)

virtual void Load(IStream pstm)

Parameters

pstm IStream

MinNamespaceSupported

The minimum namespace the class can serialize to (eg the 90 namespace).

virtual string MinNamespaceSupported { get; }

Returns

string

Prepare(int, double, double, IEnvelope)

Prepares the xform for a given extent and cellsize within a domain.

virtual void Prepare(int iDomain, double Dx, double Dy, IEnvelope pExtent)

Parameters

iDomain int
Dx double
Dy double
pExtent IEnvelope

RequireDEM

Indicates if DEM is required for applying this transform.

virtual bool RequireDEM { get; set; }

Returns

bool

Save(IStream, int)

virtual void Save(IStream pstm, int fClearDirty)

Parameters

pstm IStream
fClearDirty int

Serialize(IXMLSerializeData)

Serializes an object to XML.

virtual void Serialize(IXMLSerializeData data)

Parameters

data IXMLSerializeData

Simplify()

Simplifies into a simple geodataxform.

virtual IGeodataXform Simplify()

Returns

IGeodataXform

SpatialReference

The output spatial reference after applying this transform.

virtual ISpatialReference SpatialReference { get; set; }

Returns

ISpatialReference

Transform(esriTransformDirection, int, ref WKSPoint)

Transforms a set of points in a given direction.

virtual void Transform(esriTransformDirection Direction, int npoints, ref WKSPoint points)

Parameters

Direction esriTransformDirection
npoints int
points WKSPoint

Transform3D(esriTransformDirection, int, ref WKSPointZ)

Transforms a set of 3D points in a given direction.

virtual void Transform3D(esriTransformDirection direction, int npoints, ref WKSPointZ points)

Parameters

direction esriTransformDirection
npoints int
points WKSPointZ

Transform3DPoints(esriTransformDirection, IPointCollection)

Transforms a collection of 3D points in a given direction

virtual void Transform3DPoints(esriTransformDirection direction, IPointCollection pPoints)

Parameters

direction esriTransformDirection
pPoints IPointCollection

TransformCellsize(esriTransformDirection, ref double, ref double, IEnvelope)

Transforms a cellsize in a given direction.

virtual void TransformCellsize(esriTransformDirection Direction, ref double dx, ref double dy, IEnvelope AreaOfInterest)

Parameters

Direction esriTransformDirection
dx double
dy double
AreaOfInterest IEnvelope

TransformExtent(esriTransformDirection, IEnvelope)

Transforms an extent in a given direction.

virtual void TransformExtent(esriTransformDirection Direction, IEnvelope Extent)

Parameters

Direction esriTransformDirection
Extent IEnvelope

TransformMeasuresFF(esriTransformDirection, int, ref double, ref double)

Transforms floating point measures to floating point measures (or do the inverse).

virtual void TransformMeasuresFF(esriTransformDirection Direction, int cMeasures, ref double inMeasures, ref double outMeasures)

Parameters

Direction esriTransformDirection
cMeasures int
inMeasures double
outMeasures double

TransformMeasuresFI(esriTransformDirection, int, ref double, ref int)

Transforms floating point measures to integer measures (or do the inverse).

virtual void TransformMeasuresFI(esriTransformDirection Direction, int cMeasures, ref double inMeasures, ref int outMeasures)

Parameters

Direction esriTransformDirection
cMeasures int
inMeasures double
outMeasures int

TransformMeasuresIF(esriTransformDirection, int, ref int, ref double)

Transforms integer measures to floating point measures (or do the inverse).

virtual void TransformMeasuresIF(esriTransformDirection Direction, int cMeasures, ref int inMeasures, ref double outMeasures)

Parameters

Direction esriTransformDirection
cMeasures int
inMeasures int
outMeasures double

TransformMeasuresII(esriTransformDirection, int, ref int, ref int)

Transforms integer measures to integer measures (or do the inverse).

virtual void TransformMeasuresII(esriTransformDirection Direction, int cMeasures, ref int inMeasures, ref int outMeasures)

Parameters

Direction esriTransformDirection
cMeasures int
inMeasures int
outMeasures int

TransformPoints(esriTransformDirection, IPointCollection)

Transforms a point collection in a given direction

virtual void TransformPoints(esriTransformDirection Direction, IPointCollection points)

Parameters

Direction esriTransformDirection
points IPointCollection

TransformPointsFF(esriTransformDirection, int, ref double, ref double)

Transforms floating point points to floating point points (or do the inverse).

virtual void TransformPointsFF(esriTransformDirection Direction, int cPoints, ref double inPoints, ref double outPoints)

Parameters

Direction esriTransformDirection
cPoints int
inPoints double
outPoints double

Remarks

The cPoints parameter is the number of points you wish to transform. inPoints and outPoints are one-dimensional arrays so you must interleave coordinate pairs into the arrays.

[C#]

The cPoints parameter is the number of points you wish to transform. inPoints and outPoints are one-dimensional arrays so you must interleave coordinate pairs into the arrays.  This code is a shift of the points to the east and north.

 

            IAffineTransformation2D transform = new AffineTransformation2D() as IAffineTransformation2D;
            //Sets the type of transformation moving the values 10 degrees East and 20 degrees North
            transform.Move(10, 20);
            //Create two single dimensioned arrays for the inPoints and OutPoints
            double[] inPoints = new double[4];
            double[] outPoints = new double[4];




            //Interleave the Longitude and Latitude value for two points 1.1E 5.2N, 2.3E 6.4N
            inPoints[0]=1.1; //Longitude point 1
            inPoints[1]=5.2; //Latitude point 1
            inPoints[2]=2.3; //Longitude point 2
            inPoints[3] = 6.4; //Latitude point 2



            transform.TransformPointsFF(0,2,ref inPoints[0],ref outPoints[0]);
            Debug.Print(outPoints[0].ToString()); //11.1
            Debug.Print(outPoints[1].ToString()); //25.2
            Debug.Print(outPoints[2].ToString()); //12.3
            Debug.Print(outPoints[3].ToString()); //26.4



TransformPointsFI(esriTransformDirection, int, ref double, ref int)

Transforms floating point points to integer points (or do the inverse).

virtual void TransformPointsFI(esriTransformDirection Direction, int cPoints, ref double inPoints, ref int outPoints)

Parameters

Direction esriTransformDirection
cPoints int
inPoints double
outPoints int

Remarks

The cPoints parameter is the number of points you wish to transform. inPoints and outPoints are one-dimensional arrays so you must interleave coordinate pairs into the arrays.

TransformPointsIF(esriTransformDirection, int, ref int, ref double)

Transforms integer points to floating point points (or do the inverse).

virtual void TransformPointsIF(esriTransformDirection Direction, int cPoints, ref int inPoints, ref double outPoints)

Parameters

Direction esriTransformDirection
cPoints int
inPoints int
outPoints double

Remarks

The cPoints parameter is the number of points you wish to transform. inPoints and outPoints are one-dimensional arrays so you must interleave coordinate pairs into the arrays.

TransformPointsII(esriTransformDirection, int, ref int, ref int)

Transforms integer points to integer points (or do the inverse).

virtual void TransformPointsII(esriTransformDirection Direction, int cPoints, ref int inPoints, ref int outPoints)

Parameters

Direction esriTransformDirection
cPoints int
inPoints int
outPoints int

Remarks

The cPoints parameter is the number of points you wish to transform. inPoints and outPoints are one-dimensional arrays so you must interleave coordinate pairs into the arrays.

ZFactor

The conversion factor from DEM Z unit to meters.

virtual double ZFactor { get; set; }

Returns

double

Remarks

A factor that converts the unit of the DEM to meter

ZOffset

The Z offset in meters applied to DEM.

virtual double ZOffset { get; set; }

Returns

double

Remarks

If the DEM data used is not based on sea level, this property can be used to do the adjustment.

get_AttitudeInfo(out int, out double, out double, out IDoubleArray)

Get Pushbroom image attitude quarternion and covariance.

virtual void get_AttitudeInfo(out int num, out double startTime, out double deltaTime, out IDoubleArray inQuaternion)

Parameters

num int
startTime double
deltaTime double
inQuaternion IDoubleArray

get_CameraExterior(out double, out double)

Get Pushbroom camera quarternion.

virtual void get_CameraExterior(out double cameraCenter, out double cameraQuarter)

Parameters

cameraCenter double
cameraQuarter double

get_Coefficients(out double, out double)

Gets the rational polynomial coefficients.

virtual void get_Coefficients(out double orgRPC, out double revRPC)

Parameters

orgRPC double
revRPC double

get_ElevationRange(out double, out double)

Get Pushbroom image elevation range.

virtual void get_ElevationRange(out double minz, out double maxz)

Parameters

minz double
maxz double

get_EphemerisInfo(out int, out double, out double, out IDoubleArray, out IDoubleArray)

Get Pushbroom image position and covariance.

virtual void get_EphemerisInfo(out int num, out double startTime, out double deltaTime, out IDoubleArray inEphemeris, out IDoubleArray inVelocity)

Parameters

num int
startTime double
deltaTime double
inEphemeris IDoubleArray
inVelocity IDoubleArray

get_ImageSizeAndLineTime(out int, out int, out double, out double)

Get Pushbroom image size and line starting time.

virtual void get_ImageSizeAndLineTime(out int Rows, out int Columns, out double startLineTime, out double meanLineRate)

Parameters

Rows int
Columns int
startLineTime double
meanLineRate double

get_SensorInfo(out double, out double, out double, out double, out double)

Get pushbroom senor interior parameters.

virtual void get_SensorInfo(out double infocal, out double pixSize, out double senOrigX, out double senOrigY, out double senAngle)

Parameters

infocal double
pixSize double
senOrigX double
senOrigY double
senAngle double

get_TLCinfo(out int, out double, out double)

Get the tagged-time line count infomation.

virtual void get_TLCinfo(out int numTLC, out double startTCLtime, out double pairTLC)

Parameters

numTLC int
startTCLtime double
pairTLC double

put_AttitudeInfo(int, double, double, IDoubleArray)

Put Pushbroom image attitude quarternion and covariance.

virtual void put_AttitudeInfo(int num, double startTime, double deltaTime, IDoubleArray inQuaternion)

Parameters

num int
startTime double
deltaTime double
inQuaternion IDoubleArray

put_CameraExterior(ref double, ref double)

Put Pushbroom camera quarternion.

virtual void put_CameraExterior(ref double cameraCenter, ref double cameraQuarter)

Parameters

cameraCenter double
cameraQuarter double

put_ElevationRange(double, double)

Put Pushbroom image elevation range.

virtual void put_ElevationRange(double minz, double maxz)

Parameters

minz double
maxz double

put_EphemerisInfo(int, double, double, IDoubleArray, IDoubleArray)

Put Pushbroom image position and covariance.

virtual void put_EphemerisInfo(int num, double startTime, double deltaTime, IDoubleArray inEphemeris, IDoubleArray inVelocity)

Parameters

num int
startTime double
deltaTime double
inEphemeris IDoubleArray
inVelocity IDoubleArray

put_ImageSizeAndLineTime(int, int, double, double)

Put Pushbroom image size and line starting time.

virtual void put_ImageSizeAndLineTime(int Rows, int Columns, double startLineTime, double meanLineRate)

Parameters

Rows int
Columns int
startLineTime double
meanLineRate double

put_SensorInfo(double, double, double, double, double)

Put pushbroom senor interior parameters.

virtual void put_SensorInfo(double infocal, double pixSize, double senOrigX, double senOrigY, double senAngle)

Parameters

infocal double
pixSize double
senOrigX double
senOrigY double
senAngle double

put_TLCinfo(int, double, ref double)

Puts the tagged-time line count infomation.

virtual void put_TLCinfo(int numTLC, double startTCLtime, ref double pairTLC)

Parameters

numTLC int
startTCLtime double
pairTLC double