24#ifndef vtkCamera3DRepresentation_h
25#define vtkCamera3DRepresentation_h
27#include "vtkInteractionWidgetsModule.h"
35VTK_ABI_NAMESPACE_BEGIN
206 virtual void Scale(
const double p1[4],
const double p2[4],
int X,
int Y);
represents an object (geometry & properties) in a rendered scene
implicit function for a bounding box
void PrintSelf(ostream &os, vtkIndent indent) override
Standard methods for the class.
int RenderOpaqueGeometry(vtkViewport *) override
Methods supporting, and required by, the rendering process.
void SetTranslationAxisToZAxis()
Set/Get the constraint axis for translations.
vtkTypeBool HasTranslucentPolygonalGeometry() override
Methods supporting, and required by, the rendering process.
void GetActors(vtkPropCollection *) override
These methods are necessary to make this representation behave as a vtkProp (i.e.,...
void StartWidgetInteraction(double e[2]) override
These are methods that satisfy vtkWidgetRepresentation's API.
vtkNew< vtkActor > CameraBoxActor
virtual void SetTranslationAxis(int)
Set/Get the constraint axis for translations.
virtual void TranslatePosition(const double p1[4], const double p2[4])
std::array< vtkNew< vtkActor >, 3 > HandleSphereActor
void PlaceWidget(double bounds[6]) override
These are methods that satisfy vtkWidgetRepresentation's API.
double LastEventOrientation[4]
vtkNew< vtkProperty > HandleProperty
static vtkCamera3DRepresentation * New()
Instantiate the class.
vtkNew< vtkTransform > UpTransform
virtual void Scale(const double p1[4], const double p2[4], int X, int Y)
bool SecondaryHandlesVisibility
vtkNew< vtkActor > CameraConeActor
void ReleaseGraphicsResources(vtkWindow *) override
Methods supporting, and required by, the rendering process.
vtkCamera3DRepresentation()
vtkNew< vtkTransform > FrontTransform
std::array< vtkNew< vtkLineSource >, 2 > HandleLineGeometry
void SetFrustumVisibility(bool visible)
Set/Get whether to show camera frustum.
virtual void TranslateNearTarget(const double p1[4], const double p2[4])
std::array< vtkNew< vtkActor >, 2 > HandleLineActor
void GetTranslation(const double p1[4], const double p2[4], double v[3])
vtkNew< vtkCameraActor > CameraFrustumActor
vtkSmartPointer< vtkCamera > Camera
double StartEventOrientation[4]
double LastEventPosition[3]
vtkNew< vtkBox > BoundingBox
virtual void TranslateAll(const double p1[4], const double p2[4])
void SetInteractionState(int state)
The interaction state may be set from a widget (e.g., vtkCamera3DWidget) or other object.
vtkCamera * GetCamera()
Set/Get the camera.
void SetSecondaryHandlesVisibility(bool visible)
Set/Get whether to show secondary handles (spheres and lines).
vtkNew< vtkCellPicker > HandlePicker
int ComputeInteractionState(int X, int Y, int modify=0) override
These are methods that satisfy vtkWidgetRepresentation's API.
double FrontHandleDistance
std::array< vtkNew< vtkSphereSource >, 3 > HandleSphereGeometry
virtual void SetCamera(vtkCamera *camera)
Set/Get the camera.
int RenderTranslucentPolygonalGeometry(vtkViewport *) override
Methods supporting, and required by, the rendering process.
void RegisterPickers() override
Register internal Pickers in the Picking Manager.
virtual void TranslateUp(const double p1[4], const double p2[4])
void SetTranslationAxisToNone()
Set/Get the constraint axis for translations.
void BuildRepresentation() override
These are methods that satisfy vtkWidgetRepresentation's API.
virtual void CreateDefaultProperties()
virtual void UpdateGeometry()
vtkNew< vtkProperty > SelectedHandleProperty
double * GetBounds() override
These are methods that satisfy vtkWidgetRepresentation's API.
void WidgetInteraction(double e[2]) override
These are methods that satisfy vtkWidgetRepresentation's API.
void SetTranslationAxisToYAxis()
Set/Get the constraint axis for translations.
void SetTranslationAxisToXAxis()
Set/Get the constraint axis for translations.
vtkNew< vtkTransform > CameraTransform
virtual void TranslateTarget(const double p1[4], const double p2[4])
void HighlightHandle(vtkProp *prop)
~vtkCamera3DRepresentation() override
a frustum to represent a camera.
a virtual camera for 3D rendering
ray-cast cell picker for all kinds of Prop3Ds
a simple class to control print indentation
create a line defined by two end points
Allocate and hold a VTK object.
represent surface properties of a geometric object
Hold a reference to a vtkObjectBase instance.
create a polygonal sphere centered at the origin
abstract specification for Viewports
window superclass for vtkRenderWindow
#define VTK_SIZEHINT(...)