DK for ActiveX | TatukGIS_XDK11.ITGIS_3DFlyOver | Interfaces | Methods | Properties
Implements fly-over path recording, preparation, and playback for a 3D view.
// C# public interface ITGIS_3DFlyOver: ITBaseObject { }
' VisualBasic Public Interface ITGIS_3DFlyOver Implements ITBaseObject End Class
// Oxygene type ITGIS_3DFlyOver = public interface( ITBaseObject ) end;
| Name | Visibility | Description | |
|---|---|---|---|
| AddCamera | public | Adds a camera to the animation path. | |
| AttachDelphiObj | public | Only for internal use of TatukGIS. (Inherited from ITBaseObject) |
|
| Clear | public | Removes all the cameras. | |
| DeleteCamera | public | Deletes camera at a given index. | |
| DelphiObj | public | Only for internal use of TatukGIS. (Inherited from ITBaseObject) |
|
| GrabCamera | public | Records the current view/camera of the attached 3D viewer. | |
| LoadFromFile | public | Loads the settings and cameras from an XML file. | |
| LoadFromLayer | public | Loads the cameras from a vector layer. | |
| MoveCamera | public | Moves a camera in the order. | |
| MoveCameraDown | public | Moves a camera one position down in the order. | |
| MoveCameraUp | public | Moves a camera one position up in the order. | |
| MoveToCamera | public | Sets the view to the specified camera. | |
| MoveToStart | public | Sets the view to the first camera (the camera from which the animation path starts). | |
| Pause | public | Pauses the animation. | |
| PreparePath | public | Prepares the animation path using the current active cameras. | |
| Reset | public | Resets the animation (must be paused). | |
| Restart | public | Restarts the animation (must be paused). | |
| SaveToFile | public | Saves the settings and cameras to an XML file. | |
| SaveToLayer | public | Saves the cameras to a vector layer. | |
| Start | public | Starts the animation. | |
| Stop | public | Stops the animation. | |
| Name | Visibility | Description | |
|---|---|---|---|
| AutoSpeed | public | Controls whether segment speed is calculated automatically from the prepared path. | |
| Camera | public | Provides access to a camera at the specified index. | |
| CameraActive | public | Access to the Active property of a camera. | |
| CameraName | public | Access to the Name property of a camera. | |
| Count | public | Camera count. | |
| FPS | public | Target FPS (frames per second). | |
| Looped | public | True if the animation should loop. | |
| PathType | public | Interpolation method used to prepare the animation path. | |
| Running | public | True if the animation is running. | |
| SpeedFactor | public | Animation speed; 1.0 is default, set to less than 1.0 to slow down and greater than 1.0 to speed up. | |
| TimeSpan | public | Timespan of the animation (in seconds). | |
| Viewer | public | Attached 3D viewer. | |
| ViewerWnd | public | Attached 3D viewer. | |
PURPOSE: Manage a collection of 3D camera keyframes, build an interpolated animation path from active cameras, and control playback in an attached 3D viewer.
BEHAVIOR: The class can capture the current viewer camera, reorder and activate cameras, prepare a path using the selected interpolation method, and then start, pause, restart, reset, stop, or loop the animation. It can also save and load fly-over definitions to XML files and vector layers.
USAGE: Use this class to record a camera sequence and play it back in a 3D viewer.
flyOver = TGIS_3DFlyOver() flyOver.Viewer = viewer flyOver.GrabCamera() flyOver.PreparePath() flyOver.Start()
CONSTRAINTS: A valid 3D viewer or viewer window must be attached before camera capture, path movement, or playback can work. Path playback depends on previously recorded or loaded cameras, and prepared path data should be refreshed after camera list changes.