Blockage Diagram View

Top  Previous  Next

The blockage diagram view Viewpoint type allows the user to visualize a blockage diagram (represented in FreeFlyer using a BlockageDiagram object). It allows the user to modify the view of the blockage diagram and verify whether or not there is contact between the calling Spacecraft and the object of interest. The following is a list of the configurable options for a blockage diagram Viewpoint.

 

Source

Diagram

Show Overlay Text

Sizing

Use Center Defaults

Look Angle 1 Center

Look Angle 2 Center

 

Sample BlockageDiagram viewpoint in FreeFlyer

Sample BlockageDiagram viewpoint in FreeFlyer

 

The script example below shows how to create a custom Blockage Diagram Viewpoint aligned with the center of a BlockageDiagram attached to Spacecraft1, and add it to a ViewWindow.

 

// Create Blockage Diagram Viewpoint

Viewpoint BlockageViewpoint;

BlockageViewpoint.ViewpointType                  = "blockageview";

BlockageViewpoint.ViewpointName                  = "Blockage Diagram";

BlockageViewpoint.BlockageView.Source            = Spacecraft1.ObjectId;

BlockageViewpoint.BlockageView.Diagram           = BlockageDiagram1.ObjectId;

BlockageViewpoint.BlockageView.ShowOverlayText   = 1;

BlockageViewpoint.BlockageView.KeepAspectRatio   = 1;

BlockageViewpoint.BlockageView.UseCenterDefaults = 1;

 

// Add Viewpoint to a ViewWindow and activate it

ViewWindow ViewWindow1({Spacecraft1, BlockageDiagram1});

ViewWindow1.AddViewpoint(BlockageViewpoint);

ViewWindow1.ActivateViewpoint(BlockageViewpoint.ViewpointName);

Update ViewWindow1;

 

 

See Also


ViewWindow

View Output Properties

Viewpoints

Blockage Diagrams

BlockageViewpointOptions Properties and Methods