Go to the documentation of this file.
39 #ifndef vtkConstrainedPointHandleRepresentation_h
40 #define vtkConstrainedPointHandleRepresentation_h
214 double LastPickPosition[3];
215 double LastEventPosition[2];
240 double tolerance = 0.0,
254 double InteractionOffset[2];
map vtkPolyData to graphics primitives
represent and manipulate 3D points
point representation constrained to a 2D plane
perform various plane computations
#define vtkGetObjectMacro(name, type)
vtkProperty * SelectedProperty
void CreateDefaultProperties()
virtual int RenderTranslucentPolygonalGeometry(vtkViewport *viewport)
void SetProjectionNormalToXAxis()
void SetPosition(double x, double y, double z)
virtual void SetDisplayPosition(double pos[3])
void RemoveAllBoundingPlanes()
void Scale(double eventPos[2])
virtual int ComputeInteractionState(int X, int Y, int modify)
virtual int CheckConstraint(vtkRenderer *renderer, double pos[2])
void SetBoundingPlanes(vtkPlanes *planes)
double ProjectionPosition
#define vtkTypeMacro(thisClass, superclass)
abstract class for representing widget handles
vtkPolyDataMapper * Mapper
vtkPolyData * CursorShape
GLint GLint GLint GLint GLint x
vtkPolyData * ActiveCursorShape
int GetIntersectionPosition(double eventPos[2], double worldPos[3], double tolerance=0.0, vtkRenderer *renderer=0)
implicit function for convex set of planes
virtual void SetRenderer(vtkRenderer *ren)
window superclass for vtkRenderWindow
virtual void ShallowCopy(vtkProp *prop)
void SetPosition(double xyz[3])
void Translate(double eventPos[2])
#define vtkSetClampMacro(name, type, min, max)
static vtkConstrainedPointHandleRepresentation * New()
void RemoveBoundingPlane(vtkPlane *plane)
vtkConstrainedPointHandleRepresentation()
void SetProjectionNormalToOblique()
vtkProperty * ActiveProperty
void SetActiveCursorShape(vtkPolyData *activeShape)
void SetProjectionNormalToZAxis()
void AddBoundingPlane(vtkPlane *plane)
represents an object (geometry & properties) in a rendered scene
virtual int HasTranslucentPolygonalGeometry()
a simple class to control print indentation
virtual void ReleaseGraphicsResources(vtkWindow *)
virtual void StartWidgetInteraction(double eventPos[2])
virtual int RenderOverlay(vtkViewport *viewport)
void GetProjectionNormal(double normal[3])
void Highlight(int highlight)
vtkPolyData * GetActiveCursorShape()
vtkPlaneCollection * BoundingPlanes
void GetPosition(double xyz[3])
#define vtkGetMacro(name, type)
void SetProjectionNormalToYAxis()
abstract specification for Viewports
virtual void WidgetInteraction(double eventPos[2])
copy oriented and scaled glyph geometry to every input point
abstract superclass for all actors, volumes and annotations
void SetCursorShape(vtkPolyData *cursorShape)
void PrintSelf(ostream &os, vtkIndent indent)
~vtkConstrainedPointHandleRepresentation()
GLint GLint GLint GLint GLint GLint y
abstract specification for renderers
concrete dataset represents vertices, lines, polygons, and triangle strips
represent surface properties of a geometric object
void GetProjectionOrigin(double origin[3])
maintain a list of planes
virtual int RenderOpaqueGeometry(vtkViewport *viewport)
virtual void BuildRepresentation()
virtual void SetBoundingPlanes(vtkPlaneCollection *)
vtkPolyData * GetCursorShape()
virtual void GetActors(vtkPropCollection *)
void SetProjectionPosition(double position)
void SetObliquePlane(vtkPlane *)