Public Types | Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
vtkNvPipeCompressor Class Reference

#include <vtkNvPipeCompressor.h>

Inheritance diagram for vtkNvPipeCompressor:
Inheritance graph
[legend]
Collaboration diagram for vtkNvPipeCompressor:
Collaboration graph
[legend]

Public Types

typedef vtkImageCompressor Superclass
 
- Public Types inherited from vtkImageCompressor
typedef vtkObject Superclass
 

Public Member Functions

virtual const char * GetClassName ()
 
virtual int IsA (const char *type)
 
void PrintSelf (ostream &os, vtkIndent indent) override
 
void SetImageResolution (int img_width, int img_height)
 Communicates the next expected image resolution. More...
 
virtual void SetQuality (unsigned int)
 Set the quality measure. More...
 
virtual unsigned int GetQuality ()
 Set the quality measure. More...
 
virtual int Compress ()
 Call this method to compress the input and generate the compressed data. More...
 
virtual int Decompress ()
 Decompresses and geenartes the decompressed data as output. More...
 
virtual void SaveConfiguration (vtkMultiProcessStream *stream)
 
virtual bool RestoreConfiguration (vtkMultiProcessStream *stream)
 
virtual const char * SaveConfiguration ()
 
virtual const char * RestoreConfiguration (const char *stream)
 
- Public Member Functions inherited from vtkImageCompressor
void SetInput (vtkUnsignedCharArray *input)
 Get/Set the input to this compressor. More...
 
virtual vtkUnsignedCharArrayGetInput ()
 Get/Set the input to this compressor. More...
 
virtual vtkUnsignedCharArrayGetOutput ()
 Get/Set the output of the compressor. More...
 
void SetOutput (vtkUnsignedCharArray *)
 Get/Set the output of the compressor. More...
 
virtual void SetLossLessMode (int)
 When set the implementation must use loss-less compression, otherwise implemnetation should user provided settings. More...
 
virtual int GetLossLessMode ()
 When set the implementation must use loss-less compression, otherwise implemnetation should user provided settings. More...
 
- Public Member Functions inherited from vtkObject
 vtkBaseTypeMacro (vtkObject, vtkObjectBase)
 
virtual void DebugOn ()
 
virtual void DebugOff ()
 
bool GetDebug ()
 
void SetDebug (bool debugFlag)
 
virtual void Modified ()
 
virtual vtkMTimeType GetMTime ()
 
void RemoveObserver (unsigned long tag)
 
void RemoveObservers (unsigned long event)
 
void RemoveObservers (const char *event)
 
void RemoveAllObservers ()
 
int HasObserver (unsigned long event)
 
int HasObserver (const char *event)
 
int InvokeEvent (unsigned long event)
 
int InvokeEvent (const char *event)
 
unsigned long AddObserver (unsigned long event, vtkCommand *, float priority=0.0f)
 
unsigned long AddObserver (const char *event, vtkCommand *, float priority=0.0f)
 
vtkCommandGetCommand (unsigned long tag)
 
void RemoveObserver (vtkCommand *)
 
void RemoveObservers (unsigned long event, vtkCommand *)
 
void RemoveObservers (const char *event, vtkCommand *)
 
int HasObserver (unsigned long event, vtkCommand *)
 
int HasObserver (const char *event, vtkCommand *)
 
unsigned long AddObserver (unsigned long event, U observer, void(T::*callback)(), float priority=0.0f)
 
unsigned long AddObserver (unsigned long event, U observer, void(T::*callback)(vtkObject *, unsigned long, void *), float priority=0.0f)
 
unsigned long AddObserver (unsigned long event, U observer, bool(T::*callback)(vtkObject *, unsigned long, void *), float priority=0.0f)
 
int InvokeEvent (unsigned long event, void *callData)
 
int InvokeEvent (const char *event, void *callData)
 
unsigned long AddObserver (unsigned long event, vtkCommand *, float priority=0.0f)
 
unsigned long AddObserver (const char *event, vtkCommand *, float priority=0.0f)
 
vtkCommandGetCommand (unsigned long tag)
 
void RemoveObserver (vtkCommand *)
 
void RemoveObservers (unsigned long event, vtkCommand *)
 
void RemoveObservers (const char *event, vtkCommand *)
 
int HasObserver (unsigned long event, vtkCommand *)
 
int HasObserver (const char *event, vtkCommand *)
 
unsigned long AddObserver (unsigned long event, U observer, void(T::*callback)(), float priority=0.0f)
 
unsigned long AddObserver (unsigned long event, U observer, void(T::*callback)(vtkObject *, unsigned long, void *), float priority=0.0f)
 
unsigned long AddObserver (unsigned long event, U observer, bool(T::*callback)(vtkObject *, unsigned long, void *), float priority=0.0f)
 
int InvokeEvent (unsigned long event, void *callData)
 
int InvokeEvent (const char *event, void *callData)
 
- Public Member Functions inherited from vtkObjectBase
const char * GetClassName () const
 
virtual void Delete ()
 
virtual void FastDelete ()
 
void Print (ostream &os)
 
virtual void Register (vtkObjectBase *o)
 
virtual void UnRegister (vtkObjectBase *o)
 
void SetReferenceCount (int)
 
virtual void PrintHeader (ostream &os, vtkIndent indent)
 
virtual void PrintTrailer (ostream &os, vtkIndent indent)
 
int GetReferenceCount ()
 
void PrintRevisions (ostream &)
 
virtual void PrintHeader (ostream &os, vtkIndent indent)
 
virtual void PrintTrailer (ostream &os, vtkIndent indent)
 
int GetReferenceCount ()
 
void PrintRevisions (ostream &)
 

Static Public Member Functions

static vtkNvPipeCompressorNew ()
 
static int IsTypeOf (const char *type)
 
static vtkNvPipeCompressorSafeDownCast (vtkObject *o)
 
- Static Public Member Functions inherited from vtkImageCompressor
static int IsTypeOf (const char *type)
 
static vtkImageCompressorSafeDownCast (vtkObject *o)
 
- Static Public Member Functions inherited from vtkObject
static vtkObjectNew ()
 
static void BreakOnError ()
 
static void SetGlobalWarningDisplay (int val)
 
static void GlobalWarningDisplayOn ()
 
static void GlobalWarningDisplayOff ()
 
static int GetGlobalWarningDisplay ()
 
static void SetGlobalWarningDisplay (int val)
 
static void GlobalWarningDisplayOn ()
 
static void GlobalWarningDisplayOff ()
 
static int GetGlobalWarningDisplay ()
 
- Static Public Member Functions inherited from vtkObjectBase
static vtkTypeBool IsTypeOf (const char *name)
 
static vtkObjectBaseNew ()
 
static vtkObjectBaseNew ()
 

Protected Member Functions

 vtkNvPipeCompressor ()
 
virtual ~vtkNvPipeCompressor ()
 
- Protected Member Functions inherited from vtkImageCompressor
virtual void SetConfiguration (const char *)
 
 vtkImageCompressor ()
 Construct with nullptr input array and empty but allocated output array. More...
 
 ~vtkImageCompressor () override
 Construct with nullptr input array and empty but allocated output array. More...
 
- Protected Member Functions inherited from vtkObject
 vtkObject ()
 
virtual ~vtkObject ()
 
void RegisterInternal (vtkObjectBase *, vtkTypeBool check) VTK_OVERRIDE
 
void UnRegisterInternal (vtkObjectBase *, vtkTypeBool check) VTK_OVERRIDE
 
void InternalGrabFocus (vtkCommand *mouseEvents, vtkCommand *keypressEvents=NULL)
 
void InternalReleaseFocus ()
 
void InternalGrabFocus (vtkCommand *mouseEvents, vtkCommand *keypressEvents=NULL)
 
void InternalReleaseFocus ()
 
- Protected Member Functions inherited from vtkObjectBase
 vtkObjectBase ()
 
virtual ~vtkObjectBase ()
 
virtual void CollectRevisions (ostream &)
 
virtual void ReportReferences (vtkGarbageCollector *)
 
 vtkObjectBase (const vtkObjectBase &)
 
void operator= (const vtkObjectBase &)
 

Protected Attributes

unsigned int Quality
 
- Protected Attributes inherited from vtkImageCompressor
vtkUnsignedCharArrayOutput
 
vtkUnsignedCharArrayInput
 
int LossLessMode
 
char * Configuration
 
- Protected Attributes inherited from vtkObject
bool Debug
 
vtkTimeStamp MTime
 
vtkSubjectHelper * SubjectHelper
 
- Protected Attributes inherited from vtkObjectBase
vtkAtomicInt32 ReferenceCount
 
vtkWeakPointerBase ** WeakPointers
 

Detailed Description

Definition at line 21 of file vtkNvPipeCompressor.h.

Member Typedef Documentation

◆ Superclass

Definition at line 25 of file vtkNvPipeCompressor.h.

Constructor & Destructor Documentation

◆ vtkNvPipeCompressor()

vtkNvPipeCompressor::vtkNvPipeCompressor ( )
protected

◆ ~vtkNvPipeCompressor()

virtual vtkNvPipeCompressor::~vtkNvPipeCompressor ( )
protectedvirtual

Member Function Documentation

◆ New()

static vtkNvPipeCompressor* vtkNvPipeCompressor::New ( )
static

◆ GetClassName()

virtual const char* vtkNvPipeCompressor::GetClassName ( )
virtual

Reimplemented from vtkImageCompressor.

◆ IsTypeOf()

static int vtkNvPipeCompressor::IsTypeOf ( const char *  type)
static

◆ IsA()

virtual int vtkNvPipeCompressor::IsA ( const char *  type)
virtual

Reimplemented from vtkImageCompressor.

◆ SafeDownCast()

static vtkNvPipeCompressor* vtkNvPipeCompressor::SafeDownCast ( vtkObject o)
static

◆ PrintSelf()

void vtkNvPipeCompressor::PrintSelf ( ostream &  os,
vtkIndent  indent 
)
overridevirtual

Reimplemented from vtkImageCompressor.

◆ SetQuality()

virtual void vtkNvPipeCompressor::SetQuality ( unsigned  int)
virtual

Set the quality measure.

The value can be between 1 and 5. 1 means preserve input image quality while 5 emphasizes compression ratio at the expense of image quality.

◆ GetQuality()

virtual unsigned int vtkNvPipeCompressor::GetQuality ( )
virtual

Set the quality measure.

The value can be between 1 and 5. 1 means preserve input image quality while 5 emphasizes compression ratio at the expense of image quality.

◆ Compress()

virtual int vtkNvPipeCompressor::Compress ( )
virtual

Call this method to compress the input and generate the compressed data.

Implements vtkImageCompressor.

◆ Decompress()

virtual int vtkNvPipeCompressor::Decompress ( )
virtual

Decompresses and geenartes the decompressed data as output.

Input must be compressed data.

Implements vtkImageCompressor.

◆ SetImageResolution()

void vtkNvPipeCompressor::SetImageResolution ( int  width,
int  height 
)
virtual

Communicates the next expected image resolution.

Reimplemented from vtkImageCompressor.

◆ SaveConfiguration() [1/2]

virtual void vtkNvPipeCompressor::SaveConfiguration ( vtkMultiProcessStream stream)
virtual

Description: Serialize/Restore compressor configuration (but not the data) into the stream.

Reimplemented from vtkImageCompressor.

◆ RestoreConfiguration() [1/2]

virtual bool vtkNvPipeCompressor::RestoreConfiguration ( vtkMultiProcessStream stream)
virtual

Description: Serialize/Restore compressor configuration (but not the data) into the stream.

Reimplemented from vtkImageCompressor.

◆ SaveConfiguration() [2/2]

virtual const char* vtkNvPipeCompressor::SaveConfiguration ( )
virtual

Description: Serialize/Restore compressor configuration (but not the data) into the stream.

Reimplemented from vtkImageCompressor.

◆ RestoreConfiguration() [2/2]

virtual const char* vtkNvPipeCompressor::RestoreConfiguration ( const char *  stream)
virtual

Description: Serialize/Restore compressor configuration (but not the data) into the stream.

Reimplemented from vtkImageCompressor.

Member Data Documentation

◆ Quality

unsigned int vtkNvPipeCompressor::Quality
protected

Definition at line 61 of file vtkNvPipeCompressor.h.


The documentation for this class was generated from the following file: