Scale vtkCubeAxesActor2D?

Meintjes Bekker Meintjes at IGS-NT.uovs.ac.za
Tue Mar 28 08:18:55 EST 2000


Dear Gurus

I'll like to know how to scale vtkCubeAxesActor2D?

Regards,
Meintjes

vtkCubeAxesActor2D* axes = vtkCubeAxesActor2D::New();
axes->SetBounds(	GetMinimumXBound(),
			GetMaximumXBound(), 
			GetMinimumYBound(), 
			GetMaximumYBound(), 
			GetMinimumZBound(), 
			GetMaximumZBound());
axes->SetCamera(this->m_Renderer->GetActiveCamera());
axes->ShadowOn();
axes->SetFlyModeToClosestTriad();
axes->SetFontFactor(0.8);
axes->GetProperty()->SetColor(0, 0, 0);

Renderer->AddProp(axes);
Renderer->ResetCamera();

--------------------------------------------
The University of the Orange Free State
Institute for Groundwater Studies
P.O. Box 339
Bloemfontein
9300
SOUTH AFRICA
--------------------------------------------
Tel: +27 51 4012175
Fax: +27 51 4473541
E-Mail: meintjes at igs-nt.uovs.ac.za
http://www.uovs.ac.za/igs
--------------------------------------------
--------------------------------------------------------------------
This is the private VTK discussion list. Please keep messages on-topic.
Check the FAQ at: <http://public.kitware.com/cgi-bin/vtkfaq>
To UNSUBSCRIBE, send message body containing "unsubscribe vtkusers" to
<majordomo at public.kitware.com>. For help, send message body containing
"info vtkusers" to the same address.
--------------------------------------------------------------------



More information about the vtkusers mailing list