PoLogAxis Class Reference

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.


struct  Decade
struct  LogAxisAttr
struct  MultFactor

Public Types

enum  DecadeListDef {
enum  TenPowGradRep {
enum  DecadeRep {
enum  MultFactorPosition {

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.


Open Inventor Toolkit reference manual, generated on 10 Dec 2020
Copyright © Thermo Fisher Scientific All rights reserved.