MeVisLab Resolution Independence API
CoordinateAxis Struct Reference

#include <SoCoordinateSystem.h>

Public Member Functions

 CoordinateAxis (const SbVec3f &worldStart, const SbVec3f &worldEnd, const std::string &label, int logicalDirection)
 
void setWorldPositions (const SbVec3f &start, const SbVec3f &end)
 
void setScreenPositions (const SbVec3f &start, const SbVec3f &end)
 

Public Attributes

std::string label
 
int logicalDirection
 
SbVec3f worldStart
 
SbVec3f worldEnd
 
SbVec3f worldDirection
 
float worldLength
 
SbVec3f screenStart
 
SbVec3f screenEnd
 
SbVec3f screenDirection
 
SbVec3f tickDirection
 
SbVec2f textScreenShift
 
float renderLengthForArrowPlacement
 
bool isMaxPointingToScreenZ
 

Detailed Description

Definition at line 44 of file SoCoordinateSystem.h.

Constructor & Destructor Documentation

◆ CoordinateAxis()

CoordinateAxis::CoordinateAxis ( const SbVec3f & worldStart,
const SbVec3f & worldEnd,
const std::string & label,
int logicalDirection )
inline

Definition at line 46 of file SoCoordinateSystem.h.

References isMaxPointingToScreenZ, setWorldPositions(), worldEnd, and worldStart.

Member Function Documentation

◆ setScreenPositions()

void CoordinateAxis::setScreenPositions ( const SbVec3f & start,
const SbVec3f & end )
inline

Definition at line 66 of file SoCoordinateSystem.h.

References screenDirection, screenEnd, and screenStart.

◆ setWorldPositions()

void CoordinateAxis::setWorldPositions ( const SbVec3f & start,
const SbVec3f & end )
inline

Member Data Documentation

◆ isMaxPointingToScreenZ

bool CoordinateAxis::isMaxPointingToScreenZ

Definition at line 91 of file SoCoordinateSystem.h.

Referenced by CoordinateAxis().

◆ label

std::string CoordinateAxis::label

Definition at line 74 of file SoCoordinateSystem.h.

◆ logicalDirection

int CoordinateAxis::logicalDirection

Definition at line 76 of file SoCoordinateSystem.h.

◆ renderLengthForArrowPlacement

float CoordinateAxis::renderLengthForArrowPlacement

Definition at line 90 of file SoCoordinateSystem.h.

Referenced by setWorldPositions().

◆ screenDirection

SbVec3f CoordinateAxis::screenDirection

Definition at line 85 of file SoCoordinateSystem.h.

Referenced by setScreenPositions().

◆ screenEnd

SbVec3f CoordinateAxis::screenEnd

Definition at line 84 of file SoCoordinateSystem.h.

Referenced by setScreenPositions().

◆ screenStart

SbVec3f CoordinateAxis::screenStart

Definition at line 83 of file SoCoordinateSystem.h.

Referenced by setScreenPositions().

◆ textScreenShift

SbVec2f CoordinateAxis::textScreenShift

Definition at line 88 of file SoCoordinateSystem.h.

◆ tickDirection

SbVec3f CoordinateAxis::tickDirection

Definition at line 87 of file SoCoordinateSystem.h.

◆ worldDirection

SbVec3f CoordinateAxis::worldDirection

Definition at line 80 of file SoCoordinateSystem.h.

Referenced by setWorldPositions().

◆ worldEnd

SbVec3f CoordinateAxis::worldEnd

Definition at line 79 of file SoCoordinateSystem.h.

Referenced by CoordinateAxis(), and setWorldPositions().

◆ worldLength

float CoordinateAxis::worldLength

Definition at line 81 of file SoCoordinateSystem.h.

Referenced by setWorldPositions().

◆ worldStart

SbVec3f CoordinateAxis::worldStart

Definition at line 78 of file SoCoordinateSystem.h.

Referenced by CoordinateAxis(), and setWorldPositions().


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