Inherits from vtkAbstractWidget
Protected Types
Public Functions
Protected Functions
Protected Attributes
Protected Types Documentation
enum @0
Enumerator |
Value |
Description |
Start |
|
|
Paint |
|
|
Erase |
|
|
Public Functions Documentation
function New
static PaintWidget * New()
function vtkTypeMacro
vtkTypeMacro(
PaintWidget ,
vtkAbstractWidget
)
function PrintSelf
void PrintSelf(
ostream & os,
vtkIndent indent
)
function vtkSetMacro
vtkSetMacro(
PointPlacer ,
vtkPointPlacer *
)
function vtkGetMacro
vtkGetMacro(
PointPlacer ,
vtkPointPlacer *
)
function vtkSetMacro
vtkSetMacro(
Renderer ,
vtkRenderer *
)
function vtkGetMacro
vtkGetMacro(
Renderer ,
vtkRenderer *
)
function set_viewer
void set_viewer(
Viewer * viewer
)
function SetEnabled
virtual void SetEnabled(
int
)
function SetRepresentation
inline void SetRepresentation(
vtkContourRepresentation * r
)
function CreateDefaultRepresentation
void CreateDefaultRepresentation()
function update_position
function Initialize
virtual void Initialize(
vtkPolyData * poly,
int state =1
)
function Initialize
inline virtual void Initialize()
function set_brush_size
void set_brush_size(
double size
)
function get_brush_size
function set_brush_color
void set_brush_color(
float r,
float g,
float b
)
Protected Functions Documentation
function use_point_placer
bool use_point_placer(
double displayPos[2],
int newState
)
function set_cursor
void set_cursor(
int requestedShape
)
function StartPaintAction
static void StartPaintAction(
vtkAbstractWidget * w
)
function EndPaintAction
static void EndPaintAction(
vtkAbstractWidget * w
)
function StartEraseAction
static void StartEraseAction(
vtkAbstractWidget * w
)
function EndEraseAction
static void EndEraseAction(
vtkAbstractWidget * w
)
function MoveAction
static void MoveAction(
vtkAbstractWidget * w
)
function LeaveAction
static void LeaveAction(
vtkAbstractWidget * w
)
function KeyPressAction
static void KeyPressAction(
vtkAbstractWidget * w
)
Protected Attributes Documentation
variable PointPlacer
vtkPointPlacer * PointPlacer;
variable Renderer
variable sphere_cursor_
StudioSphereRepresentation * sphere_cursor_;
variable mouse_in_window_
variable viewer_
Updated on 2022-07-23 at 16:40:06 -0600