Class that can create compresion device for streaming volume instances.
More...
#include <Libs/vtkAddon/vtkStreamingVolumeCodecFactory.h>
Class that can create compresion device for streaming volume instances.
This singleton class is a repository of all compression codecs for compressing volume. Singleton pattern adopted from vtkEventBroker class.
Definition at line 40 of file vtkStreamingVolumeCodecFactory.h.
◆ Self
◆ Superclass
◆ vtkStreamingVolumeCodecFactory() [1/2]
vtkStreamingVolumeCodecFactory::vtkStreamingVolumeCodecFactory |
( |
| ) |
|
|
protected |
◆ ~vtkStreamingVolumeCodecFactory()
vtkStreamingVolumeCodecFactory::~vtkStreamingVolumeCodecFactory |
( |
| ) |
|
|
protected |
◆ vtkStreamingVolumeCodecFactory() [2/2]
◆ classFinalize()
static void vtkStreamingVolumeCodecFactory::classFinalize |
( |
| ) |
|
|
staticprotected |
◆ classInitialize()
static void vtkStreamingVolumeCodecFactory::classInitialize |
( |
| ) |
|
|
staticprotected |
◆ CreateCodecByClassName()
vtkStreamingVolumeCodec* vtkStreamingVolumeCodecFactory::CreateCodecByClassName |
( |
const std::string & |
codecClassName | ) |
|
Get pointer to codec new function, or NULL if the codec type not registered Usage: vtkSmartPointer<vtkStreamingVolumeCodec> codec = GetVolumeCodecNewPointerByType("igtlioVideoDevice")(); Returns NULL if no matching codec can be found
◆ CreateCodecByFourCC()
Creates a new codec that matches the specified FourCC code
- Parameters
-
◆ GetClassName()
virtual const char* vtkStreamingVolumeCodecFactory::GetClassName |
( |
| ) |
|
|
virtual |
◆ GetInstance()
Return the singleton instance with no reference counting.
◆ GetStreamingCodecClassNames()
const std::vector<std::string> vtkStreamingVolumeCodecFactory::GetStreamingCodecClassNames |
( |
| ) |
|
Returns a list of all registered Codecs.
◆ GetStreamingCodecFourCCs()
std::vector<std::string> vtkStreamingVolumeCodecFactory::GetStreamingCodecFourCCs |
( |
| ) |
|
Get FourCCs for all registered Codecs.
◆ IsA()
virtual int vtkStreamingVolumeCodecFactory::IsA |
( |
const char * |
type | ) |
|
|
virtual |
◆ IsTypeOf()
static int vtkStreamingVolumeCodecFactory::IsTypeOf |
( |
const char * |
type | ) |
|
|
static |
◆ New()
This is a singleton pattern New. There will only be ONE reference to a vtkStreamingVolumeCodecFactory object per process. Clients that call this must call Delete on the object so that the reference counting will work. The single instance will be unreferenced when the program exits.
◆ operator=()
◆ PrintSelf()
void vtkStreamingVolumeCodecFactory::PrintSelf |
( |
ostream & |
os, |
|
|
vtkIndent |
indent |
|
) |
| |
◆ RegisterStreamingCodec()
Registers a new video compression codec
- Parameters
-
newCodecPointer | Function pointer to the codec type new function (e.g. (PointerToCodecBaseNew)&vtkStreamingVolumeCodec::New ) |
◆ SafeDownCast()
◆ UnRegisterStreamingCodecByClassName()
bool vtkStreamingVolumeCodecFactory::UnRegisterStreamingCodecByClassName |
( |
const std::string & |
codecClassName | ) |
|
Removes a codec from the factory This does not affect codecs that have already been instantiated
- Parameters
-
codecClassName | full name of the codec class that is being unregistered Returns true if the codec is successfully unregistered |
◆ vtkStreamingVolumeCodecFactoryInitialize
◆ RegisteredCodecs
The documentation for this class was generated from the following file: