ParaView
|
helper class to write animation images/movies. More...
#include <vtkSMAnimationSceneImageWriter.h>
Public Types | |
typedef vtkSMAnimationSceneWriter | Superclass |
![]() | |
typedef vtkSMSessionObject | Superclass |
![]() | |
typedef vtkSMObject | Superclass |
![]() | |
typedef vtkObject | Superclass |
Public Member Functions | |
virtual const char * | GetClassName () |
virtual int | IsA (const char *type) |
void | PrintSelf (ostream &os, vtkIndent indent) |
virtual void | SetFrameRate (double) |
virtual double | GetFrameRate () |
virtual void | SetMagnification (int) |
Set the magnification factor to use for the saved animation. More... | |
virtual int | GetMagnification () |
Set the magnification factor to use for the saved animation. More... | |
virtual void | SetQuality (int) |
Get/Set the quality for the generated movie. More... | |
virtual int | GetQuality () |
Get/Set the quality for the generated movie. More... | |
virtual void | SetCompression (bool) |
Turns on(the default) or off compression. More... | |
virtual bool | GetCompression () |
Turns on(the default) or off compression. More... | |
virtual void | CompressionOn () |
Turns on(the default) or off compression. More... | |
virtual void | CompressionOff () |
Turns on(the default) or off compression. More... | |
virtual void | SetSubsampling (int) |
Get/Set the setting whether the movie encoder should use subsampling of the chrome planes or not, if applicable. More... | |
virtual int | GetSubsampling () |
Get/Set the setting whether the movie encoder should use subsampling of the chrome planes or not, if applicable. More... | |
virtual void | SubsamplingOn () |
Get/Set the setting whether the movie encoder should use subsampling of the chrome planes or not, if applicable. More... | |
virtual void | SubsamplingOff () |
Get/Set the setting whether the movie encoder should use subsampling of the chrome planes or not, if applicable. More... | |
virtual int | GetErrorCode () |
Get the error code which is set if there's an error while writing the images. More... | |
virtual void | SetBackgroundColor (double, double, double) |
Get/Set the RGB background color to use to fill empty spaces in the image. More... | |
virtual void | SetBackgroundColor (double [3]) |
Get/Set the RGB background color to use to fill empty spaces in the image. More... | |
virtual double * | GetBackgroundColor () |
Get/Set the RGB background color to use to fill empty spaces in the image. More... | |
virtual void | GetBackgroundColor (double &, double &, double &) |
Get/Set the RGB background color to use to fill empty spaces in the image. More... | |
virtual void | GetBackgroundColor (double [3]) |
Get/Set the RGB background color to use to fill empty spaces in the image. More... | |
![]() | |
void | PrintSelf (ostream &os, vtkIndent indent) |
virtual void | SetAnimationScene (vtkSMProxy *) |
Convenience method to set the proxy. More... | |
bool | Save () |
Begin the saving. More... | |
virtual void | SetAnimationScene (vtkSMAnimationScene *) |
Get/Set the animation scene that this writer will write. More... | |
virtual vtkSMAnimationScene * | GetAnimationScene () |
Get/Set the animation scene that this writer will write. More... | |
virtual void | SetFileName (const char *) |
Get/Set the filename. More... | |
virtual char * | GetFileName () |
Get/Set the filename. More... | |
virtual void | SetStartFileCount (int) |
Get/Set the start file count. More... | |
virtual int | GetStartFileCount () |
Get/Set the start file count. More... | |
virtual void | SetPlaybackTimeWindow (double, double) |
Get/Set time window that we want to write If PlaybackTimeWindow[0] > PlaybackTimeWindow[1] that mean that we want to export the full time range available. More... | |
void | SetPlaybackTimeWindow (double [2]) |
Get/Set time window that we want to write If PlaybackTimeWindow[0] > PlaybackTimeWindow[1] that mean that we want to export the full time range available. More... | |
virtual double * | GetPlaybackTimeWindow () |
Get/Set time window that we want to write If PlaybackTimeWindow[0] > PlaybackTimeWindow[1] that mean that we want to export the full time range available. More... | |
virtual void | GetPlaybackTimeWindow (double &, double &) |
Get/Set time window that we want to write If PlaybackTimeWindow[0] > PlaybackTimeWindow[1] that mean that we want to export the full time range available. More... | |
virtual void | GetPlaybackTimeWindow (double [2]) |
Get/Set time window that we want to write If PlaybackTimeWindow[0] > PlaybackTimeWindow[1] that mean that we want to export the full time range available. More... | |
![]() | |
void | PrintSelf (ostream &os, vtkIndent indent) |
virtual vtkSMSessionProxyManager * | GetSessionProxyManager () |
Return the corresponding ProxyManager if any. More... | |
virtual void | SetSession (vtkSMSession *) |
Get/Set the session on wihch this object exists. More... | |
virtual vtkSMSession * | GetSession () |
Get/Set the session on wihch this object exists. More... | |
![]() | |
void | PrintSelf (ostream &os, vtkIndent indent) |
Static Public Member Functions | |
static vtkSMAnimationSceneImageWriter * | New () |
static int | IsTypeOf (const char *type) |
static vtkSMAnimationSceneImageWriter * | SafeDownCast (vtkObject *o) |
![]() | |
static int | IsTypeOf (const char *type) |
static vtkSMAnimationSceneWriter * | SafeDownCast (vtkObject *o) |
![]() | |
static vtkSMSessionObject * | New () |
static int | IsTypeOf (const char *type) |
static vtkSMSessionObject * | SafeDownCast (vtkObject *o) |
![]() | |
static vtkSMObject * | New () |
static int | IsTypeOf (const char *type) |
static vtkSMObject * | SafeDownCast (vtkObject *o) |
Protected Member Functions | |
virtual bool | SaveInitialize (int startCount) |
Called to initialize saving. More... | |
virtual bool | SaveFrame (double time) |
Called to save a particular frame. More... | |
virtual bool | SaveFinalize () |
Called to finalize saving. More... | |
bool | CreateWriter () |
void | UpdateImageSize () |
virtual vtkImageData * | CaptureViewImage (vtkSMViewProxy *, int magnification) |
Captures the view from the given module and returns a new Image data object. More... | |
vtkImageData * | NewFrame () |
virtual void | SetActualSize (int, int) |
void | SetActualSize (int [2]) |
virtual void | SetPrefix (const char *) |
virtual void | SetSuffix (const char *) |
void | SetImageWriter (vtkImageWriter *) |
void | SetMovieWriter (vtkGenericMovieWriter *) |
![]() | |
vtkSMAnimationSceneWriter () | |
~vtkSMAnimationSceneWriter () | |
void | ExecuteEvent (vtkObject *caller, unsigned long eventid, void *calldata) |
![]() | |
vtkSMSessionObject () | |
~vtkSMSessionObject () | |
![]() | |
vtkSMObject () | |
~vtkSMObject () | |
Protected Attributes | |
int | ActualSize [2] |
int | Quality |
bool | Compression |
int | Magnification |
int | FileCount |
int | ErrorCode |
int | Subsampling |
char * | Prefix |
char * | Suffix |
double | BackgroundColor [3] |
double | FrameRate |
vtkImageWriter * | ImageWriter |
vtkGenericMovieWriter * | MovieWriter |
![]() | |
unsigned long | ObserverID |
vtkSMAnimationScene * | AnimationScene |
bool | Saving |
bool | SaveFailed |
char * | FileName |
double | PlaybackTimeWindow [2] |
int | StartFileCount |
![]() | |
vtkWeakPointer< vtkSMSession > | Session |
static void | Merge (vtkImageData *dest, vtkImageData *src) |
Convenience method used to merge a smaller image (src ) into a larger one (dest ). More... | |
vtkSMAnimationSceneImageWriter () | |
Convenience method used to merge a smaller image (src ) into a larger one (dest ). More... | |
~vtkSMAnimationSceneImageWriter () | |
Convenience method used to merge a smaller image (src ) into a larger one (dest ). More... | |
helper class to write animation images/movies.
vtkSMAnimationSceneImageWriter is a concrete implementation of vtkSMAnimationSceneWriter that can write movies or images. The generated output's size and alignment is exactly as specified on the GUISize, WindowPosition properties of the view modules. One can optionally specify Magnification to scale the output.
Definition at line 42 of file vtkSMAnimationSceneImageWriter.h.
Definition at line 46 of file vtkSMAnimationSceneImageWriter.h.
|
protected |
Convenience method used to merge a smaller image (src
) into a larger one (dest
).
The location of the smaller image in the larger image are determined by their extents.
|
protected |
Convenience method used to merge a smaller image (src
) into a larger one (dest
).
The location of the smaller image in the larger image are determined by their extents.
|
static |
|
virtual |
Reimplemented from vtkSMAnimationSceneWriter.
Reimplemented in pqAnimationSceneImageWriter.
|
static |
|
virtual |
Reimplemented from vtkSMAnimationSceneWriter.
Reimplemented in pqAnimationSceneImageWriter.
|
static |
void vtkSMAnimationSceneImageWriter::PrintSelf | ( | ostream & | os, |
vtkIndent | indent | ||
) |
|
virtual |
Set the magnification factor to use for the saved animation.
|
virtual |
Set the magnification factor to use for the saved animation.
|
virtual |
Get/Set the quality for the generated movie.
Applicable only if the choose file format supports it. 0 means worst quality and smallest file size 2 means best quality and largest file size
|
virtual |
Get/Set the quality for the generated movie.
Applicable only if the choose file format supports it. 0 means worst quality and smallest file size 2 means best quality and largest file size
|
virtual |
Turns on(the default) or off compression.
Turning off compression overrides quality setting. NOTE: This only affects the FFMPEG backend.
|
virtual |
Turns on(the default) or off compression.
Turning off compression overrides quality setting. NOTE: This only affects the FFMPEG backend.
|
virtual |
Turns on(the default) or off compression.
Turning off compression overrides quality setting. NOTE: This only affects the FFMPEG backend.
|
virtual |
Turns on(the default) or off compression.
Turning off compression overrides quality setting. NOTE: This only affects the FFMPEG backend.
|
virtual |
Get/Set the setting whether the movie encoder should use subsampling of the chrome planes or not, if applicable.
Since the human eye is more sensitive to brightness than color variations, subsampling can be useful to reduce the bitrate. Default value is 0.
|
virtual |
Get/Set the setting whether the movie encoder should use subsampling of the chrome planes or not, if applicable.
Since the human eye is more sensitive to brightness than color variations, subsampling can be useful to reduce the bitrate. Default value is 0.
|
virtual |
Get/Set the setting whether the movie encoder should use subsampling of the chrome planes or not, if applicable.
Since the human eye is more sensitive to brightness than color variations, subsampling can be useful to reduce the bitrate. Default value is 0.
|
virtual |
Get/Set the setting whether the movie encoder should use subsampling of the chrome planes or not, if applicable.
Since the human eye is more sensitive to brightness than color variations, subsampling can be useful to reduce the bitrate. Default value is 0.
|
virtual |
Get the error code which is set if there's an error while writing the images.
|
virtual |
Get/Set the RGB background color to use to fill empty spaces in the image.
RGB components are in the range [0,1].
|
virtual |
Get/Set the RGB background color to use to fill empty spaces in the image.
RGB components are in the range [0,1].
|
virtual |
Get/Set the RGB background color to use to fill empty spaces in the image.
RGB components are in the range [0,1].
|
virtual |
Get/Set the RGB background color to use to fill empty spaces in the image.
RGB components are in the range [0,1].
|
virtual |
Get/Set the RGB background color to use to fill empty spaces in the image.
RGB components are in the range [0,1].
|
virtual |
|
virtual |
|
static |
Convenience method used to merge a smaller image (src
) into a larger one (dest
).
The location of the smaller image in the larger image are determined by their extents.
|
protectedvirtual |
Called to initialize saving.
Implements vtkSMAnimationSceneWriter.
|
protectedvirtual |
Called to save a particular frame.
Implements vtkSMAnimationSceneWriter.
|
protectedvirtual |
Called to finalize saving.
Implements vtkSMAnimationSceneWriter.
|
protected |
|
protected |
|
protectedvirtual |
Captures the view from the given module and returns a new Image data object.
May return NULL. Default implementation can only handle vtkSMViewProxy subclasses. Subclassess must override to handle other types of view modules.
Reimplemented in pqAnimationSceneImageWriter.
|
protected |
|
protectedvirtual |
|
protected |
|
protectedvirtual |
|
protectedvirtual |
|
protected |
|
protected |
|
protected |
Definition at line 162 of file vtkSMAnimationSceneImageWriter.h.
|
protected |
Definition at line 164 of file vtkSMAnimationSceneImageWriter.h.
|
protected |
Definition at line 165 of file vtkSMAnimationSceneImageWriter.h.
|
protected |
Definition at line 166 of file vtkSMAnimationSceneImageWriter.h.
|
protected |
Definition at line 167 of file vtkSMAnimationSceneImageWriter.h.
|
protected |
Definition at line 168 of file vtkSMAnimationSceneImageWriter.h.
|
protected |
Definition at line 169 of file vtkSMAnimationSceneImageWriter.h.
|
protected |
Definition at line 171 of file vtkSMAnimationSceneImageWriter.h.
|
protected |
Definition at line 172 of file vtkSMAnimationSceneImageWriter.h.
|
protected |
Definition at line 174 of file vtkSMAnimationSceneImageWriter.h.
|
protected |
Definition at line 177 of file vtkSMAnimationSceneImageWriter.h.
|
protected |
Definition at line 179 of file vtkSMAnimationSceneImageWriter.h.
|
protected |
Definition at line 180 of file vtkSMAnimationSceneImageWriter.h.