void MarchingCubes::Process()
{
- if (bbGetInputActive()==true)
- {
- bbGetVtkObject()->SetValue(0, bbGetInputValue() );
-
- if(bbGetInputComputeNormalsOn())
- {
- bbGetVtkObject()->ComputeNormalsOn();
- }else {
- bbGetVtkObject()->ComputeNormalsOff();
- }
-
- if(bbGetInputComputeScalarsOn())
- {
- bbGetVtkObject()->ComputeScalarsOn();
- }else{
- bbGetVtkObject()->ComputeScalarsOff();
- }
-
- bbGetVtkObject()->Update();
- }
+ if (bbGetInputActive()==true)
+ {
+ bbGetVtkObject()->SetValue(0, bbGetInputValue() );
+
+ if(bbGetInputComputeNormalsOn())
+ {
+ bbGetVtkObject()->ComputeNormalsOn();
+ }else {
+ bbGetVtkObject()->ComputeNormalsOff();
+ }// if Normals
+
+ if(bbGetInputComputeScalarsOn())
+ {
+ bbGetVtkObject()->ComputeScalarsOn();
+ }else{
+ bbGetVtkObject()->ComputeScalarsOff();
+ }// if Scalars
+
+ bbGetVtkObject()->Update();
+ } // Active
}
//-----------------------------------------------------------------