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 =========================================================================*/
31 #ifndef __vtkOggTheoraWriter_h
32 #define __vtkOggTheoraWriter_h
33 
34 #include "vtkGenericMovieWriter.h"
35 
36 class vtkOggTheoraWriterInternal;
37 
39 {
40 public:
41  static vtkOggTheoraWriter *New();
43  void PrintSelf(ostream& os, vtkIndent indent);
44 
46 
48  void Start();
49  void Write();
50  void End();
52 
54 
56  vtkSetClampMacro(Quality, int, 0, 2);
57  vtkGetMacro(Quality, int);
59 
61 
62  vtkSetClampMacro(Rate, int , 1, 5000);
63  vtkGetMacro(Rate, int);
65 
67 
68  vtkSetMacro(Subsampling, int);
69  vtkGetMacro(Subsampling, int);
70  vtkBooleanMacro(Subsampling, int);
71 protected:
75 
76  vtkOggTheoraWriterInternal *Internals;
77 
79  int Quality;
80  int Rate;
82 
83 private:
84  vtkOggTheoraWriter(const vtkOggTheoraWriter&); // Not implemented
85  void operator=(const vtkOggTheoraWriter&); // Not implemented
86 };
87 
88 #endif
89 
90 
91 
virtual void Write()=0
Uses the ogg and theora libraries to write video files.
vtkOggTheoraWriterInternal * Internals
virtual void Start()=0
virtual void End()=0
a simple class to control print indentation
Definition: vtkIndent.h:37
an abstract movie writer class.
void PrintSelf(ostream &os, vtkIndent indent)
static vtkAlgorithm * New()
#define VTK_IO_EXPORT