mosaic.styles.MeshEditInteractorStyle#
- class MeshEditInteractorStyle(parent, cdata)[source]#
Bases:
vtkInteractorStyleTrackballCameraMethods
__init__(parent, cdata)cleanup()clear_face_selection()clear_point_selection()create_new_face()delete_selected_faces()handle_face_selection()handle_point_selection()highlight_selected_faces()on_key_press(obj, event)on_left_button_down(obj, event)on_left_button_up(obj, event)on_mouse_move(obj, event)overrideThis method can be used to override a VTK class with a Python subclass.
toggle_add_face_mode()Attributes
AddObserver(self, event, command, priority)C++: unsigned long AddObserver(const char* event,
AutoAdjustCameraClippingRangeOff(self)C++: virtual void AutoAdjustCameraClippingRangeOff()
AutoAdjustCameraClippingRangeOn(self)C++: virtual void AutoAdjustCameraClippingRangeOn()
BreakOnError()C++: static void BreakOnError()
ComputeDisplayToWorld(ren, x, y, z, worldPt, ...)Convenience methods for outside classes.
ComputeWorldToDisplay(ren, x, y, z, ...)DebugOff(self)C++: virtual void DebugOff()
DebugOn(self)C++: virtual void DebugOn()
DelegateTDxEvent(self, event, calldata)C++: void DelegateTDxEvent(unsigned long event, void *calldata)
DollyC++: void Dolly() override;
EnabledOff(self)C++: void EnabledOff()
EnabledOn(self)C++: void EnabledOn()
EndDolly(self)C++: virtual void EndDolly()
EndEnvRotate(self)C++: virtual void EndEnvRotate()
EndGesture(self)C++: virtual void EndGesture()
EndPan(self)C++: virtual void EndPan()
EndRotate(self)C++: virtual void EndRotate()
EndSpin(self)C++: virtual void EndSpin()
EndTimer(self)C++: virtual void EndTimer()
EndTwoPointer(self)C++: virtual void EndTwoPointer()
EndUniformScale(self)C++: virtual void EndUniformScale()
EndZoom(self)C++: virtual void EndZoom()
EnvironmentRotateC++: void EnvironmentRotate() override;
FastDelete(self)C++: virtual void FastDelete()
FindPokedRenderer(self, __a, __b)C++: void FindPokedRenderer(int, int)
GetAddressAsStringGet address of C++ object in format 'Addr=%p' after casting to the specified type.
GetAutoAdjustCameraClippingRange(self)C++: virtual vtkTypeBool GetAutoAdjustCameraClippingRange()
GetAutoAdjustCameraClippingRangeMaxValue(self)C++: virtual vtkTypeBool GetAutoAdjustCameraClippingRangeMaxValue(
GetAutoAdjustCameraClippingRangeMinValue(self)C++: virtual vtkTypeBool GetAutoAdjustCameraClippingRangeMinValue(
GetClassName(self)C++: const char *GetClassName()
GetCommand(self, tag)C++: vtkCommand *GetCommand(unsigned long tag)
GetCurrentRenderer(self)C++: virtual vtkRenderer *GetCurrentRenderer()
GetDebug(self)C++: bool GetDebug()
GetDefaultRenderer(self)C++: virtual vtkRenderer *GetDefaultRenderer()
GetEnabled(self)C++: int GetEnabled()
GetGlobalWarningDisplay()C++: static vtkTypeBool GetGlobalWarningDisplay()
GetHandleObservers(self)C++: virtual vtkTypeBool GetHandleObservers()
GetInteractor(self)C++: virtual vtkRenderWindowInteractor *GetInteractor()
GetIsInMemkind(self)C++: bool GetIsInMemkind()
GetKeyPressActivation(self)C++: virtual vtkTypeBool GetKeyPressActivation()
GetKeyPressActivationValue(self)C++: virtual char GetKeyPressActivationValue()
GetMTime(self)C++: virtual vtkMTimeType GetMTime()
GetMotionFactor(self)C++: virtual double GetMotionFactor()
GetMouseWheelMotionFactor(self)C++: virtual double GetMouseWheelMotionFactor()
GetNumberOfGenerationsFromBaseC++: vtkIdType GetNumberOfGenerationsFromBase(const char *type)
GetNumberOfGenerationsFromBaseType(type)C++: static vtkIdType GetNumberOfGenerationsFromBaseType(
GetObjectDescriptionC++: std::string GetObjectDescription() override;
GetObjectName(self)C++: virtual std::string GetObjectName()
GetPickColor(self)C++: virtual double *GetPickColor()
GetPickingManaged(self)C++: virtual bool GetPickingManaged()
GetPriority(self)C++: virtual float GetPriority()
GetPriorityMaxValue(self)C++: virtual float GetPriorityMaxValue()
GetPriorityMinValue(self)C++: virtual float GetPriorityMinValue()
GetReferenceCount(self)C++: int GetReferenceCount()
GetState(self)C++: virtual int GetState()
GetTDxStyle(self)C++: virtual vtkTDxInteractorStyle *GetTDxStyle()
GetTimerDuration(self)C++: virtual unsigned long GetTimerDuration()
GetTimerDurationMaxValue(self)C++: virtual unsigned long GetTimerDurationMaxValue()
GetTimerDurationMinValue(self)C++: virtual unsigned long GetTimerDurationMinValue()
GetUseTimers(self)C++: virtual vtkTypeBool GetUseTimers()
GetUsingMemkind()C++: static bool GetUsingMemkind()
GlobalWarningDisplayOff()C++: static void GlobalWarningDisplayOff()
GlobalWarningDisplayOn()C++: static void GlobalWarningDisplayOn()
GrabFocus(self, mouseEvents, keypressEvents)These methods enable an interactor observer to exclusively grab all events invoked by its associated vtkRenderWindowInteractor.
HandleObserversOff(self)C++: virtual void HandleObserversOff()
HandleObserversOn(self)C++: virtual void HandleObserversOn()
HasObserver(self, event, __b)C++: vtkTypeBool HasObserver(unsigned long event, vtkCommand *) HasObserver(self, event:str, __b:vtkCommand) -> int C++: vtkTypeBool HasObserver(const char *event, vtkCommand *) HasObserver(self, event:int) -> int C++: vtkTypeBool HasObserver(unsigned long event) HasObserver(self, event:str) -> int C++: vtkTypeBool HasObserver(const char *event)
HighlightActor2D(self, actor2D)C++: virtual void HighlightActor2D(vtkActor2D *actor2D)
HighlightProp(self, prop)C++: virtual void HighlightProp(vtkProp *prop)
HighlightProp3D(self, prop3D)C++: virtual void HighlightProp3D(vtkProp3D *prop3D)
InitializeObjectBase(self)C++: void InitializeObjectBase()
InvokeEvent(self, event, callData)C++: int InvokeEvent(unsigned long event, void* callData) InvokeEvent(self, event:str, callData:Any) -> int C++: int InvokeEvent(const char* event, void* callData) InvokeEvent(self, event:int) -> int C++: int InvokeEvent(unsigned long event) InvokeEvent(self, event:str) -> int C++: int InvokeEvent(const char* event)
IsAC++: vtkTypeBool IsA(const char *type) override;
IsTypeOf(type)C++: static vtkTypeBool IsTypeOf(const char *type)
KeyPressActivationOff(self)C++: virtual void KeyPressActivationOff()
KeyPressActivationOn(self)C++: virtual void KeyPressActivationOn()
Modified(self)C++: virtual void Modified()
NewInstance(self)C++: vtkInteractorStyleTrackballCamera *NewInstance()
Off(self)C++: void Off()
On(self)C++: void On()
OnButton3D(self, __a)C++: virtual void OnButton3D(vtkEventData *)
OnCharC++: void OnChar() override;
OnClip3D(self, __a)C++: virtual void OnClip3D(vtkEventData *)
OnConfigure(self)C++: virtual void OnConfigure()
OnDropFiles(self, filePaths)C++: virtual void OnDropFiles(vtkStringArray *filePaths)
OnDropLocation(self, position, ...])C++: virtual void OnDropLocation(double *position)
OnElevation3D(self, __a)C++: virtual void OnElevation3D(vtkEventData *)
OnEndPan(self)C++: virtual void OnEndPan()
OnEndPinch(self)C++: virtual void OnEndPinch()
OnEndRotate(self)C++: virtual void OnEndRotate()
OnEndSwipe(self)C++: virtual void OnEndSwipe()
OnEnter(self)C++: virtual void OnEnter()
OnExpose(self)C++: virtual void OnExpose()
OnFifthButtonDown(self)C++: virtual void OnFifthButtonDown()
OnFifthButtonUp(self)C++: virtual void OnFifthButtonUp()
OnFourthButtonDown(self)C++: virtual void OnFourthButtonDown()
OnFourthButtonUp(self)C++: virtual void OnFourthButtonUp()
OnKeyDown(self)C++: virtual void OnKeyDown()
OnKeyPress(self)C++: virtual void OnKeyPress()
OnKeyRelease(self)C++: virtual void OnKeyRelease()
OnKeyUp(self)C++: virtual void OnKeyUp()
OnLeave(self)C++: virtual void OnLeave()
OnLeftButtonDoubleClick(self)C++: virtual void OnLeftButtonDoubleClick()
OnLeftButtonDownC++: void OnLeftButtonDown() override;
OnLeftButtonUpC++: void OnLeftButtonUp() override;
OnLongTap(self)C++: virtual void OnLongTap()
OnMenu3D(self, __a)C++: virtual void OnMenu3D(vtkEventData *)
OnMiddleButtonDoubleClick(self)C++: virtual void OnMiddleButtonDoubleClick()
OnMiddleButtonDownC++: void OnMiddleButtonDown() override;
OnMiddleButtonUpC++: void OnMiddleButtonUp() override;
OnMouseMoveC++: void OnMouseMove() override;
OnMouseWheelBackwardC++: void OnMouseWheelBackward() override;
OnMouseWheelForwardC++: void OnMouseWheelForward() override;
OnMouseWheelLeft(self)C++: virtual void OnMouseWheelLeft()
OnMouseWheelRight(self)C++: virtual void OnMouseWheelRight()
OnMove3D(self, __a)C++: virtual void OnMove3D(vtkEventData *)
OnNextPose3D(self, __a)C++: virtual void OnNextPose3D(vtkEventData *)
OnPan(self)C++: virtual void OnPan()
OnPick3D(self, __a)C++: virtual void OnPick3D(vtkEventData *)
OnPinch(self)C++: virtual void OnPinch()
OnPositionProp3D(self, __a)C++: virtual void OnPositionProp3D(vtkEventData *)
OnRightButtonDoubleClick(self)C++: virtual void OnRightButtonDoubleClick()
OnRightButtonDownC++: void OnRightButtonDown() override;
OnRightButtonUpC++: void OnRightButtonUp() override;
OnRotate(self)C++: virtual void OnRotate()
OnSelect3D(self, __a)C++: virtual void OnSelect3D(vtkEventData *)
OnStartPan(self)C++: virtual void OnStartPan()
OnStartPinch(self)C++: virtual void OnStartPinch()
OnStartRotate(self)C++: virtual void OnStartRotate()
OnStartSwipe(self)C++: virtual void OnStartSwipe()
OnSwipe(self)C++: virtual void OnSwipe()
OnTap(self)C++: virtual void OnTap()
OnTimer(self)C++: virtual void OnTimer()
OnViewerMovement3D(self, __a)C++: virtual void OnViewerMovement3D(vtkEventData *)
PanC++: void Pan() override;
PickingManagedOff(self)C++: virtual void PickingManagedOff()
PickingManagedOn(self)C++: virtual void PickingManagedOn()
Register(self, o)C++: virtual void Register(vtkObjectBase *o)
ReleaseFocus(self)C++: void ReleaseFocus()
RemoveAllObservers(self)C++: void RemoveAllObservers()
RemoveObserver(self, __a)C++: void RemoveObserver(vtkCommand *) RemoveObserver(self, tag:int) -> None C++: void RemoveObserver(unsigned long tag)
RemoveObservers(self, event, __b)C++: void RemoveObservers(unsigned long event, vtkCommand *) RemoveObservers(self, event:str, __b:vtkCommand) -> None C++: void RemoveObservers(const char *event, vtkCommand *) RemoveObservers(self, event:int) -> None C++: void RemoveObservers(unsigned long event) RemoveObservers(self, event:str) -> None C++: void RemoveObservers(const char *event)
RotateC++: void Rotate() override;
SafeDownCast(o)C++: static vtkInteractorStyleTrackballCamera *SafeDownCast( vtkObjectBase *o)
SetAutoAdjustCameraClippingRange(self, _arg)C++: virtual void SetAutoAdjustCameraClippingRange(
SetCurrentRenderer(self, __a)C++: virtual void SetCurrentRenderer(vtkRenderer *)
SetDebug(self, debugFlag)C++: void SetDebug(bool debugFlag)
SetDefaultRenderer(self, __a)C++: virtual void SetDefaultRenderer(vtkRenderer *)
SetEnabledC++: void SetEnabled(int) override;
SetGlobalWarningDisplay(val)C++: static void SetGlobalWarningDisplay(vtkTypeBool val)
SetHandleObservers(self, _arg)C++: virtual void SetHandleObservers(vtkTypeBool _arg)
SetInteractorC++: void SetInteractor(vtkRenderWindowInteractor *interactor)
SetKeyPressActivation(self, _arg)C++: virtual void SetKeyPressActivation(vtkTypeBool _arg)
SetKeyPressActivationValue(self, _arg)C++: virtual void SetKeyPressActivationValue(char _arg)
SetMemkindDirectory(directoryname)C++: static void SetMemkindDirectory(const char *directoryname)
SetMotionFactor(self, _arg)C++: virtual void SetMotionFactor(double _arg)
SetMouseWheelMotionFactor(self, _arg)C++: virtual void SetMouseWheelMotionFactor(double _arg)
SetObjectName(self, objectName)C++: virtual void SetObjectName(const std::string &objectName)
SetPickColor(self, _arg1, _arg2, _arg3)C++: virtual void SetPickColor(double _arg1, double _arg2,
SetPickingManaged(self, managed)C++: virtual void SetPickingManaged(bool managed)
SetPriority(self, _arg)C++: virtual void SetPriority(float _arg)
SetReferenceCount(self, __a)C++: void SetReferenceCount(int)
SetTDxStyle(self, tdxStyle)C++: virtual void SetTDxStyle(vtkTDxInteractorStyle *tdxStyle)
SetTimerDuration(self, _arg)C++: virtual void SetTimerDuration(unsigned long _arg)
SetUseTimers(self, _arg)C++: virtual void SetUseTimers(vtkTypeBool _arg)
SpinC++: void Spin() override;
StartAnimate(self)C++: virtual void StartAnimate()
StartDolly(self)C++: virtual void StartDolly()
StartEnvRotate(self)C++: virtual void StartEnvRotate()
StartGesture(self)C++: virtual void StartGesture()
StartPan(self)C++: virtual void StartPan()
StartRotate(self)C++: virtual void StartRotate()
StartSpin(self)C++: virtual void StartSpin()
StartState(self, newstate)C++: virtual void StartState(int newstate)
StartTimer(self)C++: virtual void StartTimer()
StartTwoPointer(self)C++: virtual void StartTwoPointer()
StartUniformScale(self)C++: virtual void StartUniformScale()
StartZoom(self)C++: virtual void StartZoom()
StopAnimate(self)C++: virtual void StopAnimate()
StopState(self)C++: virtual void StopState()
UnRegister(self, o)C++: virtual void UnRegister(vtkObjectBase* o)
UniformScale(self)C++: virtual void UniformScale()
UseTimersOff(self)C++: virtual void UseTimersOff()
UseTimersOn(self)C++: virtual void UseTimersOn()
UsesGarbageCollector(self)C++: virtual bool UsesGarbageCollector()
Zoom(self)C++: virtual void Zoom()
auto_adjust_camera_clipping_rangeread-write, Calls GetAutoAdjustCameraClippingRange/SetAutoAdjustCameraClippingRange
class_nameread-only, Calls GetClassName
current_rendererread-write, Calls GetCurrentRenderer/SetCurrentRenderer
debugread-write, Calls GetDebug/SetDebug
default_rendererread-write, Calls GetDefaultRenderer/SetDefaultRenderer
enabledwrite-only, Calls SetEnabled
global_warning_displayread-write, Calls GetGlobalWarningDisplay/SetGlobalWarningDisplay
handle_observersread-write, Calls GetHandleObservers/SetHandleObservers
interactorwrite-only, Calls SetInteractor
is_in_memkindread-only, Calls GetIsInMemkind
key_press_activationread-write, Calls GetKeyPressActivation/SetKeyPressActivation
key_press_activation_valueread-write, Calls GetKeyPressActivationValue/SetKeyPressActivationValue
m_timeread-only, Calls GetMTime
memkind_directorywrite-only, Calls SetMemkindDirectory
motion_factorread-write, Calls GetMotionFactor/SetMotionFactor
mouse_wheel_motion_factorread-write, Calls GetMouseWheelMotionFactor/SetMouseWheelMotionFactor
object_descriptionread-only, Calls GetObjectDescription
object_nameread-write, Calls GetObjectName/SetObjectName
pick_colorread-write, Calls GetPickColor/SetPickColor
picking_managedread-write, Calls GetPickingManaged/SetPickingManaged
priorityread-write, Calls GetPriority/SetPriority
reference_countread-write, Calls GetReferenceCount/SetReferenceCount
stateread-only, Calls GetState
t_dx_styleread-write, Calls GetTDxStyle/SetTDxStyle
timer_durationread-write, Calls GetTimerDuration/SetTimerDuration
use_timersread-write, Calls GetUseTimers/SetUseTimers
using_memkindread-only, Calls GetUsingMemkind