|  | VTK
    9.0.1
    | 
 
 
 
Go to the documentation of this file.
   27 #ifndef vtkImageStencilData_h 
   28 #define vtkImageStencilData_h 
   31 #include "vtkImagingCoreModule.h"  
   65   int GetNextExtent(
int& r1, 
int& r2, 
int xMin, 
int xMax, 
int yIdx, 
int zIdx, 
int& iter);
 
   73   int IsInside(
int xIdx, 
int yIdx, 
int zIdx);
 
   82   void InsertNextExtent(
int r1, 
int r2, 
int yIdx, 
int zIdx);
 
   92   void InsertAndMergeExtent(
int r1, 
int r2, 
int yIdx, 
int zIdx);
 
   97   void RemoveExtent(
int r1, 
int r2, 
int yIdx, 
int zIdx);
 
  106   vtkSetVector3Macro(Spacing, 
double);
 
  107   vtkGetVector3Macro(Spacing, 
double);
 
  117   vtkSetVector3Macro(Origin, 
double);
 
  118   vtkGetVector3Macro(Origin, 
double);
 
  127   void SetExtent(
const int extent[6]);
 
  128   void SetExtent(
int x1, 
int x2, 
int y1, 
int y2, 
int z1, 
int z2);
 
  129   vtkGetVector6Macro(Extent, 
int);
 
  136   void AllocateExtents();
 
  181   virtual int Clip(
int extent[6]);
 
  196   void LogicalOperationExtent(
int r1, 
int r2, 
int yIdx, 
int zIdx, Operation operation);
 
  208   void ChangeExtent(
const int extent[6]);
 
  238   friend class vtkImageStencilIteratorFriendship;
 
  265   void PrepareForNewData(
const int allocateExtent[2] = 
nullptr);
 
  271   void InsertLine(
const double p1[2], 
const double p2[2]);
 
  272   VTK_LEGACY(
void InsertLine(
const double[2], 
const double[2], 
bool, 
bool));
 
  292   void PrepareExtent(
int ymin, 
int ymax);
 
  299   void InsertPoint(
int y, 
double x, 
int i);
 
  
virtual void Initialize()
Restore data object to initial state,.
int GetDataObjectType() override
Get the data type as an integer (this will return VTK_DATA_OBJECT for now, maybe a proper type consta...
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
int NumberOfExtentEntries
The actual 'data' is stored here.
void SetTolerance(double tol)
The tolerance for float-to-int conversions.
virtual void CopyInformationFromPipeline(vtkInformation *vtkNotUsed(info))
Copy from the pipeline information to the data object's own information.
virtual void DeepCopy(vtkDataObject *src)
This is a helper class for stencil creation.
int GetExtentType() override
The extent type is 3D, just like vtkImageData.
a simple class to control print indentation
virtual void CopyInformationToPipeline(vtkInformation *vtkNotUsed(info))
Copy information from this data object to the pipeline information.
efficient description of an image stencil
general representation of visualization data
virtual void ShallowCopy(vtkDataObject *src)
Shallow and Deep copy.
static vtkDataObject * GetData(vtkInformation *info)
Retrieve an instance of this class from an information object.
static vtkDataObject * New()