Go to the documentation of this file.
40 #ifndef vtkLineRepresentation_h
41 #define vtkLineRepresentation_h
226 this->SetDistanceAnnotationScale(
scale);
295 double StartLineHandle[3];
297 double LastEventPosition[3];
map vtkPolyData to graphics primitives
vtkPointHandleRepresentation3D * HandleRepresentation
vtkPointHandleRepresentation3D * Point2Representation
void SetPoint2DisplayPosition(double pos[3])
vtkPolyDataMapper ** HandleMapper
vtkProperty * EndPoint2Property
a subclass of actor that always faces the camera
#define vtkGetObjectMacro(name, type)
virtual double * GetDistanceAnnotationScale()
virtual int HasTranslucentPolygonalGeometry()
GLboolean GLboolean GLboolean b
void SetHandleRepresentation(vtkPointHandleRepresentation3D *handle)
void SetDistanceAnnotationScale(double x, double y, double z)
vtkPointHandleRepresentation3D * LineHandleRepresentation
void HighlightLine(int highlight)
virtual void ReleaseGraphicsResources(vtkWindow *)
represent the position of a point in 3D space
virtual void BuildRepresentation()
GLenum GLenum GLenum GLenum GLenum scale
virtual int RenderTranslucentPolygonalGeometry(vtkViewport *)
virtual void PlaceWidget(double bounds[6])
#define vtkTypeMacro(thisClass, superclass)
void SetResolution(int res)
virtual void SetRepresentationState(int)
GLint GLint GLint GLint GLint x
void InstantiateHandleRepresentation()
void CreateDefaultProperties()
bool AnnotationTextScaleInitialized
virtual vtkProperty * GetDistanceAnnotationProperty()
virtual void SetRenderer(vtkRenderer *ren)
virtual void GetActors(vtkPropCollection *pc)
double * GetPoint1WorldPosition()
virtual double * GetBounds()
double * GetPoint1DisplayPosition()
void SetLineColor(double r, double g, double b)
vtkVectorText * TextInput
int DistanceAnnotationVisibility
window superclass for vtkRenderWindow
double * GetPoint2DisplayPosition()
void PrintSelf(ostream &os, vtkIndent indent)
virtual int RenderOpaqueGeometry(vtkViewport *)
#define vtkSetClampMacro(name, type, min, max)
vtkProperty * SelectedLineProperty
char * DistanceAnnotationFormat
virtual void WidgetInteraction(double e[2])
double * GetPoint2WorldPosition()
virtual unsigned long GetMTime()
create a polygonal sphere centered at the origin
void GetPoint2DisplayPosition(double pos[3])
vtkProperty * LineProperty
vtkCellPicker * LinePicker
vtkProperty * EndPointProperty
represents an object (geometry & properties) in a rendered scene
a simple class to control print indentation
#define vtkSetStringMacro(name)
void GetPolyData(vtkPolyData *pd)
vtkPointHandleRepresentation3D * Point1Representation
void GetPoint2WorldPosition(double pos[3])
#define vtkGetMacro(name, type)
vtkGetStringMacro(ExtensionsString)
create a line defined by two end points
void HighlightPoint(int ptId, int highlight)
abstract specification for Viewports
vtkBooleanMacro(IgnoreDriverBugs, bool)
vtkSetMacro(IgnoreDriverBugs, bool)
virtual void StartWidgetInteraction(double e[2])
vtkPolyDataMapper * TextMapper
GLdouble GLdouble GLdouble r
implicit function for a bounding box
void SetPoint1WorldPosition(double pos[3])
GLint GLint GLint GLint GLint GLint y
static vtkLineRepresentation * New()
void ClampPosition(double x[3])
abstract specification for renderers
virtual void SetDistanceAnnotationScale(double scale[3])
concrete dataset represents vertices, lines, polygons, and triangle strips
vtkLineSource * LineSource
represent surface properties of a geometric object
void GetPoint1WorldPosition(double pos[3])
virtual int ComputeInteractionState(int X, int Y, int modify=0)
void SetPoint1DisplayPosition(double pos[3])
int InBounds(double x[3])
vtkProperty * SelectedEndPoint2Property
void SetPoint2WorldPosition(double pos[3])
ray-cast cell picker for all kinds of Prop3Ds
vtkProperty * SelectedEndPointProperty
a class defining the representation for a vtkLineWidget2
void GetPoint1DisplayPosition(double pos[3])
int InitializedDisplayPosition
vtkPolyDataMapper * LineMapper
vtkSphereSource ** HandleGeometry
Superclass for algorithms that produce only polydata as output.