ivwanimation

Animation Module API

Provides Python bindings for the Inviwo animation framework, including keyframes, keyframe sequences, tracks, animations, and animation controllers.

Functions

getWorkspaceAnimations(app)

Get the WorkspaceAnimations from the AnimationModule.

Classes

Animation

AnimationController

AnimationState

Members:

AnimationTimeState

BaseKeyframe

BasePropertyTrack

ButtonKeyframe

ButtonKeyframeSequence

CallbackKeyframe

CallbackKeyframeSequence

CallbackTrack

CameraKeyframe

CameraKeyframeSequence

ControlAction

Members:

ControlKeyframe

ControlKeyframeSequence

ControlTrack

DVec2Keyframe

DVec2KeyframeSequence

DVec3Keyframe

DVec3KeyframeSequence

DVec4Keyframe

DVec4KeyframeSequence

DoubleKeyframe

DoubleKeyframeSequence

EasingMode

Members:

EasingType

Members:

FloatKeyframe

FloatKeyframeSequence

IVec2Keyframe

IVec2KeyframeSequence

IVec3Keyframe

IVec3KeyframeSequence

IVec4Keyframe

IVec4KeyframeSequence

IntKeyframe

IntKeyframeSequence

Interpolation

InvalidationKeyframe

InvalidationKeyframeSequence

Keyframe

KeyframeSequence

MainAnimation

Mat2Keyframe

Mat2KeyframeSequence

Mat3Keyframe

Mat3KeyframeSequence

Mat4Keyframe

Mat4KeyframeSequence

PlaybackDirection

Members:

PlaybackMode

Members:

StringVector

Track

ValueKeyframeSequence

Vec2Keyframe

Vec2KeyframeSequence

Vec3Keyframe

Vec3KeyframeSequence

Vec4Keyframe

Vec4KeyframeSequence

WorkspaceAnimations

class ivwanimation.Animation

Bases: pybind11_object

__getitem__(self: ivwanimation.Animation, arg0: SupportsInt) ivwanimation.Track
__init__(self: ivwanimation.Animation, name: str = 'Animation') None
__iter__(self: ivwanimation.Animation) collections.abc.Iterator[ivwanimation.Track]
__len__(self: ivwanimation.Animation) int
__repr__(self: ivwanimation.Animation) str
add(self: ivwanimation.Animation, property: inviwopy.properties.Property) ivwanimation.BasePropertyTrack
addKeyframe(self: ivwanimation.Animation, property: inviwopy.properties.Property, time: SupportsFloat) ivwanimation.Keyframe
addKeyframeSequence(self: ivwanimation.Animation, property: inviwopy.properties.Property, time: SupportsFloat) ivwanimation.KeyframeSequence
clear(self: ivwanimation.Animation) None
getAllTimes(self: ivwanimation.Animation) inviwopy.glm.doubleVector
getNextTime(self: ivwanimation.Animation, at: SupportsFloat) object
getPrevTime(self: ivwanimation.Animation, at: SupportsFloat) object
removeKeyframe(self: ivwanimation.Animation, keyframe: ivwanimation.Keyframe) ivwanimation.Keyframe
removeKeyframeSequence(self: ivwanimation.Animation, sequence: ivwanimation.KeyframeSequence) ivwanimation.KeyframeSequence
removeTrack(*args, **kwargs)

Overloaded function.

  1. removeTrack(self: ivwanimation.Animation, index: typing.SupportsInt) -> ivwanimation.Track

  2. removeTrack(self: ivwanimation.Animation, track: ivwanimation.Track) -> ivwanimation.Track

property empty
property firstTime
property lastTime
property name
class ivwanimation.AnimationController

Bases: PropertyOwner

__init__(*args, **kwargs)
__repr__(self: ivwanimation.AnimationController) str
eval(self: ivwanimation.AnimationController, oldTime: SupportsFloat, newTime: SupportsFloat) None
jumpToNextControlKeyframe(self: ivwanimation.AnimationController) None
jumpToNextKeyframe(self: ivwanimation.AnimationController) None
jumpToPrevControlKeyframe(self: ivwanimation.AnimationController) None
jumpToPrevKeyframe(self: ivwanimation.AnimationController) None
pause(self: ivwanimation.AnimationController) None
play(self: ivwanimation.AnimationController) None
render(self: ivwanimation.AnimationController) None
stop(self: ivwanimation.AnimationController) None
tick(self: ivwanimation.AnimationController) None
property animation
property currentTime
property deltaTime
property playbackDirection
property state
class ivwanimation.AnimationState

Bases: pybind11_object

Members:

Paused

Playing

Rendering

__eq__(self: object, other: object, /) bool
__hash__(self: object, /) int
__index__(self: ivwanimation.AnimationState, /) int
__init__(self: ivwanimation.AnimationState, value: SupportsInt) None
__int__(self: ivwanimation.AnimationState, /) int
__ne__(self: object, other: object, /) bool
__repr__(self: object, /) str
__str__(self: object, /) str
Paused = <AnimationState.Paused: 0>
Playing = <AnimationState.Playing: 1>
Rendering = <AnimationState.Rendering: 2>
AnimationState.name -> str
property value
class ivwanimation.AnimationTimeState

Bases: pybind11_object

__init__(self: ivwanimation.AnimationTimeState, time: SupportsFloat, state: ivwanimation.AnimationState) None
__repr__(self: ivwanimation.AnimationTimeState) str
property state
property time
class ivwanimation.BaseKeyframe

Bases: Keyframe

__init__(*args, **kwargs)
property easeIn
property easeOut
class ivwanimation.BasePropertyTrack

Bases: pybind11_object

__init__(*args, **kwargs)
addKeyFrameUsingPropertyValue(self: ivwanimation.BasePropertyTrack, time: SupportsFloat) ivwanimation.Keyframe
addSequenceUsingPropertyValue(self: ivwanimation.BasePropertyTrack, time: SupportsFloat) ivwanimation.KeyframeSequence
property property
class ivwanimation.ButtonKeyframe

Bases: BaseKeyframe

__init__(self: ivwanimation.ButtonKeyframe, time: SupportsFloat) None
__repr__(self: ivwanimation.ButtonKeyframe) str
class ivwanimation.ButtonKeyframeSequence

Bases: KeyframeSequence

__init__(self: ivwanimation.ButtonKeyframeSequence) None
__repr__(self: ivwanimation.ButtonKeyframeSequence) str
class ivwanimation.CallbackKeyframe

Bases: BaseKeyframe

__init__(self: ivwanimation.CallbackKeyframe, time: SupportsFloat, do_: collections.abc.Callable[[], None] = None, undo: collections.abc.Callable[[], None] = None) None
__repr__(self: ivwanimation.CallbackKeyframe) str
class ivwanimation.CallbackKeyframeSequence

Bases: KeyframeSequence

__init__(self: ivwanimation.CallbackKeyframeSequence) None
__repr__(self: ivwanimation.CallbackKeyframeSequence) str
class ivwanimation.CallbackTrack

Bases: Track

__init__(self: ivwanimation.CallbackTrack) None
__repr__(self: ivwanimation.CallbackTrack) str
class ivwanimation.CameraKeyframe

Bases: BaseKeyframe

__init__(self: ivwanimation.CameraKeyframe, time: SupportsFloat) None
__repr__(self: ivwanimation.CameraKeyframe) str
property direction
property lookFrom
property lookTo
property lookUp
class ivwanimation.CameraKeyframeSequence

Bases: KeyframeSequence, ValueKeyframeSequence

__init__(self: ivwanimation.CameraKeyframeSequence) None
__repr__(self: ivwanimation.CameraKeyframeSequence) str
class ivwanimation.ControlAction

Bases: pybind11_object

Members:

Pause

Jump

__eq__(self: object, other: object, /) bool
__hash__(self: object, /) int
__index__(self: ivwanimation.ControlAction, /) int
__init__(self: ivwanimation.ControlAction, value: SupportsInt) None
__int__(self: ivwanimation.ControlAction, /) int
__ne__(self: object, other: object, /) bool
__repr__(self: object, /) str
__str__(self: object, /) str
Jump = <ControlAction.Jump: 1>
Pause = <ControlAction.Pause: 0>
ControlAction.name -> str
property value
class ivwanimation.ControlKeyframe

Bases: BaseKeyframe

__init__(self: ivwanimation.ControlKeyframe, time: SupportsFloat, action: ivwanimation.ControlAction = <ControlAction.Pause: 0>, jumpTime: SupportsFloat = 0.0) None
__repr__(self: ivwanimation.ControlKeyframe) str
property action
property jumpTime
class ivwanimation.ControlKeyframeSequence

Bases: KeyframeSequence

__init__(self: ivwanimation.ControlKeyframeSequence) None
__repr__(self: ivwanimation.ControlKeyframeSequence) str
class ivwanimation.ControlTrack

Bases: Track

__init__(self: ivwanimation.ControlTrack) None
__repr__(self: ivwanimation.ControlTrack) str
class ivwanimation.DVec2Keyframe

Bases: BaseKeyframe

__init__(*args, **kwargs)

Overloaded function.

  1. __init__(self: ivwanimation.DVec2Keyframe, time: typing.SupportsFloat, value: inviwopy.glm.dvec2) -> None

  2. __init__(self: ivwanimation.DVec2Keyframe, time: typing.SupportsFloat) -> None

__repr__(self: ivwanimation.DVec2Keyframe) str
property value
class ivwanimation.DVec2KeyframeSequence

Bases: KeyframeSequence, ValueKeyframeSequence

__init__(self: ivwanimation.DVec2KeyframeSequence) None
__repr__(self: ivwanimation.DVec2KeyframeSequence) str
class ivwanimation.DVec3Keyframe

Bases: BaseKeyframe

__init__(*args, **kwargs)

Overloaded function.

  1. __init__(self: ivwanimation.DVec3Keyframe, time: typing.SupportsFloat, value: inviwopy.glm.dvec3) -> None

  2. __init__(self: ivwanimation.DVec3Keyframe, time: typing.SupportsFloat) -> None

__repr__(self: ivwanimation.DVec3Keyframe) str
property value
class ivwanimation.DVec3KeyframeSequence

Bases: KeyframeSequence, ValueKeyframeSequence

__init__(self: ivwanimation.DVec3KeyframeSequence) None
__repr__(self: ivwanimation.DVec3KeyframeSequence) str
class ivwanimation.DVec4Keyframe

Bases: BaseKeyframe

__init__(*args, **kwargs)

Overloaded function.

  1. __init__(self: ivwanimation.DVec4Keyframe, time: typing.SupportsFloat, value: inviwopy.glm.dvec4) -> None

  2. __init__(self: ivwanimation.DVec4Keyframe, time: typing.SupportsFloat) -> None

__repr__(self: ivwanimation.DVec4Keyframe) str
property value
class ivwanimation.DVec4KeyframeSequence

Bases: KeyframeSequence, ValueKeyframeSequence

__init__(self: ivwanimation.DVec4KeyframeSequence) None
__repr__(self: ivwanimation.DVec4KeyframeSequence) str
class ivwanimation.DoubleKeyframe

Bases: BaseKeyframe

__init__(*args, **kwargs)

Overloaded function.

  1. __init__(self: ivwanimation.DoubleKeyframe, time: typing.SupportsFloat, value: typing.SupportsFloat) -> None

  2. __init__(self: ivwanimation.DoubleKeyframe, time: typing.SupportsFloat) -> None

__repr__(self: ivwanimation.DoubleKeyframe) str
property value
class ivwanimation.DoubleKeyframeSequence

Bases: KeyframeSequence, ValueKeyframeSequence

__init__(self: ivwanimation.DoubleKeyframeSequence) None
__repr__(self: ivwanimation.DoubleKeyframeSequence) str
class ivwanimation.EasingMode

Bases: pybind11_object

Members:

In

Out

InOut

__eq__(self: object, other: object, /) bool
__hash__(self: object, /) int
__index__(self: ivwanimation.EasingMode, /) int
__init__(self: ivwanimation.EasingMode, value: SupportsInt) None
__int__(self: ivwanimation.EasingMode, /) int
__ne__(self: object, other: object, /) bool
__repr__(self: object, /) str
__str__(self: object, /) str
In = <EasingMode.In: 0>
InOut = <EasingMode.InOut: 2>
Out = <EasingMode.Out: 1>
EasingMode.name -> str
property value
class ivwanimation.EasingType

Bases: pybind11_object

Members:

Linear

Quadratic

Cubic

Quartic

Quintic

Sine

Circular

Exponential

Elastic

Back

Bounce

__eq__(self: object, other: object, /) bool
__hash__(self: object, /) int
__index__(self: ivwanimation.EasingType, /) int
__init__(self: ivwanimation.EasingType, value: SupportsInt) None
__int__(self: ivwanimation.EasingType, /) int
__ne__(self: object, other: object, /) bool
__repr__(self: object, /) str
__str__(self: object, /) str
Back = <EasingType.Back: 9>
Bounce = <EasingType.Bounce: 10>
Circular = <EasingType.Circular: 6>
Cubic = <EasingType.Cubic: 2>
Elastic = <EasingType.Elastic: 8>
Exponential = <EasingType.Exponential: 7>
Linear = <EasingType.Linear: 0>
Quadratic = <EasingType.Quadratic: 1>
Quartic = <EasingType.Quartic: 3>
Quintic = <EasingType.Quintic: 4>
Sine = <EasingType.Sine: 5>
EasingType.name -> str
property value
class ivwanimation.FloatKeyframe

Bases: BaseKeyframe

__init__(*args, **kwargs)

Overloaded function.

  1. __init__(self: ivwanimation.FloatKeyframe, time: typing.SupportsFloat, value: typing.SupportsFloat) -> None

  2. __init__(self: ivwanimation.FloatKeyframe, time: typing.SupportsFloat) -> None

__repr__(self: ivwanimation.FloatKeyframe) str
property value
class ivwanimation.FloatKeyframeSequence

Bases: KeyframeSequence, ValueKeyframeSequence

__init__(self: ivwanimation.FloatKeyframeSequence) None
__repr__(self: ivwanimation.FloatKeyframeSequence) str
class ivwanimation.IVec2Keyframe

Bases: BaseKeyframe

__init__(*args, **kwargs)

Overloaded function.

  1. __init__(self: ivwanimation.IVec2Keyframe, time: typing.SupportsFloat, value: inviwopy.glm.ivec2) -> None

  2. __init__(self: ivwanimation.IVec2Keyframe, time: typing.SupportsFloat) -> None

__repr__(self: ivwanimation.IVec2Keyframe) str
property value
class ivwanimation.IVec2KeyframeSequence

Bases: KeyframeSequence, ValueKeyframeSequence

__init__(self: ivwanimation.IVec2KeyframeSequence) None
__repr__(self: ivwanimation.IVec2KeyframeSequence) str
class ivwanimation.IVec3Keyframe

Bases: BaseKeyframe

__init__(*args, **kwargs)

Overloaded function.

  1. __init__(self: ivwanimation.IVec3Keyframe, time: typing.SupportsFloat, value: inviwopy.glm.ivec3) -> None

  2. __init__(self: ivwanimation.IVec3Keyframe, time: typing.SupportsFloat) -> None

__repr__(self: ivwanimation.IVec3Keyframe) str
property value
class ivwanimation.IVec3KeyframeSequence

Bases: KeyframeSequence, ValueKeyframeSequence

__init__(self: ivwanimation.IVec3KeyframeSequence) None
__repr__(self: ivwanimation.IVec3KeyframeSequence) str
class ivwanimation.IVec4Keyframe

Bases: BaseKeyframe

__init__(*args, **kwargs)

Overloaded function.

  1. __init__(self: ivwanimation.IVec4Keyframe, time: typing.SupportsFloat, value: inviwopy.glm.ivec4) -> None

  2. __init__(self: ivwanimation.IVec4Keyframe, time: typing.SupportsFloat) -> None

__repr__(self: ivwanimation.IVec4Keyframe) str
property value
class ivwanimation.IVec4KeyframeSequence

Bases: KeyframeSequence, ValueKeyframeSequence

__init__(self: ivwanimation.IVec4KeyframeSequence) None
__repr__(self: ivwanimation.IVec4KeyframeSequence) str
class ivwanimation.IntKeyframe

Bases: BaseKeyframe

__init__(*args, **kwargs)

Overloaded function.

  1. __init__(self: ivwanimation.IntKeyframe, time: typing.SupportsFloat, value: typing.SupportsInt) -> None

  2. __init__(self: ivwanimation.IntKeyframe, time: typing.SupportsFloat) -> None

__repr__(self: ivwanimation.IntKeyframe) str
property value
class ivwanimation.IntKeyframeSequence

Bases: KeyframeSequence, ValueKeyframeSequence

__init__(self: ivwanimation.IntKeyframeSequence) None
__repr__(self: ivwanimation.IntKeyframeSequence) str
class ivwanimation.Interpolation

Bases: PropertyOwner

__init__(*args, **kwargs)
__repr__(self: ivwanimation.Interpolation) str
property classIdentifier
property displayName
class ivwanimation.InvalidationKeyframe

Bases: BaseKeyframe

__init__(self: ivwanimation.InvalidationKeyframe, time: SupportsFloat) None
__repr__(self: ivwanimation.InvalidationKeyframe) str
class ivwanimation.InvalidationKeyframeSequence

Bases: KeyframeSequence

__init__(self: ivwanimation.InvalidationKeyframeSequence) None
__repr__(self: ivwanimation.InvalidationKeyframeSequence) str
property path
class ivwanimation.Keyframe

Bases: pybind11_object

__init__(*args, **kwargs)
__repr__(self: ivwanimation.Keyframe) str
property selected
property time
class ivwanimation.KeyframeSequence

Bases: pybind11_object

__getitem__(self: ivwanimation.KeyframeSequence, arg0: SupportsInt) ivwanimation.Keyframe
__init__(*args, **kwargs)
__len__(self: ivwanimation.KeyframeSequence) int
__repr__(self: ivwanimation.KeyframeSequence) str
getNextTime(self: ivwanimation.KeyframeSequence, at: SupportsFloat) object
getPrevTime(self: ivwanimation.KeyframeSequence, at: SupportsFloat) object
remove(*args, **kwargs)

Overloaded function.

  1. remove(self: ivwanimation.KeyframeSequence, index: typing.SupportsInt) -> ivwanimation.Keyframe

  2. remove(self: ivwanimation.KeyframeSequence, key: ivwanimation.Keyframe) -> ivwanimation.Keyframe

property firstTime
property lastTime
property selected
property size
class ivwanimation.MainAnimation

Bases: pybind11_object

__init__(*args, **kwargs)
__repr__(self: ivwanimation.MainAnimation) str
property animation
property controller
class ivwanimation.Mat2Keyframe

Bases: BaseKeyframe

__init__(*args, **kwargs)

Overloaded function.

  1. __init__(self: ivwanimation.Mat2Keyframe, time: typing.SupportsFloat, value: inviwopy.glm.mat2) -> None

  2. __init__(self: ivwanimation.Mat2Keyframe, time: typing.SupportsFloat) -> None

__repr__(self: ivwanimation.Mat2Keyframe) str
property value
class ivwanimation.Mat2KeyframeSequence

Bases: KeyframeSequence, ValueKeyframeSequence

__init__(self: ivwanimation.Mat2KeyframeSequence) None
__repr__(self: ivwanimation.Mat2KeyframeSequence) str
class ivwanimation.Mat3Keyframe

Bases: BaseKeyframe

__init__(*args, **kwargs)

Overloaded function.

  1. __init__(self: ivwanimation.Mat3Keyframe, time: typing.SupportsFloat, value: inviwopy.glm.mat3) -> None

  2. __init__(self: ivwanimation.Mat3Keyframe, time: typing.SupportsFloat) -> None

__repr__(self: ivwanimation.Mat3Keyframe) str
property value
class ivwanimation.Mat3KeyframeSequence

Bases: KeyframeSequence, ValueKeyframeSequence

__init__(self: ivwanimation.Mat3KeyframeSequence) None
__repr__(self: ivwanimation.Mat3KeyframeSequence) str
class ivwanimation.Mat4Keyframe

Bases: BaseKeyframe

__init__(*args, **kwargs)

Overloaded function.

  1. __init__(self: ivwanimation.Mat4Keyframe, time: typing.SupportsFloat, value: inviwopy.glm.mat4) -> None

  2. __init__(self: ivwanimation.Mat4Keyframe, time: typing.SupportsFloat) -> None

__repr__(self: ivwanimation.Mat4Keyframe) str
property value
class ivwanimation.Mat4KeyframeSequence

Bases: KeyframeSequence, ValueKeyframeSequence

__init__(self: ivwanimation.Mat4KeyframeSequence) None
__repr__(self: ivwanimation.Mat4KeyframeSequence) str
class ivwanimation.PlaybackDirection

Bases: pybind11_object

Members:

Forward

Backward

__eq__(self: object, other: object, /) bool
__hash__(self: object, /) int
__index__(self: ivwanimation.PlaybackDirection, /) int
__init__(self: ivwanimation.PlaybackDirection, value: SupportsInt) None
__int__(self: ivwanimation.PlaybackDirection, /) int
__ne__(self: object, other: object, /) bool
__repr__(self: object, /) str
__str__(self: object, /) str
Backward = <PlaybackDirection.Backward: 1>
Forward = <PlaybackDirection.Forward: 0>
PlaybackDirection.name -> str
property value
class ivwanimation.PlaybackMode

Bases: pybind11_object

Members:

Once

Loop

Swing

__eq__(self: object, other: object, /) bool
__hash__(self: object, /) int
__index__(self: ivwanimation.PlaybackMode, /) int
__init__(self: ivwanimation.PlaybackMode, value: SupportsInt) None
__int__(self: ivwanimation.PlaybackMode, /) int
__ne__(self: object, other: object, /) bool
__repr__(self: object, /) str
__str__(self: object, /) str
Loop = <PlaybackMode.Loop: 1>
Once = <PlaybackMode.Once: 0>
Swing = <PlaybackMode.Swing: 2>
PlaybackMode.name -> str
property value
class ivwanimation.StringVector

Bases: pybind11_object

__bool__(self: ivwanimation.StringVector) bool

Check whether the list is nonempty

__contains__(self: ivwanimation.StringVector, x: str) bool

Return true the container contains x

__delitem__(*args, **kwargs)

Overloaded function.

  1. __delitem__(self: ivwanimation.StringVector, arg0: typing.SupportsInt) -> None

Delete the list elements at index i

  1. __delitem__(self: ivwanimation.StringVector, arg0: slice) -> None

Delete list elements using a slice object

__eq__(self: ivwanimation.StringVector, arg0: ivwanimation.StringVector) bool
__getitem__(*args, **kwargs)

Overloaded function.

  1. __getitem__(self: ivwanimation.StringVector, s: slice) -> ivwanimation.StringVector

Retrieve list elements using a slice object

  1. __getitem__(self: ivwanimation.StringVector, arg0: typing.SupportsInt) -> str

__init__(*args, **kwargs)

Overloaded function.

  1. __init__(self: ivwanimation.StringVector) -> None

  2. __init__(self: ivwanimation.StringVector, arg0: ivwanimation.StringVector) -> None

Copy constructor

  1. __init__(self: ivwanimation.StringVector, arg0: collections.abc.Iterable) -> None

__iter__(self: ivwanimation.StringVector) collections.abc.Iterator[str]
__len__(self: ivwanimation.StringVector) int
__ne__(self: ivwanimation.StringVector, arg0: ivwanimation.StringVector) bool
__repr__(self: ivwanimation.StringVector) str

Return the canonical string representation of this list.

__setitem__(*args, **kwargs)

Overloaded function.

  1. __setitem__(self: ivwanimation.StringVector, arg0: typing.SupportsInt, arg1: str) -> None

  2. __setitem__(self: ivwanimation.StringVector, arg0: slice, arg1: ivwanimation.StringVector) -> None

Assign list elements using a slice object

append(self: ivwanimation.StringVector, x: str) None

Add an item to the end of the list

clear(self: ivwanimation.StringVector) None

Clear the contents

count(self: ivwanimation.StringVector, x: str) int

Return the number of times x appears in the list

extend(*args, **kwargs)

Overloaded function.

  1. extend(self: ivwanimation.StringVector, L: ivwanimation.StringVector) -> None

Extend the list by appending all the items in the given list

  1. extend(self: ivwanimation.StringVector, L: collections.abc.Iterable) -> None

Extend the list by appending all the items in the given list

insert(self: ivwanimation.StringVector, i: SupportsInt, x: str) None

Insert an item at a given position.

pop(*args, **kwargs)

Overloaded function.

  1. pop(self: ivwanimation.StringVector) -> str

Remove and return the last item

  1. pop(self: ivwanimation.StringVector, i: typing.SupportsInt) -> str

Remove and return the item at index i

remove(self: ivwanimation.StringVector, x: str) None

Remove the first item from the list whose value is x. It is an error if there is no such item.

__hash__ = None
__pybind11_module_local_v11_msvc_md_mscver19__ = <capsule object NULL>
class ivwanimation.Track

Bases: pybind11_object

__getitem__(self: ivwanimation.Track, arg0: SupportsInt) ivwanimation.KeyframeSequence
__init__(*args, **kwargs)
__len__(self: ivwanimation.Track) int
__repr__(self: ivwanimation.Track) str
addKeyframe(self: ivwanimation.Track, time: SupportsFloat, asNewSequence: bool = False) ivwanimation.Keyframe
getAllTimes(self: ivwanimation.Track) inviwopy.glm.doubleVector
getNextTime(self: ivwanimation.Track, at: SupportsFloat) object
getPrevTime(self: ivwanimation.Track, at: SupportsFloat) object
removeKeyframe(self: ivwanimation.Track, keyframe: ivwanimation.Keyframe) ivwanimation.Keyframe
removeSequence(*args, **kwargs)

Overloaded function.

  1. removeSequence(self: ivwanimation.Track, index: typing.SupportsInt) -> ivwanimation.KeyframeSequence

  2. removeSequence(self: ivwanimation.Track, sequence: ivwanimation.KeyframeSequence) -> ivwanimation.KeyframeSequence

property classIdentifier
property empty
property enabled
property firstTime
property lastTime
property name
property priority
class ivwanimation.ValueKeyframeSequence

Bases: pybind11_object

__init__(*args, **kwargs)
property interpolation
class ivwanimation.Vec2Keyframe

Bases: BaseKeyframe

__init__(*args, **kwargs)

Overloaded function.

  1. __init__(self: ivwanimation.Vec2Keyframe, time: typing.SupportsFloat, value: inviwopy.glm.vec2) -> None

  2. __init__(self: ivwanimation.Vec2Keyframe, time: typing.SupportsFloat) -> None

__repr__(self: ivwanimation.Vec2Keyframe) str
property value
class ivwanimation.Vec2KeyframeSequence

Bases: KeyframeSequence, ValueKeyframeSequence

__init__(self: ivwanimation.Vec2KeyframeSequence) None
__repr__(self: ivwanimation.Vec2KeyframeSequence) str
class ivwanimation.Vec3Keyframe

Bases: BaseKeyframe

__init__(*args, **kwargs)

Overloaded function.

  1. __init__(self: ivwanimation.Vec3Keyframe, time: typing.SupportsFloat, value: inviwopy.glm.vec3) -> None

  2. __init__(self: ivwanimation.Vec3Keyframe, time: typing.SupportsFloat) -> None

__repr__(self: ivwanimation.Vec3Keyframe) str
property value
class ivwanimation.Vec3KeyframeSequence

Bases: KeyframeSequence, ValueKeyframeSequence

__init__(self: ivwanimation.Vec3KeyframeSequence) None
__repr__(self: ivwanimation.Vec3KeyframeSequence) str
class ivwanimation.Vec4Keyframe

Bases: BaseKeyframe

__init__(*args, **kwargs)

Overloaded function.

  1. __init__(self: ivwanimation.Vec4Keyframe, time: typing.SupportsFloat, value: inviwopy.glm.vec4) -> None

  2. __init__(self: ivwanimation.Vec4Keyframe, time: typing.SupportsFloat) -> None

__repr__(self: ivwanimation.Vec4Keyframe) str
property value
class ivwanimation.Vec4KeyframeSequence

Bases: KeyframeSequence, ValueKeyframeSequence

__init__(self: ivwanimation.Vec4KeyframeSequence) None
__repr__(self: ivwanimation.Vec4KeyframeSequence) str
class ivwanimation.WorkspaceAnimations

Bases: pybind11_object

__getitem__(self: ivwanimation.WorkspaceAnimations, arg0: SupportsInt) ivwanimation.Animation
__init__(*args, **kwargs)
__iter__(self: ivwanimation.WorkspaceAnimations) collections.abc.Iterator[ivwanimation.Animation]
__len__(self: ivwanimation.WorkspaceAnimations) int
__repr__(self: ivwanimation.WorkspaceAnimations) str
add(self: ivwanimation.WorkspaceAnimations, name: str = 'Animation') ivwanimation.Animation
clear(self: ivwanimation.WorkspaceAnimations) None
erase(self: ivwanimation.WorkspaceAnimations, index: SupportsInt) None
get(*args, **kwargs)

Overloaded function.

  1. get(self: ivwanimation.WorkspaceAnimations, index: typing.SupportsInt) -> ivwanimation.Animation

  2. get(self: ivwanimation.WorkspaceAnimations, name: str) -> list[ivwanimation.Animation]

property mainAnimation
ivwanimation.getWorkspaceAnimations(app: inviwopy.InviwoApplication) ivwanimation.WorkspaceAnimations

Get the WorkspaceAnimations from the AnimationModule.