public class Perspective3D extends TypedPropertyObject implements IPerspective
| Constructor and Description |
|---|
Perspective3D()
Creates a 3D-Perspective.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addVisual(Object id,
Object visual)
Adds a new visual object.
|
SimpleValueFetcher |
getFetcher()
Get the value fetcher.
|
boolean |
getInvertXAxis()
Gets x-axis inversion.
|
boolean |
getInvertYAxis()
Gets y-axis inversion.
|
String |
getName()
Returns the name of the perspective
|
ObserverCenter |
getObserverCenter()
Get the ObserverCenter.
|
boolean |
getOpenGl()
Gets whether to try to use OpenGL.
|
Object |
getProperty(String name)
Returns a property.
|
Object |
getSelectedObject()
Returns the currently selected object.
|
Component |
getView()
Gets the view of the perspective.
|
IViewport3d |
getViewport()
Gets the viewport
|
boolean |
isWireframe() |
void |
leftClicked(String identification)
Set the selected Object in the Perspective.
|
void |
refresh()
Refreshes the perspective.
|
void |
removeVisual(Object id)
Removes a new visual object.
|
void |
reset()
Resets position and flushes render info
|
void |
resetZoomAndPosition()
Resets position of the perspective.
|
void |
setInvertXAxis(boolean invert)
Sets x-axis inversion.
|
void |
setInvertYAxis(boolean invert)
Sets y-axis inversion.
|
void |
setName(String name)
Sets the name of the perspective
|
void |
setObserverCenter(ObserverCenter obscenter)
Sets the ObserverCenter.
|
boolean |
setOpenGl(boolean opengl)
Sets whether to try to use OpenGL.
|
void |
setPostlayers(Layer[] array) |
void |
setPrelayers(Layer[] array) |
void |
setSelectedObject(Object obj)
Sets the selected object.
|
void |
setWireframe(boolean wireframe) |
getMetaData, getMetaDatasaddPropertyChangeListener, getProperties, getPropertyNames, hasProperty, removePropertyChangeListener, setProperties, setProperty, toStringequals, getClass, hashCode, notify, notifyAll, wait, wait, waitgetMetaData, getMetaDatasgetPropertyNames, hasProperty, setPropertypublic Object getProperty(String name)
getProperty in interface IPropertyObjectgetProperty in class SimplePropertyObjectname - name of the propertypublic SimpleValueFetcher getFetcher()
public String getName()
getName in interface IPerspectivepublic void setName(String name)
setName in interface IPerspectivename - name of the perspectivepublic Object getSelectedObject()
getSelectedObject in interface IPerspectivepublic void setSelectedObject(Object obj)
setSelectedObject in interface IPerspectiveobj - selected objectpublic void setObserverCenter(ObserverCenter obscenter)
setObserverCenter in interface IPerspectiveobscenter - the ObserverCenterpublic ObserverCenter getObserverCenter()
getObserverCenter in interface IPerspectivepublic void addVisual(Object id, Object visual)
addVisual in interface IPerspectiveid - identifier of the objectvisual - the visual objectpublic void removeVisual(Object id)
removeVisual in interface IPerspectiveid - identifier of the objectpublic Component getView()
getView in interface IPerspectivepublic IViewport3d getViewport()
public boolean getInvertXAxis()
public void setInvertXAxis(boolean invert)
invert - true, if the x-axis should be inverted.public boolean getInvertYAxis()
public void setInvertYAxis(boolean invert)
invert - true, if the y-axis should be inverted.public void reset()
reset in interface IPerspectivepublic void refresh()
refresh in interface IPerspectivepublic boolean getOpenGl()
IPerspectivegetOpenGl in interface IPerspectivepublic boolean setOpenGl(boolean opengl)
IPerspectivesetOpenGl in interface IPerspectiveopengl - true, if attempt should be made to use OpenGLpublic void setPostlayers(Layer[] array)
public void setPrelayers(Layer[] array)
public void leftClicked(String identification)
identification - public void resetZoomAndPosition()
IPerspectiveresetZoomAndPosition in interface IPerspectivepublic boolean isWireframe()
public void setWireframe(boolean wireframe)
wireframe - the wireframe to setCopyright © 2012. All Rights Reserved.