Table Of Contents

Graph IDEProgramming ► Perspective Graph

The following is API description specific to the Perspective Graph graphic.

@@method(public, instance) (void)autoscale;
  Call like this:

[aGraph autoscale];

Autoscales the receiver.

@@method(public, instance) (void)focus;
  Call like this:

[aGraph focus];

Sets the focused layer to the receiver's foreground data layer. After this call any graphics that are inserted or appended are done so to the graph's foreground data layer.

@@method(public, instance) (void) rotateToPhi:(double)phiAngle theta:(double)thetaAngle psi:(double)psiAngle;
  Call like this:

[aGraph rotateToPhi:phi theta:theta psi:psi];

Rotates the receiver to the phi, theta and psi angles which are yaw, pitch and roll angles respectively in units of radians.

@@method(public, instance) (void)unfocus;
  Call like this:

[aGraph unfocus];

Sets the focused layer to the layer that the receiver is in. After this call any graphics that are inserted or appended are done so to the same layer as the graph.

@@method(public, instance) (void)updateMainTitleToUFT8String:(const char *)aUTF8String;
  Call like this:

[aGraph updateMainTitleToUFT8String:"My Title"];

Sets the main title of the graph.

@@method(public, instance) (void)updateXTitleToUFT8String:(const char *)aUTF8String;
  Call like this:

[aGraph updateXTitleToUFT8String:"My X Title"];

Sets the x-axis title of the graph.

@@method(public, instance) (void)updateYTitleToUFT8String:(const char *)aUTF8String;
  Call like this:

[aGraph updateYTitleToUFT8String:"My Y Title"];

Sets the y-axis title of the graph.

@@method(public, instance) (void)updateZTitleToUFT8String:(const char *)aUTF8String;
  Call like this:

[aGraph updateZTitleToUFT8String:"My Z Title"];

Sets the z-axis title of the graph.




© Copyright 1993-2019 by VVimaging, Inc. (VVI); All Rights Reserved. Please email support@vvi.com with any comments you have concerning this documentation. See Legal for trademark and legal information.