Main Page   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members   Related Pages  

vtkBranchExtentTranslator Class Reference

Uses alternative source for whole extent. More...

#include <vtkBranchExtentTranslator.h>

Inheritance diagram for vtkBranchExtentTranslator:

Inheritance graph
[legend]
Collaboration diagram for vtkBranchExtentTranslator:

Collaboration graph
[legend]
List of all members.

Public Methods

virtual const char * GetClassName ()
virtual int IsA (const char *type)
void PrintSelf (ostream &os, vtkIndent indent)
virtual void SetOriginalSource (vtkImageData *)
virtual vtkImageDataGetOriginalSource ()
int PieceToExtent ()
virtual void SetAssignedPiece (int)
virtual int GetAssignedPiece ()
virtual void SetAssignedNumberOfPieces (int)
virtual int GetAssignedNumberOfPieces ()

Static Public Methods

vtkBranchExtentTranslator * New ()
int IsTypeOf (const char *type)
vtkBranchExtentTranslator * SafeDownCast (vtkObject *o)

Protected Methods

 vtkBranchExtentTranslator ()
 ~vtkBranchExtentTranslator ()
 vtkBranchExtentTranslator (const vtkBranchExtentTranslator &)
void operator= (const vtkBranchExtentTranslator &)

Protected Attributes

vtkImageDataOriginalSource
int AssignedPiece
int AssignedNumberOfPieces

Detailed Description

Uses alternative source for whole extent.

Date:
2000/12/10 20:08:22
Revision:
1.4

vtkBranchExtentTranslator is like extent translator, but it uses an alternative source as a whole extent. The whole extent passed is assumed to be a subextent of the original source. we simply take the intersection of the split extent and the whole extdent passed in. We are attempting to make branching pipelines request consistent extents with the same piece requests.

Warning:
This object is still under development.
Examples:
vtkBranchExtentTranslator (examples)

Definition at line 68 of file vtkBranchExtentTranslator.h.


Constructor & Destructor Documentation

vtkBranchExtentTranslator::vtkBranchExtentTranslator   [protected]
 

vtkBranchExtentTranslator::~vtkBranchExtentTranslator   [protected]
 

vtkBranchExtentTranslator::vtkBranchExtentTranslator const vtkBranchExtentTranslator &    [inline, protected]
 

Definition at line 97 of file vtkBranchExtentTranslator.h.


Member Function Documentation

vtkBranchExtentTranslator* vtkBranchExtentTranslator::New   [static]
 

Create an object with Debug turned off, modified time initialized to zero, and reference counting on.

Reimplemented from vtkExtentTranslator.

virtual const char* vtkBranchExtentTranslator::GetClassName   [virtual]
 

Return the class name as a string. This method is defined in all subclasses of vtkObject with the vtkTypeMacro found in vtkSetGet.h.

Reimplemented from vtkExtentTranslator.

int vtkBranchExtentTranslator::IsTypeOf const char *    type [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 vtkExtentTranslator.

virtual int vtkBranchExtentTranslator::IsA const char *    type [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 vtkExtentTranslator.

vtkBranchExtentTranslator* vtkBranchExtentTranslator::SafeDownCast vtkObject   o [static]
 

Will cast the supplied object to vtkObject* is this is a safe operation (i.e., a safe downcast); otherwise NULL is returned. This method is defined in all subclasses of vtkObject with the vtkTypeMacro found in vtkSetGet.h.

Reimplemented from vtkExtentTranslator.

void vtkBranchExtentTranslator::PrintSelf ostream &    os,
vtkIndent    indent
[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 vtkExtentTranslator.

virtual void vtkBranchExtentTranslator::SetOriginalSource vtkImageData   [virtual]
 

This is the original upstream image source.

virtual vtkImageData* vtkBranchExtentTranslator::GetOriginalSource   [virtual]
 

int vtkBranchExtentTranslator::PieceToExtent   [virtual]
 

Generates the extent from the pieces.

Reimplemented from vtkExtentTranslator.

virtual void vtkBranchExtentTranslator::SetAssignedPiece int    [virtual]
 

This unstructured extent/piece is store here for the users convenience. It is not used internally. The intent was to let an "assignment" be made when the translator/first source is created. The translator/assignment can be used for any new filter that uses the original source as output. Branches will then have the same assignment.

virtual int vtkBranchExtentTranslator::GetAssignedPiece   [virtual]
 

virtual void vtkBranchExtentTranslator::SetAssignedNumberOfPieces int    [virtual]
 

virtual int vtkBranchExtentTranslator::GetAssignedNumberOfPieces   [virtual]
 

void vtkBranchExtentTranslator::operator= const vtkBranchExtentTranslator &    [inline, protected]
 

Definition at line 98 of file vtkBranchExtentTranslator.h.


Member Data Documentation

vtkImageData* vtkBranchExtentTranslator::OriginalSource [protected]
 

Definition at line 100 of file vtkBranchExtentTranslator.h.

int vtkBranchExtentTranslator::AssignedPiece [protected]
 

Definition at line 101 of file vtkBranchExtentTranslator.h.

int vtkBranchExtentTranslator::AssignedNumberOfPieces [protected]
 

Definition at line 102 of file vtkBranchExtentTranslator.h.


The documentation for this class was generated from the following file:
Generated on Wed Nov 21 12:46:36 2001 for VTK by doxygen1.2.11.1 written by Dimitri van Heesch, © 1997-2001