<html>
<head>
<style>
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
FONT-SIZE: 10pt;
FONT-FAMILY:Tahoma
}
</style>
</head>
<body class='hmmessage'>
Hi,<BR>
<BR>
I´m using 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>
<BR>
<BR>
...<BR>
vtkLookupTable* Table = vtkLookupTable::New();<BR> Table->SetNumberOfColors(100);<BR> Table->SetHueRange(0, 1);<BR> Table->SetRange(rgrid->GetScalarRange());<BR> Table->Build();<BR>
<BR> vtkDataSetMapper* rgridMapper = vtkDataSetMapper::New();<BR> rgridMapper->SetInput(rgrid);<BR> rgridMapper->SetScalarRange(rgrid->GetScalarRange());<BR> rgridMapper->SetLookupTable(Table);<BR>
<BR> vtkProperty2D *propriedades2D = vtkProperty2D::New();<BR> vtkTextProperty *propriedadesTexto = vtkTextProperty::New();<BR> vtkScalarBarActor *barra = vtkScalarBarActor::New();<BR>
propriedades2D->SetColor(0, 0, 0);<BR> propriedades2D->SetLineWidth(1);<BR> propriedadesTexto->SetFontFamilyToCourier();<BR> propriedadesTexto->SetColor(0, 0, 0);<BR> propriedadesTexto->SetFontSize(2);<BR> propriedadesTexto->SetShadow(2);<BR>
barra->SetLookupTable(Table);<BR> barra->SetProperty(propriedades2D);<BR> barra->SetTitle("Escalares");<BR> barra->SetTitleTextProperty(propriedadesTexto);<BR> barra->SetWidth(.18);<BR> barra->SetLabelTextProperty(propriedadesTexto);<BR>
<BR>
...<BR>
<BR>
Error message:<BR>
<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>
<BR>
13 errors.<BR>
<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>