42#ifndef vtkSlicerInteractionRepresentation_h
43#define vtkSlicerInteractionRepresentation_h
46#include "vtkMRMLDisplayableManagerExport.h"
54#include <vtkFloatArray.h>
55#include <vtkGlyph3DMapper.h>
56#include <vtkIntArray.h>
58#include <vtkPointPlacer.h>
59#include <vtkProperty.h>
60#include <vtkSmartPointer.h>
61#include <vtkTransform.h>
62#include <vtkUnsignedCharArray.h>
63#include <vtkWeakPointer.h>
73struct SharedHandleRenderer;
81 void PrintSelf(ostream& os, vtkIndent indent)
override;
235 vtkSmartPointer<vtkGlyph3DMapper>
Mapper;
245 HandleInfo(
int index,
int componentType,
double positionWorld[3],
double positionLocal[3],
double color[4],
int glyphType,
bool applyScaleToPosition)
251 for (
int i = 0; i < 3; ++i)
256 for (
int i = 0; i < 3; ++i)
261 for (
int i = 0; i < 4; ++i)
263 this->
Color[i] = color[i];
275 double epsilon = 0.001;
276 return this->Color[3] > epsilon;
316 int& foundComponentType,
317 int& foundComponentIndex,
318 double& closestDistance2,
321 int& foundComponentType,
322 int& foundComponentIndex,
323 double& closestDistance2,
326 int& foundComponentType,
327 int& foundComponentIndex,
328 double& closestDistance2,
410 vtkSmartPointer<vtkFloatArray>& orientationArray,
411 vtkSmartPointer<vtkFloatArray>& scaleArray,
412 vtkSmartPointer<vtkIntArray>& sourceIndexArray,
413 vtkSmartPointer<vtkUnsignedCharArray>& colorArray,
414 vtkSmartPointer<vtkGlyph3DMapper>& mapper,
415 vtkSmartPointer<vtkProperty>& property,
416 vtkSmartPointer<vtkActor>& actor);
Abstract class that contains graphical display properties for displayable nodes.
Abstract Superclass for all specific types of MRML nodes.
MRML node for storing a slice through RAS space.