Go to the documentation of this file.
38 #include "vtkRenderingCoreModule.h"
106 vtkSetVector3Macro(Background2,
double);
107 vtkGetVector3Macro(Background2,
double);
116 vtkSetClampMacro(BackgroundAlpha,
double, 0.0, 1.0);
117 vtkGetMacro(BackgroundAlpha,
double);
126 vtkSetMacro(GradientBackground,
bool);
127 vtkGetMacro(GradientBackground,
bool);
128 vtkBooleanMacro(GradientBackground,
bool);
136 vtkSetVector2Macro(Aspect,
double);
137 vtkGetVectorMacro(Aspect,
double,2);
147 vtkSetVector2Macro(PixelAspect,
double);
148 vtkGetVectorMacro(PixelAspect,
double,2);
157 vtkSetVector4Macro(Viewport,
double);
158 vtkGetVectorMacro(Viewport,
double,4);
167 vtkSetVector3Macro(DisplayPoint,
double);
168 vtkGetVectorMacro(DisplayPoint,
double,3);
177 vtkSetVector3Macro(ViewPoint,
double);
178 vtkGetVectorMacro(ViewPoint,
double,3);
186 vtkSetVector4Macro(WorldPoint,
double);
187 vtkGetVectorMacro(WorldPoint,
double,4);
198 virtual
int IsInViewport(
int x,
int y);
208 virtual
void DisplayToView();
213 virtual
void ViewToDisplay();
218 virtual
void WorldToView();
223 virtual
void ViewToWorld();
228 void DisplayToWorld() {this->DisplayToView(); this->ViewToWorld();};
269 void GetTiledSize(
int *width,
int *
height);
270 virtual
void GetTiledSizeAndOrigin(
int *width,
int *
height,
271 int *lowerLeftX,
int *lowerLeftY);
293 double selectionX2,
double selectionY2) = 0;
309 double selectionX2,
double selectionY2,
317 double GetPickX()
const {
return (this->PickX1 + this->PickX2)*0.5;}
318 double GetPickY()
const {
return (this->PickY1 + this->PickY2)*0.5;}
356 double Background2[3];
360 double PixelAspect[2];
366 double DisplayPoint[3];
368 double WorldPoint[4];
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
virtual double GetPickedZ()
Return the Z value for the last picked Prop.
virtual void DisplayToNormalizedDisplay(double &u, double &v)
vtkPropCollection * PickResultProps
void RemoveViewProp(vtkProp *)
Remove a prop from the list of props.
vtkActor2DCollection * Actors2D
virtual void ViewToNormalizedViewport(double &x, double &y, double &z)
virtual void WorldToPose(double &, double &, double &)
virtual double * GetCenter()
Return the center of this viewport in display coordinates.
void AddActor2D(vtkProp *p)
Add/Remove different types of props to the renderer.
abstract base class for most VTK objects
virtual void NormalizedViewportToViewport(double &u, double &v)
virtual void ViewportToNormalizedDisplay(double &x, double &y)
vtkPropCollection * Props
a list of nodes that form an assembly path
virtual void ComputeAspect()
window superclass for vtkRenderWindow
virtual void WorldToView(double &, double &, double &)
vtkPropCollection * GetViewProps()
Return any props in this viewport.
virtual void NormalizedDisplayToViewport(double &x, double &y)
#define VTK_SIZEHINT(...)
virtual void ViewToPose(double &, double &, double &)
vtkAssemblyPath * PickedProp
void WorldToDisplay()
Convert world point coordinates to display (or screen) coordinates.
virtual void DisplayToLocalDisplay(double &x, double &y)
virtual void ViewportToNormalizedViewport(double &u, double &v)
virtual int * GetSize()
Get the size and origin of the viewport in display coordinates.
a simple class to control print indentation
virtual void NormalizedViewportToView(double &x, double &y, double &z)
void AddViewProp(vtkProp *)
Add a prop to the list of props.
virtual void NormalizedDisplayToDisplay(double &u, double &v)
virtual void PoseToWorld(double &, double &, double &)
virtual void ViewToWorld(double &, double &, double &)
abstract specification for Viewports
void RemoveActor2D(vtkProp *p)
vtkPropCollection * PickFromProps
abstract superclass for all actors, volumes and annotations
double GetPickWidth() const
vtkActor2DCollection * GetActors2D()
int HasViewProp(vtkProp *)
Query if a prop is in the list of props.
double GetPickHeight() const
virtual void PoseToView(double &, double &, double &)
void RemoveAllViewProps(void)
Remove all props from the list of props.
virtual void LocalDisplayToDisplay(double &x, double &y)
These methods map from one coordinate system to another.