|
virtual int | IsA (const char *type) |
|
vtkImageStencilData * | NewInstance () const |
|
void | PrintSelf (ostream &os, vtkIndent indent) |
|
void | Initialize () |
|
void | DeepCopy (vtkDataObject *o) |
|
void | ShallowCopy (vtkDataObject *f) |
|
void | InternalImageStencilDataCopy (vtkImageStencilData *s) |
|
int | GetDataObjectType () |
|
int | GetExtentType () |
|
int | IsInside (int xIdx, int yIdx, int zIdx) |
|
void | InsertNextExtent (int r1, int r2, int yIdx, int zIdx) |
|
void | InsertAndMergeExtent (int r1, int r2, int yIdx, int zIdx) |
|
void | RemoveExtent (int r1, int r2, int yIdx, int zIdx) |
|
void | AllocateExtents () |
|
void | Fill () |
|
virtual void | Add (vtkImageStencilData *) |
|
virtual void | Subtract (vtkImageStencilData *) |
|
virtual void | Replace (vtkImageStencilData *) |
|
virtual int | Clip (int extent[6]) |
|
|
int | GetNextExtent (int &r1, int &r2, int xMin, int xMax, int yIdx, int zIdx, int &iter) |
|
|
virtual void | SetSpacing (double, double, double) |
|
virtual void | SetSpacing (double[3]) |
|
virtual double * | GetSpacing () |
|
virtual void | GetSpacing (double &, double &, double &) |
|
virtual void | GetSpacing (double[3]) |
|
|
virtual void | SetOrigin (double, double, double) |
|
virtual void | SetOrigin (double[3]) |
|
virtual double * | GetOrigin () |
|
virtual void | GetOrigin (double &, double &, double &) |
|
virtual void | GetOrigin (double[3]) |
|
|
void | SetExtent (int extent[6]) |
|
void | SetExtent (int x1, int x2, int y1, int y2, int z1, int z2) |
|
virtual int * | GetExtent () |
|
virtual void | GetExtent (int &, int &, int &, int &, int &, int &) |
|
virtual void | GetExtent (int[6]) |
|
|
virtual void | CopyInformationFromPipeline (vtkInformation *meta_data) |
|
virtual void | CopyInformationToPipeline (vtkInformation *meta_data) |
|
vtkDataObject * | NewInstance () const |
|
unsigned long int | GetMTime () |
|
void | ReleaseData () |
|
unsigned long | GetUpdateTime () |
|
virtual unsigned long | GetActualMemorySize () |
|
virtual void | CopyInformationToPipeline (vtkInformation *vtkNotUsed(info)) |
|
void | DataHasBeenGenerated () |
|
virtual void | PrepareForNewData () |
|
virtual void | Crop (const int *updateExtent) |
|
virtual vtkDataSetAttributes * | GetAttributes (int type) |
|
virtual vtkFieldData * | GetAttributesAsFieldData (int type) |
|
virtual int | GetAttributeTypeForArray (vtkAbstractArray *arr) |
|
virtual vtkIdType | GetNumberOfElements (int type) |
|
virtual vtkInformation * | GetInformation () |
|
virtual void | SetInformation (vtkInformation *) |
|
virtual int | GetDataReleased () |
|
virtual void | SetFieldData (vtkFieldData *) |
|
virtual vtkFieldData * | GetFieldData () |
|
virtual void | CopyInformationFromPipeline (vtkInformation *vtkNotUsed(info)) |
|
void | GlobalReleaseDataFlagOn () |
|
void | GlobalReleaseDataFlagOff () |
|
vtkObject * | NewInstance () const |
|
virtual void | DebugOn () |
|
virtual void | DebugOff () |
|
bool | GetDebug () |
|
void | SetDebug (bool debugFlag) |
|
virtual void | Modified () |
|
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) |
|
template<class U , class T > |
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) |
|
int | InvokeEvent (unsigned long event) |
|
int | InvokeEvent (const char *event) |
|
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) |
|
void | PrintRevisions (ostream &) |
|
virtual void | PrintHeader (ostream &os, vtkIndent indent) |
|
virtual void | PrintTrailer (ostream &os, vtkIndent indent) |
|
int | GetReferenceCount () |
|
|
static vtkImageStencilData * | New () |
|
static int | IsTypeOf (const char *type) |
|
static vtkImageStencilData * | SafeDownCast (vtkObjectBase *o) |
|
|
static vtkImageStencilData * | GetData (vtkInformation *info) |
|
static vtkImageStencilData * | GetData (vtkInformationVector *v, int i=0) |
|
static vtkDataObject * | New () |
|
static int | IsTypeOf (const char *type) |
|
static vtkDataObject * | SafeDownCast (vtkObjectBase *o) |
|
static const char * | GetAssociationTypeAsString (int associationType) |
|
static int | GetAssociationTypeFromString (const char *associationType) |
|
static vtkInformationStringKey * | DATA_TYPE_NAME () |
|
static vtkInformationDataObjectKey * | DATA_OBJECT () |
|
static vtkInformationIntegerKey * | DATA_EXTENT_TYPE () |
|
static vtkInformationIntegerPointerKey * | DATA_EXTENT () |
|
static vtkInformationIntegerVectorKey * | ALL_PIECES_EXTENT () |
|
static vtkInformationIntegerKey * | DATA_PIECE_NUMBER () |
|
static vtkInformationIntegerKey * | DATA_NUMBER_OF_PIECES () |
|
static vtkInformationIntegerKey * | DATA_NUMBER_OF_GHOST_LEVELS () |
|
static vtkInformationDoubleKey * | DATA_TIME_STEP () |
|
static vtkInformationInformationVectorKey * | POINT_DATA_VECTOR () |
|
static vtkInformationInformationVectorKey * | CELL_DATA_VECTOR () |
|
static vtkInformationInformationVectorKey * | VERTEX_DATA_VECTOR () |
|
static vtkInformationInformationVectorKey * | EDGE_DATA_VECTOR () |
|
static vtkInformationIntegerKey * | FIELD_ARRAY_TYPE () |
|
static vtkInformationIntegerKey * | FIELD_ASSOCIATION () |
|
static vtkInformationIntegerKey * | FIELD_ATTRIBUTE_TYPE () |
|
static vtkInformationIntegerKey * | FIELD_ACTIVE_ATTRIBUTE () |
|
static vtkInformationIntegerKey * | FIELD_NUMBER_OF_COMPONENTS () |
|
static vtkInformationIntegerKey * | FIELD_NUMBER_OF_TUPLES () |
|
static vtkInformationIntegerKey * | FIELD_OPERATION () |
|
static vtkInformationDoubleVectorKey * | FIELD_RANGE () |
|
static vtkInformationIntegerVectorKey * | PIECE_EXTENT () |
|
static vtkInformationStringKey * | FIELD_NAME () |
|
static vtkInformationDoubleVectorKey * | ORIGIN () |
|
static vtkInformationDoubleVectorKey * | SPACING () |
|
static vtkInformationDoubleVectorKey * | BOUNDING_BOX () |
|
static vtkInformationDataObjectKey * | SIL () |
|
static vtkInformation * | GetActiveFieldInformation (vtkInformation *info, int fieldAssociation, int attributeType) |
|
static vtkInformation * | GetNamedFieldInformation (vtkInformation *info, int fieldAssociation, const char *name) |
|
static void | RemoveNamedFieldInformation (vtkInformation *info, int fieldAssociation, const char *name) |
|
static vtkInformation * | SetActiveAttribute (vtkInformation *info, int fieldAssociation, const char *attributeName, int attributeType) |
|
static void | SetActiveAttributeInfo (vtkInformation *info, int fieldAssociation, int attributeType, const char *name, int arrayType, int numComponents, int numTuples) |
|
static void | SetPointDataActiveScalarInfo (vtkInformation *info, int arrayType, int numComponents) |
|
static vtkDataObject * | GetData (vtkInformation *info) |
|
static vtkDataObject * | GetData (vtkInformationVector *v, int i=0) |
|
static void | SetGlobalReleaseDataFlag (int val) |
|
static int | GetGlobalReleaseDataFlag () |
|
static int | IsTypeOf (const char *type) |
|
static vtkObject * | SafeDownCast (vtkObjectBase *o) |
|
static vtkObject * | New () |
|
static void | BreakOnError () |
|
static void | SetGlobalWarningDisplay (int val) |
|
static void | GlobalWarningDisplayOn () |
|
static void | GlobalWarningDisplayOff () |
|
static int | GetGlobalWarningDisplay () |
|
static int | IsTypeOf (const char *name) |
|
static vtkObjectBase * | New () |
|
efficient description of an image stencil
vtkImageStencilData describes an image stencil in a manner which is efficient both in terms of speed and storage space. The stencil extents are stored for each x-row across the image (multiple extents per row if necessary) and can be retrieved via the GetNextExtent() method.
- See also
- vtkImageStencilSource vtkImageStencil
- Tests:
- vtkImageStencilData (Tests)
Definition at line 36 of file vtkImageStencilData.h.
void vtkImageStencilData::InsertAndMergeExtent |
( |
int |
r1, |
|
|
int |
r2, |
|
|
int |
yIdx, |
|
|
int |
zIdx |
|
) |
| |
Similar to InsertNextExtent, except that the extent (r1,r2) at yIdx, zIdx is merged with other extents, (if any) on that row. So a unique extent may not necessarily be added. For instance, if an extent [5,11] already exists adding an extent, [7,9] will not affect the stencil. Likewise adding [10, 13] will replace the existing extent with [5,13].