17#ifndef __albaLODActor_h
18#define __albaLODActor_h
20#include "vtkOpenGLActor.h"
22class vtkPolyDataMapper;
35 void Render(vtkRenderer *ren, vtkMapper *mapper);
105 vtkPointSource *m_FlagShape;
106 vtkPolyDataMapper *m_FlagMapper;
107 vtkActor *m_FlagActor;
109 int m_PixelThreshold;
112 int m_EnableHighThreshold;
void EnableHighThresholdOn()
Enable high threshold LOD.
int GetFlagDimensionMinValue()
Return the min value of FlagDimension.
void Render(vtkRenderer *ren, vtkMapper *mapper)
int GetFlagDimension()
Get the dimension in pixels of the FlagActor.
void EnableFadingOn()
Enable fade out and fade in for the actor when it switch between one LOD to another.
int GetEnableFadingMaxValue()
Return the max value of EnableFading.
void SetEnableFading(int enableFading)
Enable/Disable fade out and fade in for the actor when it switch between one LOD to another.
void SetEnableHighThreshold(int enableHighThreshold)
Enable/Disable high threshold LOD.
int GetEnableHighThresholdMaxValue()
Return the max value of EnableHighThreshold.
void SetPixelThreshold(int pixelThreshold)
Set the threshold in pixels to switch the actor's shape to the FlagActor representation.
int GetPixelThreshold()
Get the threshold in pixels.
void SetFlagDimension(int flagDimension)
Set the dimension in pixels of the FlagActor representing the actor when its dimensions are too small...
int GetEnableHighThreshold()
Return the status of the high threshold LOD flag.
int GetEnableHighThresholdMinValue()
Return the min value of EnableHighThreshold.
int GetPixelThresholdMaxValue()
Return the max value of PixelThreshold.
void EnableHighThresholdOff()
Disable high threshold LOD.
vtkTypeRevisionMacro(albaLODActor, vtkOpenGLActor)
static albaLODActor * New()
int GetEnableFadingMinValue()
Return the min value of EnableFading.
int GetPixelThresholdMinValue()
Return the min value of PixelThreshold.
void EnableFadingOff()
Disable fade out and fade in for the actor when it switch between one LOD to another.
int GetEnableFading()
Return the status of the fading flag.
int GetFlagDimensionMaxValue()
Return the max value of FlagDimension.