VTK
|
Source of data for the imaging pipeline. More...
#include <vtkImageSource.h>
Public Types | |
typedef vtkSource | Superclass |
![]() | |
typedef vtkProcessObject | Superclass |
![]() | |
typedef vtkAlgorithm | Superclass |
![]() | |
typedef vtkObject | Superclass |
![]() | |
typedef vtkObjectBase | Superclass |
Public Member Functions | |
virtual const char * | GetClassName () |
virtual int | IsA (const char *type) |
void | PrintSelf (ostream &os, vtkIndent indent) |
void | SetOutput (vtkImageData *output) |
vtkImageData * | GetOutput () |
vtkImageData * | GetOutput (int idx) |
![]() | |
virtual void | Update () |
virtual void | UpdateWholeExtent () |
virtual void | UpdateInformation () |
virtual void | PropagateUpdateExtent (vtkDataObject *output) |
virtual void | TriggerAsynchronousUpdate () |
virtual void | UpdateData (vtkDataObject *output) |
virtual void | ComputeInputUpdateExtents (vtkDataObject *output) |
void | UnRegisterAllOutputs (void) |
int | GetOutputIndex (vtkDataObject *out) |
virtual void | SetExecutive (vtkExecutive *executive) |
virtual void | SetReleaseDataFlag (int) |
virtual int | GetReleaseDataFlag () |
virtual void | ReleaseDataFlagOn () |
virtual void | ReleaseDataFlagOff () |
vtkDataObject ** | GetOutputs () |
virtual int | GetNumberOfOutputs () |
virtual int | ProcessRequest (vtkInformation *, vtkInformationVector **, vtkInformationVector *) |
![]() | |
void | SqueezeInputArray () |
void | RemoveAllInputs () |
vtkDataObject ** | GetInputs () |
int | GetNumberOfInputs () |
virtual void | SetInputConnection (vtkAlgorithmOutput *input) |
virtual void | SetInputConnection (int port, vtkAlgorithmOutput *input) |
virtual void | AddInputConnection (int port, vtkAlgorithmOutput *input) |
virtual void | AddInputConnection (vtkAlgorithmOutput *input) |
virtual void | RemoveInputConnection (int port, vtkAlgorithmOutput *input) |
virtual void | SetNthInputConnection (int port, int index, vtkAlgorithmOutput *input) |
virtual void | SetNumberOfInputConnections (int port, int n) |
![]() | |
int | HasExecutive () |
vtkExecutive * | GetExecutive () |
virtual int | ModifyRequest (vtkInformation *request, int when) |
vtkInformation * | GetInputPortInformation (int port) |
vtkInformation * | GetOutputPortInformation (int port) |
int | GetNumberOfInputPorts () |
int | GetNumberOfOutputPorts () |
void | UpdateProgress (double amount) |
vtkInformation * | GetInputArrayInformation (int idx) |
vtkDataObject * | GetOutputDataObject (int port) |
int | GetNumberOfInputConnections (int port) |
int | GetTotalNumberOfInputConnections () |
vtkAlgorithmOutput * | GetInputConnection (int port, int index) |
void | ConvertTotalInputToPortConnection (int ind, int &port, int &conn) |
virtual double | ComputePriority () |
int | ProcessRequest (vtkInformation *request, vtkCollection *inInfo, vtkInformationVector *outInfo) |
virtual int | ComputePipelineMTime (vtkInformation *request, vtkInformationVector **inInfoVec, vtkInformationVector *outInfoVec, int requestFromOutputPort, unsigned long *mtime) |
virtual vtkInformation * | GetInformation () |
virtual void | SetInformation (vtkInformation *) |
virtual void | Register (vtkObjectBase *o) |
virtual void | UnRegister (vtkObjectBase *o) |
virtual void | SetAbortExecute (int) |
virtual int | GetAbortExecute () |
virtual void | AbortExecuteOn () |
virtual void | AbortExecuteOff () |
virtual void | SetProgress (double) |
virtual double | GetProgress () |
void | SetProgressText (const char *ptext) |
virtual char * | GetProgressText () |
virtual unsigned long | GetErrorCode () |
virtual void | SetInputArrayToProcess (int idx, int port, int connection, int fieldAssociation, const char *name) |
virtual void | SetInputArrayToProcess (int idx, int port, int connection, int fieldAssociation, int fieldAttributeType) |
virtual void | SetInputArrayToProcess (int idx, vtkInformation *info) |
virtual void | SetInputArrayToProcess (int idx, int port, int connection, const char *fieldAssociation, const char *attributeTypeorName) |
vtkDataObject * | GetInputDataObject (int port, int connection) |
vtkAlgorithmOutput * | GetOutputPort (int index) |
vtkAlgorithmOutput * | GetOutputPort () |
int | UpdateExtentIsEmpty (vtkDataObject *output) |
int | UpdateExtentIsEmpty (vtkInformation *pinfo, int extentType) |
![]() | |
virtual void | DebugOn () |
virtual void | DebugOff () |
unsigned char | GetDebug () |
void | SetDebug (unsigned char debugFlag) |
virtual void | Modified () |
virtual unsigned long | GetMTime () |
unsigned long | AddObserver (unsigned long event, vtkCommand *, float priority=0.0f) |
unsigned long | AddObserver (const char *event, vtkCommand *, float priority=0.0f) |
vtkCommand * | GetCommand (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 *) |
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) |
template<class U , class T > | |
unsigned long | AddObserver (unsigned long event, U observer, void(T::*callback)(), float priority=0.0f) |
template<class U , class T > | |
unsigned long | AddObserver (unsigned long event, U observer, void(T::*callback)(vtkObject *, unsigned long, void *), float priority=0.0f) |
int | InvokeEvent (unsigned long event, void *callData) |
int | InvokeEvent (const char *event, void *callData) |
int | InvokeEvent (unsigned long event) |
int | InvokeEvent (const char *event) |
![]() | |
const char * | GetClassName () const |
virtual void | Delete () |
virtual void | FastDelete () |
void | Print (ostream &os) |
void | SetReferenceCount (int) |
void | PrintRevisions (ostream &os) |
virtual void | PrintHeader (ostream &os, vtkIndent indent) |
virtual void | PrintTrailer (ostream &os, vtkIndent indent) |
int | GetReferenceCount () |
Static Public Member Functions | |
static int | IsTypeOf (const char *type) |
static vtkImageSource * | SafeDownCast (vtkObject *o) |
Additional Inherited Members | |
![]() | |
int | AbortExecute |
![]() | |
static vtkInformationIntegerKey * | PORT_REQUIREMENTS_FILLED () |
![]() | |
vtkDataObject ** | Outputs |
int | NumberOfOutputs |
int | Updating |
vtkTimeStamp | InformationTime |
![]() | |
static vtkExecutive * | DefaultExecutivePrototype |
![]() |
Source of data for the imaging pipeline.
vtkImageSource is the superclass for all imaging sources and filters. The method Update(), called by the cache, is the major interface to the source.
Definition at line 33 of file vtkImageSource.h.
typedef vtkSource vtkImageSource::Superclass |
Definition at line 36 of file vtkImageSource.h.
|
protected |
|
inlineprotected |
Definition at line 48 of file vtkImageSource.h.
|
virtual |
Reimplemented from vtkSource.
Reimplemented in vtkImageSpatialFilter, vtkImageToImageFilter, vtkDataSetToImageFilter, vtkImageMultipleInputFilter, vtkImageMultipleInputOutputFilter, and vtkImageTwoInputFilter.
|
static |
Return 1 if this class type is the same type of (or a subclass of) the named class. Returns 0 otherwise. This method works in combination with vtkTypeMacro found in vtkSetGet.h.
Reimplemented from vtkSource.
Reimplemented in vtkImageSpatialFilter, vtkImageToImageFilter, vtkDataSetToImageFilter, vtkImageMultipleInputFilter, vtkImageMultipleInputOutputFilter, and vtkImageTwoInputFilter.
|
virtual |
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 vtkTypeMacro found in vtkSetGet.h.
Reimplemented from vtkSource.
Reimplemented in vtkImageSpatialFilter, vtkImageToImageFilter, vtkDataSetToImageFilter, vtkImageMultipleInputFilter, vtkImageMultipleInputOutputFilter, and vtkImageTwoInputFilter.
|
static |
Reimplemented from vtkSource.
Reimplemented in vtkImageSpatialFilter, vtkImageToImageFilter, vtkDataSetToImageFilter, vtkImageMultipleInputFilter, vtkImageMultipleInputOutputFilter, and vtkImageTwoInputFilter.
|
virtual |
Methods invoked by print to print information about the object including superclasses. Typically not called by the user (use Print() instead) but used in the hierarchical print process to combine the output of several classes.
Reimplemented from vtkSource.
Reimplemented in vtkImageSpatialFilter, vtkImageToImageFilter, vtkDataSetToImageFilter, vtkImageMultipleInputFilter, vtkImageMultipleInputOutputFilter, and vtkImageTwoInputFilter.
void vtkImageSource::SetOutput | ( | vtkImageData * | output | ) |
Get the output of this source.
vtkImageData* vtkImageSource::GetOutput | ( | ) |
Get the output of this source.
Reimplemented in vtkImageMultipleInputOutputFilter.
vtkImageData* vtkImageSource::GetOutput | ( | int | idx | ) |
Get the output of this source.
Reimplemented from vtkSource.
Reimplemented in vtkImageMultipleInputOutputFilter.
|
protectedvirtual |
This method is the old style execute method
Reimplemented from vtkSource.
|
protectedvirtual |
|
protectedvirtual |
Reimplemented in vtkImageToImageFilter.
|
protectedvirtual |
Fill the output port information objects for this algorithm. This is invoked by the first call to GetOutputPortInformation for each port so subclasses can specify what they can handle.
Reimplemented from vtkSource.