68 void RemoveAllViewProps(
void);
89 vtkSetVector3Macro(Background2,
double);
90 vtkGetVector3Macro(Background2,
double);
96 vtkSetMacro(GradientBackground,
bool);
97 vtkGetMacro(GradientBackground,
bool);
98 vtkBooleanMacro(GradientBackground,
bool);
104 vtkSetVector2Macro(Aspect,
double);
105 vtkGetVectorMacro(Aspect,
double,2);
106 virtual void ComputeAspect();
113 vtkSetVector2Macro(PixelAspect,
double);
114 vtkGetVectorMacro(PixelAspect,
double,2);
121 vtkSetVector4Macro(Viewport,
double);
122 vtkGetVectorMacro(Viewport,
double,4);
129 vtkSetVector3Macro(DisplayPoint,
double);
130 vtkGetVectorMacro(DisplayPoint,
double,3);
137 vtkSetVector3Macro(ViewPoint,
double);
138 vtkGetVectorMacro(ViewPoint,
double,3);
144 vtkSetVector4Macro(WorldPoint,
double);
145 vtkGetVectorMacro(WorldPoint,
double,4);
149 virtual double *GetCenter();
152 virtual int IsInViewport(
int x,
int y);
158 virtual void DisplayToView();
161 virtual void ViewToDisplay();
164 virtual void WorldToView();
167 virtual void ViewToWorld();
181 virtual void LocalDisplayToDisplay(
double &x,
double &y);
182 virtual void DisplayToNormalizedDisplay(
double &u,
double &v);
183 virtual void NormalizedDisplayToViewport(
double &x,
double &y);
184 virtual void ViewportToNormalizedViewport(
double &u,
double &v);
185 virtual void NormalizedViewportToView(
double &x,
double &y,
double &z);
187 virtual void DisplayToLocalDisplay(
double &x,
double &y);
188 virtual void NormalizedDisplayToDisplay(
double &u,
double &v);
189 virtual void ViewportToNormalizedDisplay(
double &x,
double &y);
190 virtual void NormalizedViewportToViewport(
double &u,
double &v);
191 virtual void ViewToNormalizedViewport(
double &x,
double &y,
double &z);
199 virtual int *GetSize();
200 virtual int *GetOrigin();
201 void GetTiledSize(
int *width,
int *
height);
202 virtual void GetTiledSizeAndOrigin(
int *width,
int *
height,
203 int *lowerLeftX,
int *lowerLeftY);
214 virtual vtkAssemblyPath* PickProp(
double selectionX,
double selectionY) = 0;
222 virtual vtkAssemblyPath* PickProp(
double selectionX1,
double selectionY1,
223 double selectionX2,
double selectionY2) = 0;
239 double selectionX2,
double selectionY2,
246 double GetPickX()
const {
return (this->PickX1 + this->PickX2)*0.5;}
247 double GetPickY()
const {
return (this->PickY1 + this->PickY2)*0.5;}
254 vtkGetMacro(IsPicking,
int);
255 vtkGetMacro(CurrentPickId,
unsigned int);
261 virtual double GetPickedZ() = 0;
273 virtual void DevicePickRender() = 0;
275 virtual void StartPick(
unsigned int pickFromSize) = 0;
277 virtual void UpdatePickId() = 0;
279 virtual void DonePick() = 0;
281 virtual unsigned int GetPickedId() = 0;
283 virtual unsigned int GetNumPickedIds() = 0;
286 virtual int GetPickedIds(
unsigned int atMost,
unsigned int *callerBuffer) = 0;
307 double Background2[3];
310 double PixelAspect[2];
316 double DisplayPoint[3];
318 double WorldPoint[4];
abstract superclass for all actors, volumes and annotations
unsigned int CurrentPickId
abstract base class for most VTK objects
vtkPropCollection * PickResultProps
void SetCurrentPickId(unsigned int a)
abstract specification for Viewports
double GetPickWidth() const
virtual void WorldToView(double &, double &, double &)
vtkPropCollection * GetViewProps()
vtkAssemblyPath * PickedProp
vtkPropCollection * Props
window superclass for vtkRenderWindow
virtual void PrintSelf(ostream &os, vtkIndent indent)
virtual void ViewToWorld(double &, double &, double &)
a list of nodes that form an assembly path
a simple class to control print indentation
double GetPickHeight() const
vtkPropCollection * PickFromProps
#define VTKRENDERINGCORE_EXPORT
vtkActor2DCollection * Actors2D