All Frameworks  Class Hierarchy  This Framework  Previous  Next  Indexes

SimulationInterfaces Interface CATIReplayChannelCameraMove

System.IUnknown
  |
  +---System.IDispatch
    |
    +---System.CATBaseUnknown
      |
      +---SimulationInterfaces.CATIReplayChannel
        |
        +---CATIReplayChannelCameraMove
 

Usage: an implementation of this interface is supplied and you must use it as is. You should not reimplement it.


interface CATIReplayChannelCameraMove

Edit a channel camera move.

A camera move channel describes the evolution of the position and view factors of a camera over time. It is made of samples : each sample contains the position and view factors at a given time.


Method Index


o AddSample(double,double[15])
Add a sample to the channel.
o GetCamera(CATBaseUnknown**)
Get the camera which is moved.
o GetSample(int,double[15])
Read the position of one sample of the channel.
o RemoveSample(int)
Remove one sample of the channel.

Methods


o AddSample
public virtual HRESULT AddSample(double iTime,
double[15] iPosition) const=0
Add a sample to the channel.
Parameters:
iTime
Time of the sample. This time must be greater or equal to 0.
iPosition
Position of the camera at the time of the sample. The 9 first values control the orientation. The 3 following values control the translation. The 3 last values control the view factors.
Returns:
HRESULT
o GetCamera
public virtual HRESULT GetCamera(CATBaseUnknown** oCamera) const=0
Get the camera which is moved.
Parameters:
oCamera
The camera.
Returns:
HRESULT
See also:
CATICamera
o GetSample
public virtual HRESULT GetSample(int iIndex,
double[15] oPosition) const=0
Read the position of one sample of the channel.
Parameters:
iIndex
The index of the sample. This index must be greater or equal to 1 and lower or equal to the number of samples.
oPosition
Position of the camera at the time of the sample. The 9 first values control the orientation. The 3 following values control the translation. The 3 last values control the view factors.
Returns:
HRESULT
o RemoveSample
public virtual HRESULT RemoveSample(int iIndex) const=0
Remove one sample of the channel.
Parameters:
iIndex
The index of the sample. This index must be greater or equal to 1 and lower or equal to the number of samples.
Returns:
HRESULT

This object is included in the file: CATIReplayChannelCameraMove.h
If needed, your Imakefile.mk should include the module: CATSimulationInterfaces

Copyright © 2003, Dassault Systèmes. All rights reserved.