Slicer 5.13
Slicer is a multi-platform, free and open source software package for visualization and medical image computing
Loading...
Searching...
No Matches
vtkMRMLInteractionWidgetRepresentation::RenderState Struct Reference

#include <Libs/MRML/DisplayableManager/vtkMRMLInteractionWidgetRepresentation.h>

Public Member Functions

bool operator!= (const RenderState &other) const
 
bool operator== (const RenderState &other) const
 

Public Attributes

int ActiveComponentIndex { -1 }
 
int ActiveComponentType { -1 }
 
double CameraDirectionOfProjection [3] { 0.0, 0.0, 0.0 }
 
bool CameraParallelProjection { false }
 
double CameraParallelScale { 0.0 }
 
double CameraPosition [3] { 0.0, 0.0, 0.0 }
 
double CameraViewAngle { 0.0 }
 
double CameraViewUp [3] { 0.0, 0.0, 0.0 }
 
int RendererSize [2] { 0, 0 }
 
vtkMTimeType RepresentationMTime { 0 }
 
int ScreenSize [2] { 0, 0 }
 
vtkMTimeType SliceXYToRASMTime { 0 }
 

Detailed Description

State that the handle instance arrays were last built for. Rebuilding the arrays is relatively expensive, so it is only done when this state changes. The camera state is compared by value rather than by MTime, because the camera is modified on every render by clipping range updates, which do not affect the appearance of the handles. Clipping range is intentionally excluded: the clamp in UpdateViewScaleFactor only changes the result when the handle is behind/inside the near plane (not visible), and the camera pose change that causes that already reopens the gate.

Definition at line 361 of file vtkMRMLInteractionWidgetRepresentation.h.

Member Function Documentation

◆ operator!=()

bool vtkMRMLInteractionWidgetRepresentation::RenderState::operator!= ( const RenderState & other) const
inline

Definition at line 377 of file vtkMRMLInteractionWidgetRepresentation.h.

◆ operator==()

bool vtkMRMLInteractionWidgetRepresentation::RenderState::operator== ( const RenderState & other) const

Member Data Documentation

◆ ActiveComponentIndex

int vtkMRMLInteractionWidgetRepresentation::RenderState::ActiveComponentIndex { -1 }

Definition at line 374 of file vtkMRMLInteractionWidgetRepresentation.h.

◆ ActiveComponentType

int vtkMRMLInteractionWidgetRepresentation::RenderState::ActiveComponentType { -1 }

Definition at line 373 of file vtkMRMLInteractionWidgetRepresentation.h.

◆ CameraDirectionOfProjection

double vtkMRMLInteractionWidgetRepresentation::RenderState::CameraDirectionOfProjection[3] { 0.0, 0.0, 0.0 }

Definition at line 366 of file vtkMRMLInteractionWidgetRepresentation.h.

◆ CameraParallelProjection

bool vtkMRMLInteractionWidgetRepresentation::RenderState::CameraParallelProjection { false }

Definition at line 370 of file vtkMRMLInteractionWidgetRepresentation.h.

◆ CameraParallelScale

double vtkMRMLInteractionWidgetRepresentation::RenderState::CameraParallelScale { 0.0 }

Definition at line 368 of file vtkMRMLInteractionWidgetRepresentation.h.

◆ CameraPosition

double vtkMRMLInteractionWidgetRepresentation::RenderState::CameraPosition[3] { 0.0, 0.0, 0.0 }

Definition at line 365 of file vtkMRMLInteractionWidgetRepresentation.h.

◆ CameraViewAngle

double vtkMRMLInteractionWidgetRepresentation::RenderState::CameraViewAngle { 0.0 }

Definition at line 369 of file vtkMRMLInteractionWidgetRepresentation.h.

◆ CameraViewUp

double vtkMRMLInteractionWidgetRepresentation::RenderState::CameraViewUp[3] { 0.0, 0.0, 0.0 }

Definition at line 367 of file vtkMRMLInteractionWidgetRepresentation.h.

◆ RendererSize

int vtkMRMLInteractionWidgetRepresentation::RenderState::RendererSize[2] { 0, 0 }

Definition at line 371 of file vtkMRMLInteractionWidgetRepresentation.h.

◆ RepresentationMTime

vtkMTimeType vtkMRMLInteractionWidgetRepresentation::RenderState::RepresentationMTime { 0 }

Definition at line 363 of file vtkMRMLInteractionWidgetRepresentation.h.

◆ ScreenSize

int vtkMRMLInteractionWidgetRepresentation::RenderState::ScreenSize[2] { 0, 0 }

Definition at line 372 of file vtkMRMLInteractionWidgetRepresentation.h.

◆ SliceXYToRASMTime

vtkMTimeType vtkMRMLInteractionWidgetRepresentation::RenderState::SliceXYToRASMTime { 0 }

Definition at line 364 of file vtkMRMLInteractionWidgetRepresentation.h.


The documentation for this struct was generated from the following file: