39#ifndef vtkStandardRenderView_h
40#define vtkStandardRenderView_h
45#include "vtkViewsRenderingModule.h"
48VTK_ABI_NAMESPACE_BEGIN
295 void SelectRegion(
int x0,
int y0,
int x1,
int y1,
bool extend =
false);
338 void GenerateSelection(
const int region[4],
vtkSelection* sel);
350 bool UseLightKitFlag;
354 int FieldAssociation;
a simple class to control print indentation
an abstract superclass for classes observing events invoked by vtkRenderWindowInteractor
A rubber band interactor for a 3D view.
interactive manipulation of the camera
a simple but quality lighting kit
a virtual light for 3D rendering
Allocate and hold a VTK object.
data object that represents a "selection" in VTK.
Computes the portion of a dataset which is inside a selection.
Hold a reference to a vtkObjectBase instance.
void ProcessEvents(vtkObject *caller, unsigned long eventId, void *callData) override
Called to process events.
vtkInteractorObserver * GetInteractorStyle()
Install an interactor style of your own, for interaction the built-in modes do not cover – a 2D or te...
void SetInteractionMode(int mode)
Interaction mode constants.
double GetKeyLightWarmth()
Light kit parameters (forwarded to the internal vtkLightKit).
void Render() override
Override to auto-reset camera on first render.
bool GetGradientBackground()
Set/Get the background color of the renderer.
void SetBackground(double r, double g, double b)
Set/Get the background color of the renderer.
void SetOrientationAxesVisibility(bool val)
Show or hide the orientation axes marker in the lower-left corner of the render window.
void RemoveLight(vtkLight *light)
Add or remove individual lights from the renderer.
bool GetOrientationAxesVisibility()
Show or hide the orientation axes marker in the lower-left corner of the render window.
vtkMTimeType GetMTime() override
The view stores its configuration on the renderer, render window, light kit and orientation marker wi...
double GetKeyToHeadRatio()
Light kit parameters (forwarded to the internal vtkLightKit).
void SetFillLightAngle(double elevation, double azimuth)
Light kit parameters (forwarded to the internal vtkLightKit).
double * GetBackLightAngle()
Light kit parameters (forwarded to the internal vtkLightKit).
double GetKeyToFillRatio()
Light kit parameters (forwarded to the internal vtkLightKit).
void SetKeyToBackRatio(double val)
Light kit parameters (forwarded to the internal vtkLightKit).
void RemoveAllLights()
Add or remove individual lights from the renderer.
vtkOrientationMarkerWidget * GetOrientationMarkerWidget()
Provide access to the orientation marker widget for advanced usage.
void SetKeyToHeadRatio(double val)
Light kit parameters (forwarded to the internal vtkLightKit).
int GetInteractionMode()
Interaction mode constants.
void SetSelectionModeToFrustum()
Selection mode constants.
double * GetBackground2()
Set/Get the background color of the renderer.
double GetBackLightWarmth()
Light kit parameters (forwarded to the internal vtkLightKit).
void SetSelectionModeToSurface()
Selection mode constants.
double * GetBackground()
Set/Get the background color of the renderer.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
double GetHeadLightWarmth()
Light kit parameters (forwarded to the internal vtkLightKit).
void SelectPoints()
Field association for selection.
void SetMaintainLuminance(bool val)
Light kit parameters (forwarded to the internal vtkLightKit).
int GetSelectionFieldAssociation()
Field association for selection.
void SetUseLightKit(bool val)
Enable or disable the light kit.
void SetOrientationAxesInteractive(bool val)
Set whether the orientation axes marker can be interactively moved and resized by the user.
vtkLightKit * GetLightKit()
Provide access to the internal light kit for advanced usage.
void AddLight(vtkLight *light)
Add or remove individual lights from the renderer.
double * GetFillLightAngle()
Light kit parameters (forwarded to the internal vtkLightKit).
@ INTERACTION_MODE_SELECTION
@ INTERACTION_MODE_CUSTOM
void SetInteractorStyle(vtkInteractorObserver *style)
Install an interactor style of your own, for interaction the built-in modes do not cover – a 2D or te...
void SetSelectionMode(int mode)
Selection mode constants.
bool GetUseLightKit()
Enable or disable the light kit.
void SelectRegion(int x0, int y0, int x1, int y1, bool extend=false)
Select the screen-space region bounded by the two corner points, exactly as an interactive rubber-ban...
void SetBackLightAngle(double elevation, double azimuth)
Light kit parameters (forwarded to the internal vtkLightKit).
void SetBackLightWarmth(double val)
Light kit parameters (forwarded to the internal vtkLightKit).
void ClearSelection()
Clear the current selection on all representations.
double * GetKeyLightAngle()
Light kit parameters (forwarded to the internal vtkLightKit).
void SetKeyToFillRatio(double val)
Light kit parameters (forwarded to the internal vtkLightKit).
static vtkStandardRenderView * New()
double GetFillLightWarmth()
Light kit parameters (forwarded to the internal vtkLightKit).
void SetInteractionModeTo3D()
Interaction mode constants.
bool GetMaintainLuminance()
Light kit parameters (forwarded to the internal vtkLightKit).
void SetWindowTitle(const char *title)
Set/Get the render window size and title.
int GetSelectionMode()
Selection mode constants.
vtkSelection * GetCurrentSelection()
Get the current selection.
void SetBackground2(double r, double g, double b)
Set/Get the background color of the renderer.
void Start()
Start the interactor event loop.
bool GetOrientationAxesInteractive()
Set whether the orientation axes marker can be interactively moved and resized by the user.
double GetKeyLightIntensity()
Light kit parameters (forwarded to the internal vtkLightKit).
void SetInteractionModeToSelection()
Interaction mode constants.
void SetGradientBackground(bool val)
Set/Get the background color of the renderer.
void SetFillLightWarmth(double val)
Light kit parameters (forwarded to the internal vtkLightKit).
void SetKeyLightIntensity(double val)
Light kit parameters (forwarded to the internal vtkLightKit).
void SetWindowSize(int w, int h)
Set/Get the render window size and title.
double GetKeyToBackRatio()
Light kit parameters (forwarded to the internal vtkLightKit).
int * GetWindowSize()
Set/Get the render window size and title.
void SelectCells()
Field association for selection.
void SetKeyLightAngle(double elevation, double azimuth)
Light kit parameters (forwarded to the internal vtkLightKit).
void SetKeyLightWarmth(double val)
Light kit parameters (forwarded to the internal vtkLightKit).
~vtkStandardRenderView() override
const char * GetWindowTitle()
Set/Get the render window size and title.
void SetSelectionFieldAssociation(int assoc)
Field association for selection.
void SetHeadLightWarmth(double val)
Light kit parameters (forwarded to the internal vtkLightKit).
vtkTypeUInt32 vtkMTimeType
#define VTK_SIZEHINT(...)
#define VTK_MARSHAL_EXCLUDE_REASON_NOT_SUPPORTED
#define VTK_MARSHALEXCLUDE(reason)