 |
VTK
9.0.1
|
Go to the documentation of this file.
28 #ifndef vtkLightRepresentation_h
29 #define vtkLightRepresentation_h
31 #include "vtkInteractionWidgetsModule.h"
56 vtkSetMacro(Positional,
bool);
57 vtkGetMacro(Positional,
bool);
58 vtkBooleanMacro(Positional,
bool);
65 void SetLightPosition(
double pos[3]);
66 vtkGetVector3Macro(LightPosition,
double);
73 void SetFocalPoint(
double pos[3]);
74 vtkGetVector3Macro(FocalPoint,
double);
82 void SetConeAngle(
double angle);
83 vtkGetMacro(ConeAngle,
double);
90 void SetLightColor(
double*
color);
116 vtkSetClampMacro(InteractionState,
int, Outside, ScalingConeAngle);
150 virtual void SizeHandles();
151 virtual void UpdateSources();
152 virtual void ScaleConeAngle(
double* pickPoint,
double* lastPickPoint);
157 double LastScalingDistance2 = -1;
158 double LastEventPosition[3] = { 0, 0, 0 };
178 double LightPosition[3] = { 0, 0, 1 };
179 double FocalPoint[3] = { 0, 0, 0 };
180 double ConeAngle = 30;
181 bool Positional =
false;
map vtkPolyData to graphics primitives
vtkNew< vtkActor > ConeActor
vtkNew< vtkLineSource > Line
vtkNew< vtkCellPicker > SpherePicker
vtkNew< vtkPolyDataMapper > SphereMapper
represent the position of a point in 3D space
vtkNew< vtkCellPicker > ConePicker
static vtkObject * New()
Create an object with Debug turned off, modified time initialized to zero, and reference counting on.
vtkNew< vtkSphereSource > Sphere
vtkNew< vtkPolyDataMapper > ConeMapper
window superclass for vtkRenderWindow
#define VTK_SIZEHINT(...)
vtkNew< vtkConeSource > Cone
vtkNew< vtkBox > BoundingBox
create a polygonal sphere centered at the origin
@ MovingPositionalFocalPoint
represents an object (geometry & properties) in a rendered scene
a simple class to control print indentation
vtkNew< vtkCellPicker > LinePicker
vtkNew< vtkActor > SphereActor
vtkCellPicker * LastPicker
create a line defined by two end points
vtkNew< vtkActor > LineActor
abstract specification for Viewports
vtkNew< vtkProperty > Property
vtkNew< vtkPolyDataMapper > LineMapper
implicit function for a bounding box
represent surface properties of a geometric object
ray-cast cell picker for all kinds of Prop3Ds