VTK
vtkOggTheoraWriter.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: Visualization Toolkit
4  Module: vtkOggTheoraWriter.h
5 
6  Copyright (c) Michael Wild, Ken Martin, Will Schroeder, Bill Lorensen
7  All rights reserved.
8  See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
9 
10  This software is distributed WITHOUT ANY WARRANTY; without even
11  the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
12  PURPOSE. See the above copyright notice for more information.
13 
14 =========================================================================*/
29 #ifndef vtkOggTheoraWriter_h
30 #define vtkOggTheoraWriter_h
31 
32 #include "vtkIOMovieModule.h" // For export macro
33 #include "vtkGenericMovieWriter.h"
34 
35 class vtkOggTheoraWriterInternal;
36 
37 class VTKIOMOVIE_EXPORT vtkOggTheoraWriter : public vtkGenericMovieWriter
38 {
39 public:
40  static vtkOggTheoraWriter *New();
42  void PrintSelf(ostream& os, vtkIndent indent) VTK_OVERRIDE;
43 
45 
49  void Start() VTK_OVERRIDE;
50  void Write() VTK_OVERRIDE;
51  void End() VTK_OVERRIDE;
53 
55 
60  vtkSetClampMacro(Quality, int, 0, 2);
61  vtkGetMacro(Quality, int);
63 
65 
68  vtkSetClampMacro(Rate, int , 1, 5000);
69  vtkGetMacro(Rate, int);
71 
73 
76  vtkSetMacro(Subsampling, int);
77  vtkGetMacro(Subsampling, int);
78  vtkBooleanMacro(Subsampling, int);
80 
81 protected:
83  ~vtkOggTheoraWriter() VTK_OVERRIDE;
84 
85  vtkOggTheoraWriterInternal *Internals;
86 
87  int Initialized;
88  int Quality;
89  int Rate;
90  int Subsampling;
91 
92 private:
93  vtkOggTheoraWriter(const vtkOggTheoraWriter&) VTK_DELETE_FUNCTION;
94  void operator=(const vtkOggTheoraWriter&) VTK_DELETE_FUNCTION;
95 };
96 
97 #endif
98 
99 
100 
Uses the ogg and theora libraries to write video files.
virtual void Start()=0
These methods start writing an Movie file, write a frame to the file and then end the writing process...
a simple class to control print indentation
Definition: vtkIndent.h:33
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
vtkSetMacro(IgnoreDriverBugs, bool)
When set known driver bugs are ignored during driver feature detection.
an abstract movie writer class.
static vtkAlgorithm * New()
vtkBooleanMacro(IgnoreDriverBugs, bool)
When set known driver bugs are ignored during driver feature detection.