Main Page | Namespace List | Class Hierarchy | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

ippAlignPartCommand Class Reference

AlignPart Command. More...

Inheritance diagram for ippAlignPartCommand:

ippCommand ippObject List of all members.

Public Member Functions

 ippAlignPartCommand (unsigned int tgNum, double inPv1i, double inPv1j, double inPv1k, double inMv1i, double inMv1j, double inMv1k, double inAlpha)
 ippAlignPartCommand (unsigned int tgNum, double inPv1i, double inPv1j, double inPv1k, double inMv1i, double inMv1j, double inMv1k, double inPv2i, double inPv2j, double inPv2k, double inMv2i, double inMv2j, double inMv2k, double inAlpha, double inBeta)
virtual ~ippAlignPartCommand ()
bool setHas2 (bool inHas2)
void setPartVector1 (double inI, double inJ, double inK)
void setMachineVector1 (double inI, double inJ, double inK)
void setPartVector2 (double inI, double inJ, double inK)
void setMachineVector2 (double inI, double inJ, double inK)
double setAlpha (double inAlpha)
double setBeta (double inBeta)
bool getHas2 () const
double getPartVector1i () const
double getPartVector1j () const
double getPartVector1k () const
double getMachineVector1i () const
double getMachineVector1j () const
double getMachineVector1k () const
double getPartVector2i () const
double getPartVector2j () const
double getPartVector2k () const
double getMachineVector2i () const
double getMachineVector2j () const
double getMachineVector2k () const
double getAlpha () const
double getBeta () const
virtual std::string getCommandString () const

Detailed Description

AlignPart Command.

Version:
I++ DME Version 1.5.
The client uses this method to force the part to be oriented according to the given vector(s).

Parameters

First command

first command is for single rotary tables.

Second command

Second command is applicable when two pieces of rotational equipment rectangular to each other are available.

Data

Returns vectors (same number as set) which describe the reached alignment.

Errors

2506: Part not aligned.

Remarks

In case of a rotary table both vectors are projected in the plane of rotation. After projection both vectors must be able to normalize. The returned vectors are the projected and normalized vectors actually used by the server.

Definition at line 55 of file ippAlignPartCommand.h.


Constructor & Destructor Documentation

ippAlignPartCommand::ippAlignPartCommand unsigned int  tgNum,
double  inPv1i,
double  inPv1j,
double  inPv1k,
double  inMv1i,
double  inMv1j,
double  inMv1k,
double  inAlpha
 

Definition at line 37 of file ippAlignPartCommand.cpp.

References CommandTag, and ippTargetVector::setValues().

ippAlignPartCommand::ippAlignPartCommand unsigned int  tgNum,
double  inPv1i,
double  inPv1j,
double  inPv1k,
double  inMv1i,
double  inMv1j,
double  inMv1k,
double  inPv2i,
double  inPv2j,
double  inPv2k,
double  inMv2i,
double  inMv2j,
double  inMv2k,
double  inAlpha,
double  inBeta
 

Definition at line 18 of file ippAlignPartCommand.cpp.

References CommandTag, and ippTargetVector::setValues().

virtual ippAlignPartCommand::~ippAlignPartCommand  )  [virtual]
 

Definition at line 77 of file ippAlignPartCommand.h.


Member Function Documentation

double ippAlignPartCommand::getAlpha  )  const
 

Definition at line 104 of file ippAlignPartCommand.h.

double ippAlignPartCommand::getBeta  )  const
 

Definition at line 105 of file ippAlignPartCommand.h.

std::string ippAlignPartCommand::getCommandString  )  const [virtual]
 

Reimplemented from ippCommand.

Definition at line 52 of file ippAlignPartCommand.cpp.

References ippStringBuilder::AppendParam(), ippStringBuilder::EndFunc(), ippTargetVector::getI(), ippTargetVector::getJ(), ippTargetVector::getK(), ippTargetVector::hasData(), ippStringBuilder::StartFunc(), and ippStringBuilder::ToString().

Referenced by ippCommandTestCase::testAlignPartCommand().

bool ippAlignPartCommand::getHas2  )  const
 

Definition at line 91 of file ippAlignPartCommand.h.

double ippAlignPartCommand::getMachineVector1i  )  const
 

Definition at line 95 of file ippAlignPartCommand.h.

double ippAlignPartCommand::getMachineVector1j  )  const
 

Definition at line 96 of file ippAlignPartCommand.h.

double ippAlignPartCommand::getMachineVector1k  )  const
 

Definition at line 97 of file ippAlignPartCommand.h.

double ippAlignPartCommand::getMachineVector2i  )  const
 

Definition at line 101 of file ippAlignPartCommand.h.

double ippAlignPartCommand::getMachineVector2j  )  const
 

Definition at line 102 of file ippAlignPartCommand.h.

double ippAlignPartCommand::getMachineVector2k  )  const
 

Definition at line 103 of file ippAlignPartCommand.h.

double ippAlignPartCommand::getPartVector1i  )  const
 

Definition at line 92 of file ippAlignPartCommand.h.

double ippAlignPartCommand::getPartVector1j  )  const
 

Definition at line 93 of file ippAlignPartCommand.h.

double ippAlignPartCommand::getPartVector1k  )  const
 

Definition at line 94 of file ippAlignPartCommand.h.

double ippAlignPartCommand::getPartVector2i  )  const
 

Definition at line 98 of file ippAlignPartCommand.h.

double ippAlignPartCommand::getPartVector2j  )  const
 

Definition at line 99 of file ippAlignPartCommand.h.

double ippAlignPartCommand::getPartVector2k  )  const
 

Definition at line 100 of file ippAlignPartCommand.h.

double ippAlignPartCommand::setAlpha double  inAlpha  ) 
 

Definition at line 88 of file ippAlignPartCommand.h.

double ippAlignPartCommand::setBeta double  inBeta  ) 
 

Definition at line 89 of file ippAlignPartCommand.h.

bool ippAlignPartCommand::setHas2 bool  inHas2  ) 
 

Definition at line 79 of file ippAlignPartCommand.h.

void ippAlignPartCommand::setMachineVector1 double  inI,
double  inJ,
double  inK
 

Definition at line 82 of file ippAlignPartCommand.h.

void ippAlignPartCommand::setMachineVector2 double  inI,
double  inJ,
double  inK
 

Definition at line 86 of file ippAlignPartCommand.h.

void ippAlignPartCommand::setPartVector1 double  inI,
double  inJ,
double  inK
 

Definition at line 80 of file ippAlignPartCommand.h.

void ippAlignPartCommand::setPartVector2 double  inI,
double  inJ,
double  inK
 

Definition at line 84 of file ippAlignPartCommand.h.


The documentation for this class was generated from the following files:
Generated on Wed Nov 8 00:20:41 2006 for IPPDME by  doxygen 1.4.1