PyANGKernel.GKViewBookmarkStatic

class GKViewBookmarkStatic

The static bookmark representation

Details

It defines a network position where the view camera will be moved.

Inheritance diagram of PyANGKernel.GKViewBookmarkStatic

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__()
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 center point

getScale()
Return type:

float

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 bookmark 2D settings is nullptr (not valid)

is3DValid()
Return type:

bool

Returns if the bookmark 3D settings is 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 center point

setScale(ascale)
Parameters:

ascale – float

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