19 #ifndef vtkLightRepresentation_h
20 #define vtkLightRepresentation_h
22 #include "vtkInteractionWidgetsModule.h"
26 VTK_ABI_NAMESPACE_BEGIN
48 vtkSetMacro(Positional,
bool);
49 vtkGetMacro(Positional,
bool);
50 vtkBooleanMacro(Positional,
bool);
57 void SetLightPosition(
double pos[3]);
58 vtkGetVector3Macro(LightPosition,
double);
65 void SetFocalPoint(
double pos[3]);
66 vtkGetVector3Macro(FocalPoint,
double);
74 void SetConeAngle(
double angle);
75 vtkGetMacro(ConeAngle,
double);
82 void SetLightColor(
double*
color);
108 vtkSetClampMacro(InteractionState,
int, Outside, ScalingConeAngle);
142 virtual void SizeHandles();
143 virtual void UpdateSources();
144 virtual void ScaleConeAngle(
double* pickPoint,
double* lastPickPoint);
149 double LastScalingDistance2 = -1;
150 double LastEventPosition[3] = { 0, 0, 0 };
170 double LightPosition[3] = { 0, 0, 1 };
171 double FocalPoint[3] = { 0, 0, 0 };
172 double ConeAngle = 30;
173 bool Positional =
false;
180 VTK_ABI_NAMESPACE_END
vtkNew< vtkProperty > Property
vtkNew< vtkPolyDataMapper > ConeMapper
represents an object (geometry & properties) in a rendered scene
represent the position of a point in 3D space
abstract specification for Viewports
represent surface properties of a geometric object
vtkNew< vtkConeSource > Cone
vtkNew< vtkBox > BoundingBox
vtkCellPicker * LastPicker
vtkNew< vtkActor > ConeActor
window superclass for vtkRenderWindow
vtkNew< vtkLineSource > Line
create a polygonal sphere centered at the origin
a simple class to control print indentation
#define VTK_SIZEHINT(...)
vtkNew< vtkCellPicker > SpherePicker
create a line defined by two end points
map vtkPolyData to graphics primitives
ray-cast cell picker for all kinds of Prop3Ds
vtkNew< vtkCellPicker > LinePicker
vtkNew< vtkCellPicker > ConePicker
vtkNew< vtkSphereSource > Sphere
vtkNew< vtkPolyDataMapper > SphereMapper
static vtkObject * New()
Create an object with Debug turned off, modified time initialized to zero, and reference counting on...
implicit function for a bounding box
vtkNew< vtkPolyDataMapper > LineMapper
vtkNew< vtkActor > SphereActor
vtkNew< vtkActor > LineActor