Slicer
5.0
Slicer is a multi-platform, free and open source software package for visualization and medical image computing
|
#include <Modules/Loadable/Annotations/VTKWidgets/vtkAnnotationROIRepresentation2D.h>
Public Types | |
typedef vtkAnnotationROIRepresentation | Superclass |
Standard methods for the class. More... | |
Public Types inherited from vtkAnnotationROIRepresentation | |
enum | { Outside =0, MoveF0, MoveF1, MoveF2, MoveF3, MoveF4, MoveF5, Translating, Rotating, Scaling } |
typedef vtkWidgetRepresentation | Superclass |
Standard methods for the class. More... | |
Public Member Functions | |
int | ComputeInteractionState (int X, int Y, int modify=0) override |
void | GetActors2D (vtkPropCollection *actors) override |
virtual const char * | GetClassName () |
virtual double | GetHandleSize () |
virtual int | GetHandlesVisibility () |
void | GetIntersectionActors (vtkPropCollection *actors) |
virtual vtkPlane * | GetIntersectionPlane () |
Get the intersecting plane; More... | |
virtual vtkTransform * | GetIntersectionPlaneTransform () |
Get Intersection transform to 2D coordinate system. More... | |
virtual int | GetSliceIntersectionVisibility () |
int | HasTranslucentPolygonalGeometry () override |
void | HighlightFace (int cellId) override |
int | HighlightHandle (vtkProp *prop) override |
virtual int | IsA (const char *type) |
void | PrintIntersections (ostream &os) |
void | PrintSelf (ostream &os, vtkIndent indent) override |
void | ReleaseGraphicsResources (vtkWindow *) override |
Methods supporting, and required by, the rendering process. More... | |
int | RenderOpaqueGeometry (vtkViewport *) override |
int | RenderOverlay (vtkViewport *viewport) override |
int | RenderTranslucentPolygonalGeometry (vtkViewport *) override |
virtual void | SetHandleSize (double) |
virtual void | SetHandlesVisibility (int) |
void | SetInteractionState (int state) override |
virtual void | SetSliceIntersectionVisibility (int) |
void | SizeHandles () override |
void | StartWidgetInteraction (double e[2]) override |
void | WidgetInteraction (double e[2]) override |
Public Member Functions inherited from vtkAnnotationROIRepresentation | |
void | BuildRepresentation () override |
int | ComputeInteractionState (int X, int Y, int modify=0) override |
void | GetActors (vtkPropCollection *actors) override |
double * | GetBounds () override |
void | GetCenter (double center[]) |
get the center of the box More... | |
void | GetExtents (double bounds[]) |
get 3 extents along sides of the box More... | |
virtual vtkProperty * | GetFaceProperty () |
virtual int | GetInsideOut () |
virtual int | GetOutlineCursorWires () |
virtual int | GetOutlineFaceWires () |
virtual vtkProperty * | GetOutlineProperty () |
void | GetPlanes (vtkPlanes *planes) |
void | GetPolyData (vtkPolyData *pd) |
virtual vtkProperty * | GetSelectedFaceProperty () |
virtual vtkProperty * | GetSelectedHandleProperty () |
virtual vtkProperty * | GetSelectedOutlineProperty () |
virtual void | GetTransform (vtkTransform *t) |
virtual vtkMatrix4x4 * | GetWorldToLocalMatrix () |
void | HandlesOff () |
void | HandlesOn () |
int | HasTranslucentPolygonalGeometry () override |
virtual void | InsideOutOff () |
virtual void | InsideOutOn () |
void | OutlineCursorWiresOff () |
void | OutlineCursorWiresOn () |
void | OutlineFaceWiresOff () |
void | OutlineFaceWiresOn () |
void | PlaceWidget (double bounds[6]) override |
These are methods that satisfy vtkWidgetRepresentation's API. More... | |
void | PrintSelf (ostream &os, vtkIndent indent) override |
void | ReleaseGraphicsResources (vtkWindow *) override |
Methods supporting, and required by, the rendering process. More... | |
int | RenderOpaqueGeometry (vtkViewport *) override |
int | RenderTranslucentPolygonalGeometry (vtkViewport *) override |
virtual void | SetInsideOut (int) |
void | SetOutlineCursorWires (int) |
void | SetOutlineFaceWires (int) |
virtual void | SetTransform (vtkTransform *t) |
void | SetWorldToLocalMatrix (vtkMatrix4x4 *worldToLocalMatrix) |
Get/Set optional world to local coordinate system transformation. More... | |
void | StartWidgetInteraction (double e[2]) override |
void | WidgetInteraction (double e[2]) override |
Static Public Member Functions | |
static int | IsTypeOf (const char *type) |
static vtkAnnotationROIRepresentation2D * | New () |
Instantiate the class. More... | |
static vtkAnnotationROIRepresentation2D * | SafeDownCast (vtkObject *o) |
Static Public Member Functions inherited from vtkAnnotationROIRepresentation | |
static int | IsTypeOf (const char *type) |
static vtkAnnotationROIRepresentation * | New () |
Instantiate the class. More... | |
static vtkAnnotationROIRepresentation * | SafeDownCast (vtkObject *o) |
Protected Member Functions | |
double | ComputeHandleRadiusInWorldCoordinates (double radInPixels) |
virtual void | ComputeIntersectionLine (vtkPolyData *inputIntersectionFace, vtkPlane *inputPlane, vtkPolyData *outputIntersectionFacesIntersection) |
void | CreateDefaultProperties () override |
void | CreateFaceIntersections () |
void | PositionHandles () override |
vtkAnnotationROIRepresentation2D () | |
~vtkAnnotationROIRepresentation2D () override | |
Protected Member Functions inherited from vtkAnnotationROIRepresentation | |
void | ComputeNormals () |
void | GenerateOutline () |
void | GetDirection (const double Nx[3], const double Ny[3], const double Nz[3], double dir[3]) |
void | HighlightOutline (int highlight) |
void | MoveFace (double *p1, double *p2, double *dir, double *x1, double *x2, double *x3, double *x4, double *x5) |
void | MoveMinusXFace (double *p1, double *p2) |
void | MoveMinusYFace (double *p1, double *p2) |
void | MoveMinusZFace (double *p1, double *p2) |
void | MovePlusXFace (double *p1, double *p2) |
void | MovePlusYFace (double *p1, double *p2) |
void | MovePlusZFace (double *p1, double *p2) |
virtual void | Rotate (int X, int Y, double *p1, double *p2, double *vpn) |
virtual void | Scale (double *p1, double *p2, int X, int Y) |
virtual void | Translate (double *p1, double *p2) |
Helper methods. More... | |
vtkAnnotationROIRepresentation () | |
~vtkAnnotationROIRepresentation () override | |
Protected Attributes | |
vtkActor2D * | CurrentHandle2D |
vtkProperty2D * | DefaultFaceProperty2D |
vtkActor2D ** | Handle2D |
glyphs representing hot spots (e.g., handles) More... | |
vtkPolyDataMapper2D ** | HandleMapper2D |
vtkPropPicker * | HandlePicker2D |
vtkProperty2D * | HandleProperties2D [NUMBER_HANDLES] |
double | HandleSize |
int | HandlesVisibility |
vtkTransformPolyDataFilter ** | HandleToPlaneTransformFilters |
vtkActor2D * | IntersectionActors [6] |
vtkPolyData * | IntersectionFaces [6] |
vtkPolyData * | IntersectionLines [6] |
vtkPolyDataMapper2D * | IntersectionMappers [6] |
vtkPlane * | IntersectionPlane |
Plane/Face intersection pipelines. More... | |
vtkTransform * | IntersectionPlaneTransform |
vtkTransformPolyDataFilter * | IntersectionPlaneTransformFilters [6] |
double | LastEventPosition2D [4] |
vtkPropPicker * | LastPicker2D |
vtkProperty2D * | SelectedFaceProperty2D |
vtkProperty2D * | SelectedHandleProperty2D |
int | SliceIntersectionVisibility |
Protected Attributes inherited from vtkAnnotationROIRepresentation | |
vtkBox * | BoundingBox |
Support GetBounds() method. More... | |
vtkActor * | CurrentHandle |
int | CurrentHexFace |
vtkProperty * | FaceProperty |
vtkActor ** | Handle |
glyphs representing hot spots (e.g., handles) More... | |
vtkSphereSource ** | HandleGeometry |
vtkPolyDataMapper ** | HandleMapper |
vtkCellPicker * | HandlePicker |
Do the picking. More... | |
vtkProperty * | HandleProperties [NUMBER_HANDLES] |
vtkActor * | HexActor |
the hexahedron (6 faces) More... | |
vtkActor * | HexFace |
A face of the hexahedron. More... | |
vtkPolyDataMapper * | HexFaceMapper |
vtkPolyData * | HexFacePolyData |
vtkPolyDataMapper * | HexMapper |
vtkActor * | HexOutline |
wireframe outline More... | |
vtkPolyData * | HexPolyData |
int | InsideOut |
Control the orientation of the normals. More... | |
double | LastEventPosition [4] |
Manage how the representation appears. More... | |
vtkCellPicker * | LastPicker |
vtkMatrix4x4 * | Matrix |
double | N [6][3] |
int | OutlineCursorWires |
int | OutlineFaceWires |
vtkPolyDataMapper * | OutlineMapper |
vtkPolyData * | OutlinePolyData |
vtkProperty * | OutlineProperty |
vtkDoubleArray * | PlaneNormals |
vtkPoints * | PlanePoints |
Internal ivars for performance. More... | |
vtkPoints * | Points |
vtkProperty * | SelectedFaceProperty |
vtkProperty * | SelectedHandleProperty |
vtkProperty * | SelectedOutlineProperty |
vtkTransform * | Transform |
Transform the hexahedral points (used for rotations) More... | |
vtkMatrix4x4 * | WorldToLocalMatrix |
Additional Inherited Members | |
Static Public Attributes inherited from vtkAnnotationROIRepresentation | |
static const int | NUMBER_HANDLES = 7 |
Definition at line 61 of file vtkAnnotationROIRepresentation2D.h.
Standard methods for the class.
Definition at line 72 of file vtkAnnotationROIRepresentation2D.h.
|
protected |
|
overrideprotected |
|
protected |
|
override |
|
protectedvirtual |
|
overrideprotectedvirtual |
Reimplemented from vtkAnnotationROIRepresentation.
|
protected |
|
override |
|
virtual |
Reimplemented from vtkAnnotationROIRepresentation.
|
virtual |
|
virtual |
void vtkAnnotationROIRepresentation2D::GetIntersectionActors | ( | vtkPropCollection * | actors | ) |
|
virtual |
Get the intersecting plane;
|
virtual |
Get Intersection transform to 2D coordinate system.
|
virtual |
|
override |
|
overridevirtual |
Reimplemented from vtkAnnotationROIRepresentation.
|
overridevirtual |
Reimplemented from vtkAnnotationROIRepresentation.
|
virtual |
Reimplemented from vtkAnnotationROIRepresentation.
|
static |
|
static |
Instantiate the class.
|
overrideprotectedvirtual |
Reimplemented from vtkAnnotationROIRepresentation.
void vtkAnnotationROIRepresentation2D::PrintIntersections | ( | ostream & | os | ) |
|
override |
|
override |
Methods supporting, and required by, the rendering process.
|
override |
|
override |
|
override |
|
static |
|
virtual |
Set/Get the handle diameter as a fraction of the window diagonal. Valid range is between 0.0001 and 0.5.
|
virtual |
|
overridevirtual |
The interaction state may be set from a widget (e.g., vtkSlicerBoxWidget2) or other object. This controls how the interaction with the widget proceeds. Normally this method is used as part of a handshaking process with the widget: First ComputeInteractionState() is invoked that returns a state based on geometric considerations (i.e., cursor near a widget feature), then based on events, the widget may modify this further.
Reimplemented from vtkAnnotationROIRepresentation.
|
virtual |
|
overridevirtual |
Reimplemented from vtkAnnotationROIRepresentation.
|
override |
|
override |
|
protected |
Definition at line 148 of file vtkAnnotationROIRepresentation2D.h.
|
protected |
Definition at line 144 of file vtkAnnotationROIRepresentation2D.h.
|
protected |
glyphs representing hot spots (e.g., handles)
Definition at line 128 of file vtkAnnotationROIRepresentation2D.h.
|
protected |
Definition at line 129 of file vtkAnnotationROIRepresentation2D.h.
|
protected |
Definition at line 146 of file vtkAnnotationROIRepresentation2D.h.
|
protected |
Definition at line 141 of file vtkAnnotationROIRepresentation2D.h.
|
protected |
Definition at line 161 of file vtkAnnotationROIRepresentation2D.h.
|
protected |
Definition at line 162 of file vtkAnnotationROIRepresentation2D.h.
|
protected |
Definition at line 130 of file vtkAnnotationROIRepresentation2D.h.
|
protected |
Definition at line 138 of file vtkAnnotationROIRepresentation2D.h.
|
protected |
Definition at line 136 of file vtkAnnotationROIRepresentation2D.h.
|
protected |
Definition at line 135 of file vtkAnnotationROIRepresentation2D.h.
|
protected |
Definition at line 139 of file vtkAnnotationROIRepresentation2D.h.
|
protected |
Plane/Face intersection pipelines.
Definition at line 133 of file vtkAnnotationROIRepresentation2D.h.
|
protected |
Definition at line 134 of file vtkAnnotationROIRepresentation2D.h.
|
protected |
Definition at line 137 of file vtkAnnotationROIRepresentation2D.h.
|
protected |
Definition at line 150 of file vtkAnnotationROIRepresentation2D.h.
|
protected |
Definition at line 147 of file vtkAnnotationROIRepresentation2D.h.
|
protected |
Definition at line 143 of file vtkAnnotationROIRepresentation2D.h.
|
protected |
Definition at line 142 of file vtkAnnotationROIRepresentation2D.h.
|
protected |
Definition at line 159 of file vtkAnnotationROIRepresentation2D.h.