/external/opencv3/modules/viz/src/ |
widget.cpp | 96 vtkSmartPointer<vtkActor> actor = vtkSmartPointer<vtkActor>::New(); local 97 actor->GetProperty()->SetInterpolationToFlat(); 98 actor->GetProperty()->BackfaceCullingOn(); 99 actor->SetMapper(mapper); 102 WidgetAccessor::setProp(widget, actor); 108 vtkActor *actor = vtkActor::SafeDownCast(WidgetAccessor::getProp(*this)); local 109 CV_Assert("Widget type is not supported." && actor); 113 case POINT_SIZE: actor->GetProperty()->SetPointSize(float(value)); break; 114 case OPACITY: actor->GetProperty()->SetOpacity(value); break; 115 case LINE_WIDTH: actor->GetProperty()->SetLineWidth(float(value)); break 176 vtkActor *actor = vtkActor::SafeDownCast(WidgetAccessor::getProp(*this)); local 238 vtkProp3D *actor = vtkProp3D::SafeDownCast(WidgetAccessor::getProp(*this)); local 248 vtkProp3D *actor = vtkProp3D::SafeDownCast(WidgetAccessor::getProp(*this)); local 267 vtkProp3D *actor = vtkProp3D::SafeDownCast(WidgetAccessor::getProp(*this)); local 274 vtkActor *actor = vtkActor::SafeDownCast(WidgetAccessor::getProp(*this)); local 287 vtkActor *actor = vtkActor::SafeDownCast(WidgetAccessor::getProp(*this)); local 299 vtkProp3D *actor = vtkProp3D::SafeDownCast(WidgetAccessor::getProp(*this)); local 312 vtkActor2D *actor = vtkActor2D::SafeDownCast(WidgetAccessor::getProp(*this)); local 321 vtkActor2D *actor = vtkActor2D::SafeDownCast(WidgetAccessor::getProp(*this)); local [all...] |
shapes.cpp | 63 vtkSmartPointer<vtkActor> actor = vtkSmartPointer<vtkActor>::New(); local 64 actor->SetMapper(mapper); 66 WidgetAccessor::setProp(*this, actor); 94 vtkSmartPointer<vtkActor> actor = vtkSmartPointer<vtkActor>::New(); local 95 actor->SetMapper(mapper); 97 WidgetAccessor::setProp(*this, actor); 123 vtkSmartPointer<vtkActor> actor = vtkSmartPointer<vtkActor>::New(); local 124 actor->SetMapper(mapper); 125 actor->GetProperty()->LightingOff(); 127 WidgetAccessor::setProp(*this, actor); 175 vtkSmartPointer<vtkActor> actor = vtkSmartPointer<vtkActor>::New(); local 204 vtkSmartPointer<vtkActor> actor = vtkSmartPointer<vtkActor>::New(); local 247 vtkSmartPointer<vtkActor> actor = vtkSmartPointer<vtkActor>::New(); local 292 vtkSmartPointer<vtkActor> actor = vtkSmartPointer<vtkActor>::New(); local 335 vtkSmartPointer<vtkActor> actor = vtkSmartPointer<vtkActor>::New(); local 379 vtkSmartPointer<vtkActor> actor = vtkSmartPointer<vtkActor>::New(); local 413 vtkSmartPointer<vtkActor> actor = vtkSmartPointer<vtkActor>::New(); local 458 vtkSmartPointer<vtkActor> actor = vtkSmartPointer<vtkActor>::New(); local 495 vtkSmartPointer<vtkFollower> actor = vtkSmartPointer<vtkFollower>::New(); local 503 vtkSmartPointer<vtkActor> actor = vtkSmartPointer<vtkActor>::New(); local 516 vtkActor *actor = vtkActor::SafeDownCast(WidgetAccessor::getProp(*this)); local 531 vtkFollower *actor = vtkFollower::SafeDownCast(WidgetAccessor::getProp(*this)); local 552 vtkSmartPointer<vtkTextActor> actor = vtkSmartPointer<vtkTextActor>::New(); local 578 vtkTextActor *actor = vtkTextActor::SafeDownCast(WidgetAccessor::getProp(*this)); local 585 vtkTextActor *actor = vtkTextActor::SafeDownCast(WidgetAccessor::getProp(*this)); local 618 vtkSmartPointer<vtkActor2D> actor = vtkSmartPointer<vtkActor2D>::New(); local 630 vtkActor2D *actor = vtkActor2D::SafeDownCast(WidgetAccessor::getProp(*this)); local 691 vtkSmartPointer<vtkActor> actor = vtkSmartPointer<vtkActor>::New(); local 719 vtkActor *actor = vtkActor::SafeDownCast(WidgetAccessor::getProp(*this)); local 796 vtkSmartPointer<vtkActor> actor = vtkSmartPointer<vtkActor>::New(); local 816 vtkSmartPointer<vtkActor> actor = vtkSmartPointer<vtkActor>::New(); local 833 vtkSmartPointer<vtkActor> actor = vtkSmartPointer<vtkActor>::New(); local 868 vtkSmartPointer<vtkActor> actor = getActor(image_widget); local 900 vtkSmartPointer<vtkActor> actor = getActor(image_widget); local 950 vtkSmartPointer<vtkActor> actor = vtkSmartPointer<vtkActor>::New(); local 985 vtkSmartPointer<vtkActor> actor = vtkSmartPointer<vtkActor>::New(); local 1011 vtkSmartPointer<vtkActor> actor = vtkSmartPointer<vtkActor>::New(); local 1079 vtkSmartPointer<vtkActor> actor = vtkSmartPointer<vtkActor>::New(); local [all...] |
clouds.cpp | 84 vtkSmartPointer<vtkActor> actor = vtkSmartPointer<vtkActor>::New(); local 85 actor->GetProperty()->SetInterpolationToFlat(); 86 actor->GetProperty()->BackfaceCullingOn(); 87 actor->SetMapper(mapper); 89 WidgetAccessor::setProp(*this, actor); 124 vtkSmartPointer<vtkActor> actor = vtkSmartPointer<vtkActor>::New(); local 125 actor->GetProperty()->SetInterpolationToFlat(); 126 actor->GetProperty()->BackfaceCullingOn(); 127 actor->SetMapper(mapper); 129 WidgetAccessor::setProp(*this, actor); 150 vtkSmartPointer<vtkActor> actor = vtkSmartPointer<vtkActor>::New(); local 190 vtkSmartPointer<vtkActor> actor = vtkSmartPointer<vtkActor>::New(); local 218 vtkSmartPointer<vtkLODActor> actor = vtkSmartPointer<vtkLODActor>::New(); local 234 vtkSmartPointer<vtkLODActor> actor = vtkLODActor::SafeDownCast(WidgetAccessor::getProp(*this)); local 251 vtkSmartPointer<vtkLODActor> actor = vtkLODActor::SafeDownCast(WidgetAccessor::getProp(*this)); local 346 vtkSmartPointer<vtkActor> actor = vtkSmartPointer<vtkActor>::New(); local 422 vtkSmartPointer<vtkActor> actor = vtkSmartPointer<vtkActor>::New(); local 475 vtkSmartPointer<vtkActor> actor = vtkSmartPointer<vtkActor>::New(); local 492 vtkSmartPointer<vtkActor> actor = vtkActor::SafeDownCast(WidgetAccessor::getProp(*this)); local 502 vtkSmartPointer<vtkActor> actor = vtkActor::SafeDownCast(WidgetAccessor::getProp(*this)); local [all...] |
vizimpl.cpp | 200 // Get the actor and set the user matrix 201 vtkProp3D *actor = vtkProp3D::SafeDownCast(WidgetAccessor::getProp(widget)); local 202 if (actor) 204 // If the actor is 3D, apply pose 206 actor->SetUserMatrix(matrix); 207 actor->Modified(); 209 // If the actor is a vtkFollower, then it should always face the camera 210 vtkFollower *follower = vtkFollower::SafeDownCast(actor); 249 vtkProp3D *actor = vtkProp3D::SafeDownCast(wam_itr->second); local 250 CV_Assert("Widget is not 3D." && actor); 264 vtkProp3D *actor = vtkProp3D::SafeDownCast(wam_itr->second); local 287 vtkProp3D *actor = vtkProp3D::SafeDownCast(wam_itr->second); local 485 vtkProp3D *actor = vtkProp3D::SafeDownCast(it->second); local 524 vtkActor * actor; local [all...] |
/external/libgdx/gdx/src/com/badlogic/gdx/scenes/scene2d/actions/ |
LayoutAction.java | 20 import com.badlogic.gdx.scenes.scene2d.Actor;
24 /** Sets an actor's {@link Layout#setLayoutEnabled(boolean) layout} to enabled or disabled. The actor must implements
30 public void setTarget (Actor actor) {
31 if (actor != null && !(actor instanceof Layout)) throw new GdxRuntimeException("Actor must implement layout: " + actor);
32 super.setTarget(actor);
[all...] |
DelegateAction.java | 20 import com.badlogic.gdx.scenes.scene2d.Actor;
58 public void setActor (Actor actor) {
59 if (action != null) action.setActor(actor);
60 super.setActor(actor);
63 public void setTarget (Actor target) {
|
ParallelAction.java | 20 import com.badlogic.gdx.scenes.scene2d.Actor;
70 for (int i = 0, n = actions.size; i < n && actor != null; i++) {
73 if (actor == null) return true; // This action was removed.
95 if (actor != null) action.setActor(actor);
98 public void setActor (Actor actor) {
101 actions.get(i).setActor(actor);
102 super.setActor(actor);
|
/external/libgdx/gdx/src/com/badlogic/gdx/scenes/scene2d/ |
Action.java | 24 /** Actions attach to an {@link Actor} and perform some task, often over time.
27 /** The actor this action is attached to, or null if it is not attached. */
28 protected Actor actor;
field in class:Action 30 /** The actor this action targets, or null if a target has not been set. */
31 protected Actor target;
35 /** Updates the action based on time. Typically this is called each frame by {@link Actor#act(float)}.
44 /** Sets the actor this action is attached to. This also sets the {@link #setTarget(Actor) target} actor if it is null. This [all...] |
Group.java | 32 * actors added earlier. Touch events that hit more than one actor are distributed to topmost actors first. 35 public class Group extends Actor implements Cullable { 38 final SnapshotArray<Actor> children = new SnapshotArray(true, 4, Actor.class); 47 Actor[] actors = children.begin(); 67 SnapshotArray<Actor> children = this.children; 68 Actor[] actors = children.begin(); 78 Actor child = actors[i]; 90 Actor child = actors[i]; 108 Actor child = actors[i] 355 Actor actor = ((Group)child).findActor(name); local 457 Actor actor = actors[i]; local [all...] |
Stage.java | 49 /** A 2D scene graph containing hierarchies of {@link Actor actors}. Stage handles the viewport and distributes input events. 56 * used to handle input events before or after the stage does. If an actor handles an event by returning true from the input 65 /** True if any actor has ever had debug enabled. */ 73 private final Actor[] pointerOverActors = new Actor[20]; 78 private Actor mouseOverActor; 79 private Actor keyboardFocus, scrollFocus; 143 Actor actor = hit(tempCoords.x, tempCoords.y, true); local 144 if (actor == null) return [all...] |
InputEvent.java | 22 /** Event for actor input: touch, mouse, keyboard, and scroll.
29 private Actor relatedActor;
111 /** The actor related to the event. Valid for: enter and exit. For enter, this is the actor being exited, or null. For exit,
112 * this is the actor being entered, or null. */
113 public Actor getRelatedActor () {
118 public void setRelatedActor (Actor relatedActor) {
122 /** Sets actorCoords to this event's coordinates relative to the specified actor.
124 public Vector2 toCoordinates (Actor actor, Vector2 actorCoords) { [all...] |
/external/libgdx/gdx/src/com/badlogic/gdx/scenes/scene2d/utils/ |
DragAndDrop.java | 21 import com.badlogic.gdx.scenes.scene2d.Actor; 36 Actor dragActor; 84 Actor hit = event.getStage().hit(stageX, stageY, true); // Prefer touchable actors. 89 if (!target.actor.isAscendantOf(hit)) continue; 91 target.actor.stageToLocalCoordinates(tmpVector.set(stageX, stageY)); 107 // Add/remove and position the drag actor. 108 Actor actor = null; 109 if (target != null) actor = isValidTarget ? payload.validDragActor : payload.invalidDragActor; 110 if (actor == null) actor = payload.dragActor 225 final Actor actor; field in class:DragAndDrop.Source 248 final Actor actor; field in class:DragAndDrop.Target [all...] |
ActorGestureListener.java | 22 import com.badlogic.gdx.scenes.scene2d.Actor;
27 /** Detects tap, long press, fling, pan, zoom, and pinch gestures on an actor. If there is only a need to detect tap, use
36 Actor actor, touchDownTarget;
field in class:ActorGestureListener 50 actor.stageToLocalCoordinates(tmpCoords.set(stageX, stageY));
56 actor.stageToLocalCoordinates(tmpCoords.set(stageX, stageY));
57 return ActorGestureListener.this.longPress(actor, tmpCoords.x, tmpCoords.y);
70 actor.stageToLocalCoordinates(tmpCoords.set(stageX, stageY));
82 actor.stageToLocalCoordinates(initialPointer1.set(stageInitialPointer1));
83 actor.stageToLocalCoordinates(initialPointer2.set(stageInitialPointer2)); [all...] |
ChangeListener.java | 19 import com.badlogic.gdx.scenes.scene2d.Actor;
32 /** @param actor The event target, which is the actor that emitted the change event. */
33 abstract public void changed (ChangeEvent event, Actor actor);
35 /** Fired when something in an actor has changed. This is a generic event, exactly what changed in an actor will vary.
|
FocusListener.java | 19 import com.badlogic.gdx.scenes.scene2d.Actor; 40 /** @param actor The event target, which is the actor that emitted the focus event. */ 41 public void keyboardFocusChanged (FocusEvent event, Actor actor, boolean focused) { 44 /** @param actor The event target, which is the actor that emitted the focus event. */ 45 public void scrollFocusChanged (FocusEvent event, Actor actor, boolean focused) { 48 /** Fired when an actor gains or loses keyboard or scroll focus. Can be cancelled to prevent losing or gaining focus [all...] |
/external/libgdx/gdx/src/com/badlogic/gdx/scenes/scene2d/ui/ |
Value.java | 19 import com.badlogic.gdx.scenes.scene2d.Actor; 22 /** Value placeholder, allowing the value to be computed on request. Values are provided an actor for context which reduces the 27 abstract public float get (Actor context); 41 public float get (Actor context) { 46 /** Value that is the minWidth of the actor in the cell. */ 48 public float get (Actor context) { 54 /** Value that is the minHeight of the actor in the cell. */ 56 public float get (Actor context) { 62 /** Value that is the prefWidth of the actor in the cell. */ 64 public float get (Actor context) [all...] |