The EVENTDISPLAYC Project


Back to the index

See the C++ header file ThreeDTranslation.h


ThreeDTranslation.cxx



#include "ThreeDTranslation.h"
#include "VRMLWindow.h"
#include "VRMLFile.h"
#include <iostream.h>

ThreeDTranslation::ThreeDTranslation()
{
}

ThreeDTranslation::ThreeDTranslation(const SFVec3f& translation):
    _translation(translation)
{
}

ThreeDTranslation::ThreeDTranslation(const ThreeDTranslation& original):
    _translation(original._translation)
{
}

ThreeDTranslation::~ThreeDTranslation()
{
}

ThreeDTranslation& ThreeDTranslation::operator=(const ThreeDTranslation& original)
{
    _translation = original._translation;
    return(*this);
}

void ThreeDTranslation::plot(const VRMLWindow&) const
{
}

void ThreeDTranslation::plot(const VRMLFile& scene) const
{
    scene.out() << "Translation {\t";
    scene.out() << "translation\t";
    scene.out() << _translation << "\t";
    scene.out() << "}" << endl;
}






Back to the index

See the C++ header file ThreeDTranslation.h


Created on Thu Jun 27 1996 by Julius Hrivnac using the HTML generator Ddl2Html