36 #include "vtkRenderingCoreModule.h"
103 vtkSetVector3Macro(Background2,
double);
104 vtkGetVector3Macro(Background2,
double);
113 vtkSetClampMacro(BackgroundAlpha,
double, 0.0, 1.0);
114 vtkGetMacro(BackgroundAlpha,
double);
123 vtkSetMacro(GradientBackground,
bool);
124 vtkGetMacro(GradientBackground,
bool);
125 vtkBooleanMacro(GradientBackground,
bool);
133 vtkSetVector2Macro(Aspect,
double);
134 vtkGetVectorMacro(Aspect,
double, 2);
144 vtkSetVector2Macro(PixelAspect,
double);
145 vtkGetVectorMacro(PixelAspect,
double, 2);
154 vtkSetVector4Macro(Viewport,
double);
155 vtkGetVectorMacro(Viewport,
double, 4);
164 vtkSetVector3Macro(DisplayPoint,
double);
165 vtkGetVectorMacro(DisplayPoint,
double, 3);
174 vtkSetVector3Macro(ViewPoint,
double);
175 vtkGetVectorMacro(ViewPoint,
double, 3);
183 vtkSetVector4Macro(WorldPoint,
double);
184 vtkGetVectorMacro(WorldPoint,
double, 4);
195 virtual
int IsInViewport(
int x,
int y);
205 virtual
void DisplayToView();
210 virtual
void ViewToDisplay();
215 virtual
void WorldToView();
220 virtual
void ViewToWorld();
225 void DisplayToWorld()
227 this->DisplayToView();
237 this->ViewToDisplay();
274 void GetTiledSize(
int* width,
int*
height);
275 virtual
void GetTiledSizeAndOrigin(
int* width,
int*
height,
int* lowerLeftX,
int* lowerLeftY);
297 double selectionX1,
double selectionY1,
double selectionX2,
double selectionY2) = 0;
311 vtkAssemblyPath* PickPropFrom(
double selectionX1,
double selectionY1,
double selectionX2,
319 double GetPickX()
const {
return (this->PickX1 + this->PickX2) * 0.5; }
320 double GetPickY()
const {
return (this->PickY1 + this->PickY2) * 0.5; }
321 double GetPickWidth()
const {
return this->PickX2 - this->PickX1 + 1; }
340 vtkSetVector3Macro(EnvironmentalBG,
double);
341 vtkGetVector3Macro(EnvironmentalBG,
double);
349 vtkSetVector3Macro(EnvironmentalBG2,
double);
350 vtkGetVector3Macro(EnvironmentalBG2,
double);
359 vtkSetMacro(GradientEnvironmentalBG,
bool);
360 vtkGetMacro(GradientEnvironmentalBG,
bool);
361 vtkBooleanMacro(GradientEnvironmentalBG,
bool);
387 double Background2[3];
391 double PixelAspect[2];
395 double EnvironmentalBG[3];
396 double EnvironmentalBG2[3];
401 double DisplayPoint[3];
403 double WorldPoint[4];
a list of nodes that form an assembly path
a simple class to control print indentation
abstract base class for most VTK objects
abstract superclass for all actors, volumes and annotations
abstract specification for Viewports
virtual void ViewToWorld(double &, double &, double &)
vtkPropCollection * Props
virtual void DisplayToLocalDisplay(double &x, double &y)
virtual void WorldToPose(double &, double &, double &)
void WorldToDisplay()
Convert world point coordinates to display (or screen) coordinates.
vtkAssemblyPath * PickedProp
virtual void ViewToNormalizedViewport(double &x, double &y, double &z)
virtual double * GetCenter()
Return the center of this viewport in display coordinates.
virtual int * GetSize()
Get the size and origin of the viewport in display coordinates.
virtual void ViewToPose(double &, double &, double &)
vtkActor2DCollection * Actors2D
double GetPickHeight() const
virtual void NormalizedDisplayToViewport(double &x, double &y)
void RemoveActor2D(vtkProp *p)
virtual void PoseToWorld(double &, double &, double &)
virtual void ComputeAspect()
vtkPropCollection * PickResultProps
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
virtual void NormalizedViewportToView(double &x, double &y, double &z)
vtkActor2DCollection * GetActors2D()
void AddActor2D(vtkProp *p)
Add/Remove different types of props to the renderer.
virtual void ViewportToNormalizedDisplay(double &x, double &y)
virtual void LocalDisplayToDisplay(double &x, double &y)
These methods map from one coordinate system to another.
void AddViewProp(vtkProp *)
Add a prop to the list of props.
vtkPropCollection * PickFromProps
virtual void NormalizedDisplayToDisplay(double &u, double &v)
bool GradientEnvironmentalBG
virtual double GetPickedZ()
Return the Z value for the last picked Prop.
vtkPropCollection * GetViewProps()
Return any props in this viewport.
double GetPickWidth() const
void RemoveAllViewProps(void)
Remove all props from the list of props.
virtual void DisplayToNormalizedDisplay(double &u, double &v)
virtual void NormalizedViewportToViewport(double &u, double &v)
void RemoveViewProp(vtkProp *)
Remove a prop from the list of props.
virtual void PoseToView(double &, double &, double &)
virtual void ViewportToNormalizedViewport(double &u, double &v)
int HasViewProp(vtkProp *)
Query if a prop is in the list of props.
virtual void WorldToView(double &, double &, double &)
window superclass for vtkRenderWindow
#define VTK_SIZEHINT(...)