VTK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Types | Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
vtkImageExtractComponents Class Reference

Outputs a single component. More...

#include <vtkImageExtractComponents.h>

Inherits vtkThreadedImageAlgorithm.

Public Types

typedef vtkThreadedImageAlgorithm Superclass
 

Public Member Functions

virtual int IsA (const char *type)
 
vtkImageExtractComponentsNewInstance () const
 
void PrintSelf (ostream &os, vtkIndent indent)
 
void SetComponents (int c1)
 
void SetComponents (int c1, int c2)
 
void SetComponents (int c1, int c2, int c3)
 
virtual int * GetComponents ()
 
virtual void GetComponents (int &, int &, int &)
 
virtual void GetComponents (int[3])
 
virtual int GetNumberOfComponents ()
 

Static Public Member Functions

static vtkImageExtractComponentsNew ()
 
static int IsTypeOf (const char *type)
 
static vtkImageExtractComponentsSafeDownCast (vtkObjectBase *o)
 

Protected Member Functions

virtual vtkObjectBase * NewInstanceInternal () const
 
 vtkImageExtractComponents ()
 
 ~vtkImageExtractComponents ()
 
virtual int RequestInformation (vtkInformation *, vtkInformationVector **, vtkInformationVector *)
 
void ThreadedExecute (vtkImageData *inData, vtkImageData *outData, int ext[6], int id)
 

Protected Attributes

int NumberOfComponents
 
int Components [3]
 

Detailed Description

Outputs a single component.

vtkImageExtractComponents takes an input with any number of components and outputs some of them. It does involve a copy of the data.

See Also
vtkImageAppendComponents
Tests:
vtkImageExtractComponents (Tests)

Definition at line 35 of file vtkImageExtractComponents.h.

Member Typedef Documentation

typedef vtkThreadedImageAlgorithm vtkImageExtractComponents::Superclass

Definition at line 39 of file vtkImageExtractComponents.h.

Constructor & Destructor Documentation

vtkImageExtractComponents::vtkImageExtractComponents ( )
protected
vtkImageExtractComponents::~vtkImageExtractComponents ( )
inlineprotected

Definition at line 58 of file vtkImageExtractComponents.h.

Member Function Documentation

static vtkImageExtractComponents* vtkImageExtractComponents::New ( )
static
static int vtkImageExtractComponents::IsTypeOf ( const char *  type)
static
virtual int vtkImageExtractComponents::IsA ( const char *  type)
virtual
static vtkImageExtractComponents* vtkImageExtractComponents::SafeDownCast ( vtkObjectBase *  o)
static
virtual vtkObjectBase* vtkImageExtractComponents::NewInstanceInternal ( ) const
protectedvirtual
vtkImageExtractComponents* vtkImageExtractComponents::NewInstance ( ) const
void vtkImageExtractComponents::PrintSelf ( ostream &  os,
vtkIndent  indent 
)
void vtkImageExtractComponents::SetComponents ( int  c1)

Set/Get the components to extract.

void vtkImageExtractComponents::SetComponents ( int  c1,
int  c2 
)

Set/Get the components to extract.

void vtkImageExtractComponents::SetComponents ( int  c1,
int  c2,
int  c3 
)

Set/Get the components to extract.

virtual int* vtkImageExtractComponents::GetComponents ( )
virtual

Set/Get the components to extract.

virtual void vtkImageExtractComponents::GetComponents ( int &  ,
int &  ,
int &   
)
virtual

Set/Get the components to extract.

virtual void vtkImageExtractComponents::GetComponents ( int  [3])
virtual

Set/Get the components to extract.

virtual int vtkImageExtractComponents::GetNumberOfComponents ( )
virtual

Get the number of components to extract. This is set implicitly by the SetComponents() method.

virtual int vtkImageExtractComponents::RequestInformation ( vtkInformation *  ,
vtkInformationVector **  ,
vtkInformationVector *   
)
protectedvirtual
void vtkImageExtractComponents::ThreadedExecute ( vtkImageData *  inData,
vtkImageData *  outData,
int  ext[6],
int  id 
)
protected

Member Data Documentation

int vtkImageExtractComponents::NumberOfComponents
protected

Definition at line 58 of file vtkImageExtractComponents.h.

int vtkImageExtractComponents::Components[3]
protected

Definition at line 61 of file vtkImageExtractComponents.h.


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