PoAngularAxis Class Reference
[Axis]

MeshViz Class to build an angular axis. More...

#include <MeshViz/graph/PoAngularAxis.h>

Inheritance diagram for PoAngularAxis:
PoAxis PoBaseAxis PoGraphMaster PoBase SoBaseKit SoNode SoGetView SoFieldContainer SoBase SoRefCounter SoTypedObject

List of all members.

Classes

struct  AngularAxisAttr

Public Types

enum  GradFit {
  GRAD_FIT,
  GRAD_UNFIT
}

Public Member Functions

virtual SoType getTypeId () const
virtual const SoNodekitCataloggetNodekitCatalog () const
 PoAngularAxis ()
 PoAngularAxis (float _offset, float _startAngle, float _endAngle, float _radius, float _angleStep)
virtual void rebuild ()
float getAngleStep () const

Static Public Member Functions

static SoType getClassTypeId ()
static const SoNodekitCataloggetClassNodekitCatalog ()

Public Attributes

SoSFFloat offset
SoSFFloat startAngle
SoSFFloat endAngle
SoSFFloat radius
SoSFFloat angleStep
SoSFEnum gradFit

Detailed Description

MeshViz Class to build an angular axis.

This class builds an angular axis in the plane XY. The axis is generated between (startAngle + offset) and (endEngle + offset) in counter-clockwise. It is centered at (0,0). An angle step defines the angular distance between two graduations. Graduations are displayed in degrees. The inherited field reverseFlag is not used.

CATALOG PARTS


Member Enumeration Documentation

Enumerations.

First graduation rounded or not.

Enumerator:
GRAD_FIT 

The first graduation is rounded.

GRAD_UNFIT 

The first graduation is not rounded.


Constructor & Destructor Documentation

PoAngularAxis::PoAngularAxis (  ) 

Default constructor.

PoAngularAxis::PoAngularAxis ( float  _offset,
float  _startAngle,
float  _endAngle,
float  _radius,
float  _angleStep 
) [inline]

Constructor.


Member Function Documentation

float PoAngularAxis::getAngleStep (  )  const

Returns the current angle step (the step computed can be different from the associated field).

static const SoNodekitCatalog* PoAngularAxis::getClassNodekitCatalog (  )  [static]

Returns the SoNodekitCatalog for this class.

Reimplemented from PoAxis.

static SoType PoAngularAxis::getClassTypeId (  )  [static]

Returns the type identifier for this class.

Reimplemented from PoAxis.

virtual const SoNodekitCatalog* PoAngularAxis::getNodekitCatalog (  )  const [virtual]

Returns the SoNodekitCatalog for this instance.

Reimplemented from PoAxis.

virtual SoType PoAngularAxis::getTypeId (  )  const [virtual]

Returns the type identifier for this specific instance.

Reimplemented from PoAxis.

virtual void PoAngularAxis::rebuild (  )  [virtual]

Forces node-kit rebuilding.

See PoBase.

Reimplemented from PoBase.


Member Data Documentation

Angular distance in radians between two graduations.

If this value is <= 0, the angle step is automatically calculated according to the ratio radius and the current domain (see PoBase description).

Angle in radians of the end of the axis.

This flag indicates if the first graduation is rounded or not.

(GRAD_UNFIT by default).

Offset for the axis in radians.

(However the graduations begin at startAngle to endAngle).

Radius of the axis.

Angle in radians of the origin of the axis.


The documentation for this class was generated from the following file:

Open Inventor Toolkit reference manual, generated on 15 Mar 2023
Copyright © Thermo Fisher Scientific All rights reserved.
http://www.openinventor.com/