VTK  9.0.20200705
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 "vtkGenericMovieWriter.h"
33 #include "vtkIOOggTheoraModule.h" // For export macro
34 
35 class vtkOggTheoraWriterInternal;
36 
37 class VTKIOOGGTHEORA_EXPORT vtkOggTheoraWriter : public vtkGenericMovieWriter
38 {
39 public:
40  static vtkOggTheoraWriter* New();
42  void PrintSelf(ostream& os, vtkIndent indent) override;
43 
45 
49  void Start() override;
50  void Write() override;
51  void End() 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, vtkTypeBool);
77  vtkGetMacro(Subsampling, vtkTypeBool);
78  vtkBooleanMacro(Subsampling, vtkTypeBool);
80 
81 protected:
83  ~vtkOggTheoraWriter() override;
84 
85  vtkOggTheoraWriterInternal* Internals;
86 
88  int Quality;
89  int Rate;
91 
92 private:
93  vtkOggTheoraWriter(const vtkOggTheoraWriter&) = delete;
94  void operator=(const vtkOggTheoraWriter&) = delete;
95 };
96 
97 #endif
vtkOggTheoraWriter::Initialized
int Initialized
Definition: vtkOggTheoraWriter.h:87
vtkGenericMovieWriter.h
vtkOggTheoraWriter::Internals
vtkOggTheoraWriterInternal * Internals
Definition: vtkOggTheoraWriter.h:85
vtkOggTheoraWriter::Subsampling
vtkTypeBool Subsampling
Definition: vtkOggTheoraWriter.h:90
vtkGenericMovieWriter::Write
virtual void Write()=0
vtkGenericMovieWriter::End
virtual void End()=0
vtkIndent
a simple class to control print indentation
Definition: vtkIndent.h:33
vtkOggTheoraWriter::Quality
int Quality
Definition: vtkOggTheoraWriter.h:88
vtkAlgorithm::New
static vtkAlgorithm * New()
vtkGenericMovieWriter::PrintSelf
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
vtkGenericMovieWriter
an abstract movie writer class.
Definition: vtkGenericMovieWriter.h:36
vtkGenericMovieWriter::Start
virtual void Start()=0
These methods start writing an Movie file, write a frame to the file and then end the writing process...
vtkOggTheoraWriter
Uses the ogg and theora libraries to write video files.
Definition: vtkOggTheoraWriter.h:37
vtkOggTheoraWriter::Rate
int Rate
Definition: vtkOggTheoraWriter.h:89
vtkTypeBool
int vtkTypeBool
Definition: vtkABI.h:69