AGI STK Objects 11 Send comments on this topic.
IAgSnCommonTasks Interface
Windows






Windows & Linux

Description

The common tasks available for the sensor object

Object Model





















Public Methods

Public Method SetPatternComplexConicDefines the sensor using a complex conic pattern.
Public Method SetPatternCustomDefines the sensor using a custom pattern.
Public Method SetPatternEOIRDefines the sensor using a EOIR pattern.
Public Method SetPatternHalfPowerDefines the sensor using a half power pattern.
Public Method SetPatternRectangularDefines the sensor using a rectangular pattern.
Public Method SetPatternSARDefines the sensor using a SAR pattern.
Public Method SetPatternSimpleConicDefines the sensor using a simple conic pattern.
Public Method SetPointing3DModelSets the pointing method to 3DModel.
Public Method SetPointingAlongVectorSets the pointing method to Along Vector.
Public Method SetPointingFixedAxesAzElSets the pointing method to FixedAxes with an AzEl orientation.
Public Method SetPointingFixedAxesEulerSets the pointing method to FixedAxes with a Euler Angles orientation.
Public Method SetPointingFixedAxesQuatSets the pointing method to FixedAxes with a Quaternion orientation.
Public Method SetPointingFixedAxesYPRSets the pointing method to FixedAxes with a YPR Angles orientation.
Public Method SetPointingFixedAzElSets the pointing method to Fixed with an AzEl orientation.
Public Method SetPointingFixedEulerSets the pointing method to Fixed with a Euler Angles orientation.
Public Method SetPointingFixedQuatSets the pointing method to Fixed with a Quaternion orientation.
Public Method SetPointingFixedYPRSets the pointing method to Fixed with a YPR Angles orientation.
Public Method SetPointingGrazingAltSets the pointing method to GrazingAlt.
Public Method SetPointingSpinningSets the pointing method to Spinning.
Public Method SetPointingTargetedTrackingSets the pointing method to Targeted with Tracking.

Example

Define a simple conic sensor
[C#]Copy Code
IAgSnSimpleConicPattern patternData = sensor.CommonTasks.SetPatternSimpleConic(40.00.1); 
 

Define a complex sensor
[C#]Copy Code
IAgSnComplexConicPattern patterndata = sensor.CommonTasks.SetPatternComplexConic(10.070.020.0220.0); 
patterndata.AngularResolution = 0.5
 

Define a custom sensor
[C#]Copy Code
// Set pattern type to Custom 
IAgSnCustomPattern customPattern = sensor.CommonTasks.SetPatternCustom(sensorPatternPath); 
customPattern.AngularResolution = 6.0
customPattern.UseNativeResolution = false
 

Define a half power sensor
[C#]Copy Code
// Configure pattern 
IAgSnHalfPowerPattern pattern = sensor.CommonTasks.SetPatternHalfPower(12.53.46.0); 
 

Define a SAR sensor
[C#]Copy Code
// Configure pattern 
IAgSnSARPattern patterndata = sensor.CommonTasks.SetPatternSAR(10.060.040.030.0700.0); 
 

Define fixed sensor pointing
[C#]Copy Code
IAgSnPtFixed fixedSensor = sensor.CommonTasks.SetPointingFixedAzEl(4.5, -45.0, AgEAzElAboutBoresight.eAzElAboutBoresightRotate); 
 

Define targeted sensor pointing
[C#]Copy Code
IAgSnPtTargeted targetedSensor = sensor.CommonTasks.SetPointingTargetedTracking( 
    AgETrackModeType.eTrackModeTransmit, AgEBoresightType.eBoresightLevel, "*/AreaTarget/AreaTarget1"); 
 

Define spinning sensor pointing (using common tasks)
[C#]Copy Code
// Configure sensor (using common taks) 
sensor.CommonTasks.SetPointingSpinning( 
    14.24
    7.68
    42.46
    AgESnScanMode.eSnContinuous, 
    88.921
    110.44
    1.20
    3.50); 
 

Define a simple conic sensor
[Visual Basic .NET]Copy Code
Dim patternData As IAgSnSimpleConicPattern = sensor.CommonTasks.SetPatternSimpleConic(40, 0.1)

Define a complex sensor
[Visual Basic .NET]Copy Code
Dim patterndata As IAgSnComplexConicPattern = sensor.CommonTasks.SetPatternComplexConic(10, 70, 20, 220)
patterndata.AngularResolution = 0.5

Define a custom sensor
[Visual Basic .NET]Copy Code
' Set pattern type to Custom
Dim customPattern As IAgSnCustomPattern = sensor.CommonTasks.SetPatternCustom(sensorPatternPath)
customPattern.AngularResolution = 6
customPattern.UseNativeResolution = False

Define a half power sensor
[Visual Basic .NET]Copy Code
' Configure pattern
Dim pattern As IAgSnHalfPowerPattern = sensor.CommonTasks.SetPatternHalfPower(12.5, 3.4, 6)

Define a SAR sensor
[Visual Basic .NET]Copy Code
' Configure pattern
Dim patterndata As IAgSnSARPattern = sensor.CommonTasks.SetPatternSAR(10, 60, 40, 30, 700)

Define fixed sensor pointing
[Visual Basic .NET]Copy Code
Dim fixedSensor As IAgSnPtFixed = sensor.CommonTasks.SetPointingFixedAzEl(4.5, -45, AgEAzElAboutBoresight.eAzElAboutBoresightRotate)

Define targeted sensor pointing
[Visual Basic .NET]Copy Code
Dim targetedSensor As IAgSnPtTargeted = sensor.CommonTasks.SetPointingTargetedTracking(AgETrackModeType.eTrackModeTransmit, AgEBoresightType.eBoresightLevel, "*/AreaTarget/AreaTarget1")

Define spinning sensor pointing (using common tasks)
[Visual Basic .NET]Copy Code
' Configure sensor (using common taks)
sensor.CommonTasks.SetPointingSpinning(14.24, 7.68, 42.46, AgESnScanMode.eSnContinuous, 88.921, 110.44, _
    1.2, 3.5)

© 2018 Analytical Graphics, Inc. All Rights Reserved.