<html>
<head>
<style>
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
FONT-SIZE: 10pt;
FONT-FAMILY:Tahoma
}
</style>
</head>
<body class='hmmessage'>
Hi,<BR>
&nbsp;<BR>
I´m using&nbsp;VTK with Borland C++ Builder 6. When I try to use vtkScalarBarActor as in this example, it gives error message. What´s wrong?? <BR>
Thanks,<BR>
Renato<BR>
&nbsp;<BR>
&nbsp;<BR>
...<BR>
vtkLookupTable* Table = vtkLookupTable::New();<BR>&nbsp; Table-&gt;SetNumberOfColors(100);<BR>&nbsp; Table-&gt;SetHueRange(0, 1);<BR>&nbsp; Table-&gt;SetRange(rgrid-&gt;GetScalarRange());<BR>&nbsp; Table-&gt;Build();<BR>
<BR>&nbsp;vtkDataSetMapper* rgridMapper = vtkDataSetMapper::New();<BR>&nbsp; rgridMapper-&gt;SetInput(rgrid);<BR>&nbsp; rgridMapper-&gt;SetScalarRange(rgrid-&gt;GetScalarRange());<BR>&nbsp; rgridMapper-&gt;SetLookupTable(Table);<BR>
<BR>&nbsp;&nbsp; vtkProperty2D *propriedades2D = vtkProperty2D::New();<BR>&nbsp;&nbsp; vtkTextProperty *propriedadesTexto = vtkTextProperty::New();<BR>&nbsp;&nbsp; vtkScalarBarActor *barra = vtkScalarBarActor::New();<BR>
&nbsp;&nbsp; propriedades2D-&gt;SetColor(0, 0, 0);<BR>&nbsp;&nbsp; propriedades2D-&gt;SetLineWidth(1);<BR>&nbsp;&nbsp; propriedadesTexto-&gt;SetFontFamilyToCourier();<BR>&nbsp;&nbsp; propriedadesTexto-&gt;SetColor(0, 0, 0);<BR>&nbsp;&nbsp; propriedadesTexto-&gt;SetFontSize(2);<BR>&nbsp;&nbsp; propriedadesTexto-&gt;SetShadow(2);<BR>
&nbsp;&nbsp; barra-&gt;SetLookupTable(Table);<BR>&nbsp;&nbsp; barra-&gt;SetProperty(propriedades2D);<BR>&nbsp;&nbsp; barra-&gt;SetTitle("Escalares");<BR>&nbsp;&nbsp; barra-&gt;SetTitleTextProperty(propriedadesTexto);<BR>&nbsp;&nbsp; barra-&gt;SetWidth(.18);<BR>&nbsp;&nbsp; barra-&gt;SetLabelTextProperty(propriedadesTexto);<BR>
&nbsp;<BR>
...<BR>
&nbsp;<BR>
Error message:<BR>
&nbsp;<BR>
[Linker Error] Unresolved external 'FTFont::~FTFont()' referenced from C:\VTKBIN_BORLAND\BIN\VTKRENDERING.LIB|vtkFreeTypeFontCache<BR>
[Linker Error] Unresolved external 'FTFace::~FTFace()' referenced from C:\VTKBIN_BORLAND\BIN\VTKRENDERING.LIB|vtkFreeTypeFontCache<BR>
[Linker Error] Unresolved external 'FTSize::~FTSize()' referenced from C:\VTKBIN_BORLAND\BIN\VTKRENDERING.LIB|vtkFreeTypeFontCache<BR>
[Linker Error] Unresolved external 'FTLibraryCleanup::AddDependency(void (*)())' referenced from C:\VTKBIN_BORLAND\BIN\VTKRENDERING.LIB|vtkFreeTypeFontCache<BR>
[Linker Error] Unresolved external 'FTGLPixmapFont::~FTGLPixmapFont()' referenced from C:\VTKBIN_BORLAND\BIN\VTKRENDERING.LIB|vtkFreeTypeFontCache<BR>
[Linker Error] Unresolved external 'FTGLBitmapFont::~FTGLBitmapFont()' referenced from C:\VTKBIN_BORLAND\BIN\VTKRENDERING.LIB|vtkFreeTypeFontCache<BR>
[Linker Error] Unresolved external 'FTGLBitmapFont::FTGLBitmapFont()' referenced from C:\VTKBIN_BORLAND\BIN\VTKRENDERING.LIB|vtkFreeTypeFontCache<BR>
.<BR>
.<BR>
.<BR>
&nbsp;<BR>
13 errors.<BR>
&nbsp;<BR><br /><hr />Receba as últimas notícias do Brasil e do mundo direto no seu Messenger com Alertas MSN! É GRÁTIS! <a href='http://alertas.br.msn.com/' target='_new'>Assine já!</a></body>
</html>