80 #ifndef vtkSelectVisiblePoints_h
81 #define vtkSelectVisiblePoints_h
84 #include "vtkRenderingCoreModule.h"
108 if (this->Renderer != ren)
110 this->Renderer = ren;
132 vtkSetVector4Macro(Selection,
int);
133 vtkGetVectorMacro(Selection,
int, 4);
154 vtkGetMacro(Tolerance,
double);
166 vtkGetMacro(ToleranceWorld,
double);
198 int InternalSelection[4];
200 double DirectionOfProjection[3];
a simple class to control print indentation
represent and manipulate 4x4 transformation matrices
virtual void Modified()
Update the modification time for this object.
Superclass for algorithms that produce only polydata as output.
abstract specification for renderers
extract points that are visible (based on z-buffer calculation)
vtkMatrix4x4 * CompositePerspectiveTransform
vtkTypeBool SelectInvisible
~vtkSelectVisiblePoints() override
void SetRenderer(vtkRenderer *ren)
Specify the renderer in which the visibility computation is to be performed.
vtkMTimeType GetMTime() override
Return MTime also considering the renderer.
static vtkSelectVisiblePoints * New()
Instantiate object with no renderer; window selection turned off; tolerance set to 0....
int FillInputPortInformation(int port, vtkInformation *info) override
Fill the input port information objects for this algorithm.
float * Initialize(bool getZbuff)
Requires the renderer to be set.
int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
This is called by the superclass.
vtkTypeBool SelectionWindow
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
vtkRenderer * GetRenderer()
Specify the renderer in which the visibility computation is to be performed.
bool IsPointOccluded(const double x[3], const float *zPtr)
Tests if a point x is being occluded or not against the Z-Buffer array passed in by zPtr.
vtkTypeUInt32 vtkMTimeType