40 #ifndef vtkLineRepresentation_h 41 #define vtkLineRepresentation_h 76 void GetPoint1WorldPosition(
double pos[3]);
77 double* GetPoint1WorldPosition();
78 void GetPoint1DisplayPosition(
double pos[3]);
79 double* GetPoint1DisplayPosition();
80 void SetPoint1WorldPosition(
double pos[3]);
81 void SetPoint1DisplayPosition(
double pos[3]);
82 void GetPoint2DisplayPosition(
double pos[3]);
83 double* GetPoint2DisplayPosition();
84 void GetPoint2WorldPosition(
double pos[3]);
85 double* GetPoint2WorldPosition();
86 void SetPoint2WorldPosition(
double pos[3]);
87 void SetPoint2DisplayPosition(
double pos[3]);
100 void InstantiateHandleRepresentation();
143 void SetResolution(
int res);
192 virtual void SetRepresentationState(
int);
226 this->SetDistanceAnnotationScale(scale);
228 virtual void SetDistanceAnnotationScale(
double scale[3] );
229 virtual double * GetDistanceAnnotationScale();
233 double GetDistance();
238 void SetLineColor(
double r,
double g,
double b);
241 virtual vtkProperty *GetDistanceAnnotationProperty();
279 void CreateDefaultProperties();
286 void ClampPosition(
double x[3]);
287 void HighlightPoint(
int ptId,
int highlight);
288 void HighlightLine(
int highlight);
289 int InBounds(
double x[3]);
295 double StartLineHandle[3];
297 double LastEventPosition[3];
int DistanceAnnotationVisibility
GLboolean GLboolean GLboolean b
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
vtkPointHandleRepresentation3D * Point2Representation
GLenum GLenum GLenum GLenum GLenum scale
#define vtkGetMacro(name, type)
vtkPolyDataMapper ** HandleMapper
void SetDistanceAnnotationScale(double x, double y, double z)
vtkProperty * SelectedEndPoint2Property
vtkProperty * SelectedEndPointProperty
abstract specification for renderers
vtkProperty * LineProperty
#define vtkSetClampMacro(name, type, min, max)
concrete dataset represents vertices, lines, polygons, and triangle strips
#define vtkSetStringMacro(name)
vtkPolyDataMapper * TextMapper
GLdouble GLdouble GLdouble r
GLint GLint GLint GLint GLint GLint y
#define vtkTypeMacro(thisClass, superclass)
vtkCellPicker * LinePicker
vtkPointHandleRepresentation3D * Point1Representation
window superclass for vtkRenderWindow
GLint GLint GLint GLint GLint x
vtkPointHandleRepresentation3D * HandleRepresentation
create a polygonal sphere centered at the origin
Superclass for algorithms that produce only polydata as output.
vtkLineSource * LineSource
virtual unsigned long GetMTime()
vtkProperty * EndPointProperty
bool AnnotationTextScaleInitialized
a simple class to control print indentation
vtkVectorText * TextInput
vtkPolyDataMapper * LineMapper
#define vtkGetStringMacro(name)
#define vtkGetObjectMacro(name, type)
int InitializedDisplayPosition
char * DistanceAnnotationFormat
create a line defined by two end points
map vtkPolyData to graphics primitives
a subclass of actor that always faces the camera
vtkSphereSource ** HandleGeometry
ray-cast cell picker for all kinds of Prop3Ds
#define vtkBooleanMacro(name, type)
vtkProperty * SelectedLineProperty
vtkProperty * EndPoint2Property
vtkPointHandleRepresentation3D * LineHandleRepresentation
implicit function for a bounding box
a class defining the representation for a vtkLineWidget2
#define vtkSetMacro(name, type)