PyANGKernel.GKViewBookmarkStep

class GKViewBookmarkStep

A single step on view bookmarks

Details

It can be configured for 2D and 3D purposes

Inherited by: GKViewBookmarkDynamicStep

Synopsis

Methods

Note

This documentation may contain snippets that were automatically translated from C++ to Python. We always welcome contributions to the snippet translation. If you see an issue with the translation, you can also let us know by creating a ticket on https:/bugreports.qt.io/projects/PYSIDE

__init__()
copyTo(step)
Parameters:

stepGKViewBookmarkStep

copies the 2D and 3D settings to the specified step

getCenter3D()
Return type:

GKPoint

It returns the center point of the 3D View

getLineView3D()
Return type:

GKPoint

It returns a point that defines the line view of the 3D View

getPoint()
Return type:

GKPoint

returns the 2D settings center point

getScale()
Return type:

float

On 2D settings, returns the view scale that will be set when the bookmark is selected

getVUp3D()
Return type:

GKVector

It returns the VUp vector of the 3D View

is2DValid()
Return type:

bool

Returns if the 2D Setting are nullptr (not valid)

is3DValid()
Return type:

bool

Returns if the 3D settings are nullptr (not valid)

setCenter3D(apoint)
Parameters:

apointGKPoint

It sets the center point of the 3D View

setLineView3D(apoint)
Parameters:

apointGKPoint

It sets a point that defines the line view of the 3D View

setPoint(apoint)
Parameters:

apointGKPoint

sets the 2D settings center point

setScale(ascale)
Parameters:

ascale – float

On 2D settings, sets the view scale that will be set when the bookmark is selected

setVUp3D(avector)
Parameters:

avectorGKVector

It sets the VUp vector of the 3D View