74#ifndef vtkSelectVisiblePoints_h
75#define vtkSelectVisiblePoints_h
78#include "vtkRenderingCoreModule.h"
102 if (this->Renderer != ren)
104 this->Renderer = ren;
126 vtkSetVector4Macro(Selection,
int);
127 vtkGetVectorMacro(Selection,
int, 4);
148 vtkGetMacro(Tolerance,
double);
160 vtkGetMacro(ToleranceWorld,
double);
192 int InternalSelection[4];
194 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.
int FillInputPortInformation(int port, vtkInformation *info) override
Fill the input port information objects for this algorithm.
vtkRenderer * GetRenderer()
Specify the renderer in which the visibility computation is to be performed.
int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
This is called by the superclass.
static vtkSelectVisiblePoints * New()
Instantiate object with no renderer; window selection turned off; tolerance set to 0....
vtkTypeBool SelectionWindow
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
float * Initialize(bool getZbuff)
Requires the renderer to be set.
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