Slicer
5.3
Slicer is a multi-platform, free and open source software package for visualization and medical image computing
|
represent intersections of other slice views in the current slice view More...
#include <Libs/MRML/DisplayableManager/vtkMRMLSliceIntersectionInteractionRepresentationHelper.h>
Public Member Functions | |
void | ComputeHandleToWorldTransformMatrix (double handlePosition[2], double handleOrientation[2], vtkMatrix4x4 *handleToWorldTransformMatrix) |
void | GetIntersectionWithSliceViewBoundaries (double *pointA, double *pointB, double *sliceViewBounds, double *intersectionPoint) |
Compute intersection between a 2D line and the slice view boundaries. More... | |
int | GetLineTipsFromIntersectingSliceNode (vtkMRMLSliceNode *intersectingSliceNode, vtkMatrix4x4 *intersectingXYToXY, double intersectionLineTip1[3], double intersectionLineTip2[3]) |
void | GetSliceViewBoundariesXY (vtkMRMLSliceNode *sliceNode, double *sliceViewBounds) |
Get boundaries of the slice view associated with a given vtkMRMLSliceNode. More... | |
int | IntersectWithFinitePlane (double n[3], double o[3], double pOrigin[3], double px[3], double py[3], double x0[3], double x1[3]) |
void | RotationMatrixFromVectors (double vector1[2], double vector2[2], vtkMatrix4x4 *rotationMatrixHom) |
Public Member Functions inherited from vtkMRMLAbstractWidgetRepresentation | |
virtual void | AlwaysOnTopOff () |
virtual void | AlwaysOnTopOn () |
virtual bool | GetAlwaysOnTop () |
virtual double | GetPickingTolerance () |
void | PrintSelf (ostream &os, vtkIndent indent) override |
virtual void | SetAlwaysOnTop (bool) |
virtual void | SetPickingTolerance (double) |
virtual void | UpdateFromMRML (vtkMRMLNode *caller, unsigned long event, void *callData=nullptr) |
double * | GetBounds () VTK_SIZEHINT(6) override |
void | GetActors (vtkPropCollection *) override |
void | GetActors2D (vtkPropCollection *) override |
void | GetVolumes (vtkPropCollection *) override |
void | ReleaseGraphicsResources (vtkWindow *) override |
int | RenderOverlay (vtkViewport *vtkNotUsed(viewport)) override |
int | RenderOpaqueGeometry (vtkViewport *vtkNotUsed(viewport)) override |
int | RenderTranslucentPolygonalGeometry (vtkViewport *vtkNotUsed(viewport)) override |
int | RenderVolumetricGeometry (vtkViewport *vtkNotUsed(viewport)) override |
vtkTypeBool | HasTranslucentPolygonalGeometry () override |
virtual void | SetRenderer (vtkRenderer *ren) |
virtual vtkRenderer * | GetRenderer () |
virtual void | SetApplicationLogic (vtkMRMLApplicationLogic *appLogic) |
virtual vtkMRMLApplicationLogic * | GetApplicationLogic () |
virtual void | SetViewNode (vtkMRMLAbstractViewNode *viewNode) |
virtual vtkMRMLAbstractViewNode * | GetViewNode () |
virtual bool | GetNeedToRender () |
virtual void | SetNeedToRender (bool) |
virtual void | NeedToRenderOn () |
virtual void | NeedToRenderOff () |
Static Public Member Functions | |
static vtkMRMLSliceIntersectionInteractionRepresentationHelper * | New () |
Static Public Member Functions inherited from vtkMRMLAbstractWidgetRepresentation | |
static int | IsTypeOf (const char *type) |
static vtkMRMLAbstractWidgetRepresentation * | SafeDownCast (vtkObject *o) |
Protected Member Functions | |
vtkMRMLSliceIntersectionInteractionRepresentationHelper () | |
~vtkMRMLSliceIntersectionInteractionRepresentationHelper () override | |
Protected Member Functions inherited from vtkMRMLAbstractWidgetRepresentation | |
void | AddActorsBounds (vtkBoundingBox &bounds, const std::vector< vtkProp *> &actors, double *additionalBounds=nullptr) |
void | GetRendererComputedDisplayPositionFromWorldPosition (const double worldPos[3], double displayPos[2]) |
virtual void | UpdateRelativeCoincidentTopologyOffsets (vtkMapper *mapper) |
vtkMRMLAbstractWidgetRepresentation () | |
~vtkMRMLAbstractWidgetRepresentation () override | |
typedef vtkMRMLAbstractWidgetRepresentation | Superclass |
static int | IsTypeOf (const char *type) |
static vtkMRMLSliceIntersectionInteractionRepresentationHelper * | SafeDownCast (vtkObject *o) |
virtual const char * | GetClassName () |
virtual int | IsA (const char *type) |
void | PrintSelf (ostream &os, vtkIndent indent) override |
Additional Inherited Members | |
Public Types inherited from vtkMRMLAbstractWidgetRepresentation | |
typedef vtkProp | Superclass |
Standard methods for instances of this class. More... | |
Protected Attributes inherited from vtkMRMLAbstractWidgetRepresentation | |
bool | AlwaysOnTop |
vtkWeakPointer< vtkMRMLApplicationLogic > | ApplicationLogic |
double | Bounds [6] |
Temporary variable to store GetBounds() result. More... | |
bool | NeedToRender |
double | PickingTolerance |
vtkWeakPointer< vtkRenderer > | Renderer |
The renderer in which this widget is placed. More... | |
double | ScreenScaleFactor |
Allows global rescaling of all widgets (to compensate for larger or smaller physical screen size) More... | |
vtkWeakPointer< vtkMRMLAbstractViewNode > | ViewNode |
represent intersections of other slice views in the current slice view
Definition at line 51 of file vtkMRMLSliceIntersectionInteractionRepresentationHelper.h.
typedef vtkMRMLAbstractWidgetRepresentation vtkMRMLSliceIntersectionInteractionRepresentationHelper::Superclass |
Standard methods for instances of this class.
Definition at line 63 of file vtkMRMLSliceIntersectionInteractionRepresentationHelper.h.
|
protected |
|
overrideprotected |
void vtkMRMLSliceIntersectionInteractionRepresentationHelper::ComputeHandleToWorldTransformMatrix | ( | double | handlePosition[2], |
double | handleOrientation[2], | ||
vtkMatrix4x4 * | handleToWorldTransformMatrix | ||
) |
|
virtual |
Reimplemented from vtkMRMLAbstractWidgetRepresentation.
void vtkMRMLSliceIntersectionInteractionRepresentationHelper::GetIntersectionWithSliceViewBoundaries | ( | double * | pointA, |
double * | pointB, | ||
double * | sliceViewBounds, | ||
double * | intersectionPoint | ||
) |
Compute intersection between a 2D line and the slice view boundaries.
int vtkMRMLSliceIntersectionInteractionRepresentationHelper::GetLineTipsFromIntersectingSliceNode | ( | vtkMRMLSliceNode * | intersectingSliceNode, |
vtkMatrix4x4 * | intersectingXYToXY, | ||
double | intersectionLineTip1[3], | ||
double | intersectionLineTip2[3] | ||
) |
void vtkMRMLSliceIntersectionInteractionRepresentationHelper::GetSliceViewBoundariesXY | ( | vtkMRMLSliceNode * | sliceNode, |
double * | sliceViewBounds | ||
) |
Get boundaries of the slice view associated with a given vtkMRMLSliceNode.
int vtkMRMLSliceIntersectionInteractionRepresentationHelper::IntersectWithFinitePlane | ( | double | n[3], |
double | o[3], | ||
double | pOrigin[3], | ||
double | px[3], | ||
double | py[3], | ||
double | x0[3], | ||
double | x1[3] | ||
) |
|
virtual |
Reimplemented from vtkMRMLAbstractWidgetRepresentation.
|
static |
|
static |
Instantiate this class.
|
override |
void vtkMRMLSliceIntersectionInteractionRepresentationHelper::RotationMatrixFromVectors | ( | double | vector1[2], |
double | vector2[2], | ||
vtkMatrix4x4 * | rotationMatrixHom | ||
) |
|
static |