PoLogAxis Class Reference
[Axis]

MeshViz Class to build a logarithmic axis. More...

#include <MeshViz/graph/PoLogAxis.h>

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

List of all members.

Classes

struct  Decade
struct  LogAxisAttr
struct  MultFactor

Public Types

enum  DecadeListDef {
  DECADE_LIST_AUTO,
  DECADE_LIST_NON_AUTO
}
enum  TenPowGradRep {
  TEN_POWER_POW10,
  TEN_POWER_DECIMAL,
  TEN_POWER_AUTO
}
enum  DecadeRep {
  DECADE_NONE,
  DECADE_AS_TEN_POWER,
  DECADE_DECIMAL,
  DECADE_DIGIT,
  DECADE_AUTO
}
enum  MultFactorPosition {
  MULT_FACTOR_START,
  MULT_FACTOR_END,
  MULT_FACTOR_EXTR,
  MULT_FACTOR_GRAD
}

Public Member Functions

virtual SoType getTypeId () const
virtual const SoNodekitCataloggetNodekitCatalog () const
 PoLogAxis ()
 PoLogAxis (const SbVec3f &_start, float _end, PoCartesianAxis::Type _type, DecadeListDef _decadeListDef=DECADE_LIST_AUTO, const unsigned short *_decadeList=NULL, short _numDecade=0)
 PoLogAxis (const SbVec3f &_start, float _end, PoCartesianAxis::Type _type, float _gradStart, float _gradEnd, DecadeListDef _decadeListDef=DECADE_LIST_AUTO, const unsigned short *_decadeList=NULL, short _numDecade=0)
virtual void rebuild ()
void getLogGrad (unsigned short &numDecade, unsigned short decadeList[8], TenPowGradRep &tenPowerRep, DecadeRep &decadeRep, SbString &decadeFontName, float &decadeFontSize) const
void getMultFactor (MultFactorPosition &position, float &distAxis) const

Static Public Member Functions

static SoType getClassTypeId ()
static const SoNodekitCataloggetClassNodekitCatalog ()

Public Attributes

SoMFUShort decadeList
SoSFEnum decadeListDef
SoSFEnum tenPowerRep
SoSFEnum decadeRep
SoSFString decadeFontName
SoSFFloat decadeFontSize
SoSFEnum multFactorPosition
SoSFFloat multFactorDistAxis
SoSFUShort maxGradNum

Detailed Description

MeshViz Class to build a logarithmic axis.

This class builds a logarithmic axis. This axis will be generated between the point start to the point end. The graduations will be in the plane given by the user (cf type field). For instance, it can be used for building a logarithmic axis in the plane XY, with the first decade graduation being 10E3 and the last decade graduation being 10E8. Graduation values are: 10E3, 10E4, 10E5, ...,10E8): gradStart = 3, gradEnd = 8 plane = XY and maxGradNum > 8. If maxGradNum = 4, the graduations values are 10E3, 10E5 and 10E7. If the fields gradStart and gradEnd are equal, the fields start and end are used to define the graduation values.

FILE FORMAT/DEFAULT


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