Open CASCADE Technology Reference Manual 8.0.0
Loading...
Searching...
No Matches
Static Public Member Functions
V3d Class Reference

This package contains the set of commands and services of the 3D Viewer. It provides a set of high level commands to control the views and viewing modes. More...

#include <V3d.hxx>

Static Public Member Functions

static gp_Dir GetProjAxis (const V3d_TypeOfOrientation theOrientation)
 Determines the orientation vector corresponding to the predefined orientation type.
 
static void ArrowOfRadius (const occ::handle< Graphic3d_Group > &garrow, const double X0, const double Y0, const double Z0, const double DX, const double DY, const double DZ, const double Alpha, const double Lng)
 Compute the graphic structure of arrow. X0,Y0,Z0 : coordinate of the arrow. DX,DY,DZ : Direction of the arrow. Alpha : Angle of arrow. Lng : Length of arrow.
 
static void CircleInPlane (const occ::handle< Graphic3d_Group > &gcircle, const double X0, const double Y0, const double Z0, const double VX, const double VY, const double VZ, const double Radius)
 Compute the graphic structure of circle. X0,Y0,Z0 : Center of circle. VX,VY,VZ : Axis of circle. Radius : Radius of circle.
 
static void SwitchViewsinWindow (const occ::handle< V3d_View > &aPreviousView, const occ::handle< V3d_View > &aNextView)
 
static const charTypeOfOrientationToString (V3d_TypeOfOrientation theType)
 Returns the string name for a given orientation type.
 
static V3d_TypeOfOrientation TypeOfOrientationFromString (const char *const theTypeString)
 Returns the orientation type from the given string identifier (using case-insensitive comparison).
 
static bool TypeOfOrientationFromString (const char *const theTypeString, V3d_TypeOfOrientation &theType)
 Determines the shape type from the given string identifier (using case-insensitive comparison).
 

Detailed Description

This package contains the set of commands and services of the 3D Viewer. It provides a set of high level commands to control the views and viewing modes.

Member Function Documentation

◆ ArrowOfRadius()

static void V3d::ArrowOfRadius ( const occ::handle< Graphic3d_Group > & garrow,
const double X0,
const double Y0,
const double Z0,
const double DX,
const double DY,
const double DZ,
const double Alpha,
const double Lng )
static

Compute the graphic structure of arrow. X0,Y0,Z0 : coordinate of the arrow. DX,DY,DZ : Direction of the arrow. Alpha : Angle of arrow. Lng : Length of arrow.

◆ CircleInPlane()

static void V3d::CircleInPlane ( const occ::handle< Graphic3d_Group > & gcircle,
const double X0,
const double Y0,
const double Z0,
const double VX,
const double VY,
const double VZ,
const double Radius )
static

Compute the graphic structure of circle. X0,Y0,Z0 : Center of circle. VX,VY,VZ : Axis of circle. Radius : Radius of circle.

◆ GetProjAxis()

static gp_Dir V3d::GetProjAxis ( const V3d_TypeOfOrientation theOrientation)
inlinestatic

Determines the orientation vector corresponding to the predefined orientation type.

◆ SwitchViewsinWindow()

static void V3d::SwitchViewsinWindow ( const occ::handle< V3d_View > & aPreviousView,
const occ::handle< V3d_View > & aNextView )
static

◆ TypeOfOrientationFromString() [1/2]

static V3d_TypeOfOrientation V3d::TypeOfOrientationFromString ( const char *const theTypeString)
inlinestatic

Returns the orientation type from the given string identifier (using case-insensitive comparison).

Parameters
theTypeStringstring identifier
Returns
orientation type or V3d_TypeOfOrientation if string identifier is invalid

◆ TypeOfOrientationFromString() [2/2]

static bool V3d::TypeOfOrientationFromString ( const char *const theTypeString,
V3d_TypeOfOrientation & theType )
static

Determines the shape type from the given string identifier (using case-insensitive comparison).

Parameters
theTypeStringstring identifier
theTypedetected shape type
Returns
TRUE if string identifier is known

◆ TypeOfOrientationToString()

static const char * V3d::TypeOfOrientationToString ( V3d_TypeOfOrientation theType)
static

Returns the string name for a given orientation type.

Parameters
theTypeorientation type
Returns
string identifier from the list Xpos, Ypos, Zpos and others

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