vtk
Class vtkJPEGWriter

java.lang.Object
  extended byvtk.vtkObjectBase
      extended byvtk.vtkObject
          extended byvtk.vtkProcessObject
              extended byvtk.vtkImageWriter
                  extended byvtk.vtkJPEGWriter
All Implemented Interfaces:
java.io.Serializable

public class vtkJPEGWriter
extends vtkImageWriter
implements java.io.Serializable

vtkJPEGWriter - Writes JPEG files.. vtkJPEGWriter writes JPEG files. It supports 1 and 3 component data of unsigned char. It relies on the IJG's libjpeg. Thanks to IJG for supplying a public jpeg IO library. JavaBean wrapper for vtkJPEGWriter object.

Author:
vtk2jbean Automatic JavaBean wrapper for VTK.
See Also:
Serialized Form

Field Summary
protected  java.beans.PropertyChangeSupport changes
           
 
Fields inherited from class vtk.vtkObjectBase
vtkId
 
Constructor Summary
  vtkJPEGWriter()
           
protected vtkJPEGWriter(int dmy)
           
 
Method Summary
 java.lang.String getClassName()
          Return the class name as a string.
 int getProgressive()
          Progressive JPEG generation.
 int getQuality()
          Compression quality. 0 = Low quality, 100 = High quality
 int getQualityMaxValue()
          Compression quality. 0 = Low quality, 100 = High quality
 int getQualityMinValue()
          Compression quality. 0 = Low quality, 100 = High quality
 vtkUnsignedCharArray getResult()
          When writing to memory this is the result, it will be NULL until the data is written the first time
 vtkJPEGWriter getThisJPEGWriter()
           
 int getWriteToMemory()
          Write the image to memory (a vtkUnsignedCharArray)
 int isA(java.lang.String id0)
          Return 1 if this class is the same type of (or a subclass of) the named class.
 void progressiveOff()
          Progressive JPEG generation.
 void progressiveOn()
          Progressive JPEG generation.
 void setProgressive(int id0)
          Progressive JPEG generation.
 void setQuality(int id0)
          Compression quality. 0 = Low quality, 100 = High quality
 void setResult(vtkUnsignedCharArray id0)
          When writing to memory this is the result, it will be NULL until the data is written the first time
 void setWriteToMemory(int id0)
          Write the image to memory (a vtkUnsignedCharArray)
protected  void VTKCastInit()
           
 void VTKInit()
           
 void write()
          The main interface which triggers the writer to start.
 void writeToMemoryOff()
          Write the image to memory (a vtkUnsignedCharArray)
 void writeToMemoryOn()
          Write the image to memory (a vtkUnsignedCharArray)
 
Methods inherited from class vtk.vtkImageWriter
deleteFiles, getFileDimensionality, getFileName, getFilePattern, getFilePrefix, getInput, getThisImageWriter, setFileDimensionality, setFileName, setFilePattern, setFilePrefix, setInput
 
Methods inherited from class vtk.vtkProcessObject
abortExecuteOff, abortExecuteOn, getAbortExecute, getErrorCode, getNumberOfInputs, getProgress, getProgressMaxValue, getProgressMinValue, getProgressText, getThisProcessObject, removeAllInputs, setAbortExecute, setProgress, setProgressText, squeezeInputArray, updateProgress
 
Methods inherited from class vtk.vtkObject
AddObserver, breakOnError, debugOff, debugOn, getDebug, getGlobalWarningDisplay, getMTime, getThisObject, globalWarningDisplayOff, globalWarningDisplayOn, hasObserver, hasObserver, invokeEvent, invokeEvent, modified, Print, PrintRevisions, register, removeObserver, removeObservers, removeObservers, setDebug, setGlobalWarningDisplay, unRegister
 
Methods inherited from class vtk.vtkObjectBase
addPropertyChangeListener, finalize, getReferenceCount, getThisObjectBase, isTypeOf, removePropertyChangeListener, setReferenceCount, VTKDelete
 
Methods inherited from class java.lang.Object
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

changes

protected java.beans.PropertyChangeSupport changes
Constructor Detail

vtkJPEGWriter

public vtkJPEGWriter()

vtkJPEGWriter

protected vtkJPEGWriter(int dmy)
Method Detail

getThisJPEGWriter

public vtkJPEGWriter getThisJPEGWriter()

getClassName

public java.lang.String getClassName()
Description copied from class: vtkObjectBase
Return the class name as a string. This method is defined in all subclasses of vtkObjectBase with the vtkTypeRevisionMacro found in vtkSetGet.h.

Overrides:
getClassName in class vtkImageWriter

isA

public int isA(java.lang.String id0)
Description copied from class: vtkObjectBase
Return 1 if this class is the same type of (or a subclass of) the named class. Returns 0 otherwise. This method works in combination with vtkTypeRevisionMacro found in vtkSetGet.h.

Overrides:
isA in class vtkImageWriter

write

public void write()
The main interface which triggers the writer to start.

Overrides:
write in class vtkImageWriter

setQuality

public void setQuality(int id0)
Compression quality. 0 = Low quality, 100 = High quality


getQualityMinValue

public int getQualityMinValue()
Compression quality. 0 = Low quality, 100 = High quality


getQualityMaxValue

public int getQualityMaxValue()
Compression quality. 0 = Low quality, 100 = High quality


getQuality

public int getQuality()
Compression quality. 0 = Low quality, 100 = High quality


setProgressive

public void setProgressive(int id0)
Progressive JPEG generation.


getProgressive

public int getProgressive()
Progressive JPEG generation.


progressiveOn

public void progressiveOn()
Progressive JPEG generation.


progressiveOff

public void progressiveOff()
Progressive JPEG generation.


setWriteToMemory

public void setWriteToMemory(int id0)
Write the image to memory (a vtkUnsignedCharArray)


getWriteToMemory

public int getWriteToMemory()
Write the image to memory (a vtkUnsignedCharArray)


writeToMemoryOn

public void writeToMemoryOn()
Write the image to memory (a vtkUnsignedCharArray)


writeToMemoryOff

public void writeToMemoryOff()
Write the image to memory (a vtkUnsignedCharArray)


setResult

public void setResult(vtkUnsignedCharArray id0)
When writing to memory this is the result, it will be NULL until the data is written the first time


getResult

public vtkUnsignedCharArray getResult()
When writing to memory this is the result, it will be NULL until the data is written the first time


VTKInit

public void VTKInit()
Overrides:
VTKInit in class vtkImageWriter

VTKCastInit

protected void VTKCastInit()
Overrides:
VTKCastInit in class vtkImageWriter


Copyright © 2004 Sydney ViSLAB. All Rights Reserved.