You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
33 lines
1.1 KiB
33 lines
1.1 KiB
2 years ago
|
/*=========================================================================
|
||
|
|
||
|
Program: Visualization Toolkit
|
||
|
Module: $RCSfile: vtkScaledTextActor.cxx,v $
|
||
|
|
||
|
Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
|
||
|
All rights reserved.
|
||
|
See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
|
||
|
|
||
|
This software is distributed WITHOUT ANY WARRANTY; without even
|
||
|
the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
|
||
|
PURPOSE. See the above copyright notice for more information.
|
||
|
|
||
|
=========================================================================*/
|
||
|
#include "vtkScaledTextActor.h"
|
||
|
#include "vtkObjectFactory.h"
|
||
|
|
||
|
vtkCxxRevisionMacro(vtkScaledTextActor, "$Revision: 1.28 $");
|
||
|
vtkStandardNewMacro(vtkScaledTextActor);
|
||
|
|
||
|
vtkScaledTextActor::vtkScaledTextActor()
|
||
|
{
|
||
|
this->Position2Coordinate->SetValue(0.6, 0.1);
|
||
|
this->PositionCoordinate->SetCoordinateSystemToNormalizedViewport();
|
||
|
this->PositionCoordinate->SetValue(0.2,0.85);
|
||
|
this->SetScaledText(1);
|
||
|
}
|
||
|
|
||
|
void vtkScaledTextActor::PrintSelf(ostream& os, vtkIndent indent)
|
||
|
{
|
||
|
this->Superclass::PrintSelf(os,indent);
|
||
|
}
|