You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
52 lines
1.4 KiB
C++
52 lines
1.4 KiB
C++
/*=========================================================================
|
|
|
|
Program: Visualization Toolkit
|
|
Module: vtkActorNode.h
|
|
|
|
Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
|
|
All rights reserved.
|
|
See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
|
|
|
|
This software is distributed WITHOUT ANY WARRANTY; without even
|
|
the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
|
|
PURPOSE. See the above copyright notice for more information.
|
|
|
|
=========================================================================*/
|
|
/**
|
|
* @class vtkActorNode
|
|
* @brief vtkViewNode specialized for vtkActors
|
|
*
|
|
* State storage and graph traversal for vtkActor/Mapper and Property
|
|
* Made a choice to merge actor, mapper and property together. If there
|
|
* is a compelling reason to separate them we can.
|
|
*/
|
|
|
|
#ifndef vtkActorNode_h
|
|
#define vtkActorNode_h
|
|
|
|
#include "vtkRenderingSceneGraphModule.h" // For export macro
|
|
#include "vtkViewNode.h"
|
|
|
|
class VTKRENDERINGSCENEGRAPH_EXPORT vtkActorNode : public vtkViewNode
|
|
{
|
|
public:
|
|
static vtkActorNode* New();
|
|
vtkTypeMacro(vtkActorNode, vtkViewNode);
|
|
void PrintSelf(ostream& os, vtkIndent indent) override;
|
|
|
|
/**
|
|
* Build containers for our child nodes.
|
|
*/
|
|
virtual void Build(bool prepass) override;
|
|
|
|
protected:
|
|
vtkActorNode();
|
|
~vtkActorNode() override;
|
|
|
|
private:
|
|
vtkActorNode(const vtkActorNode&) = delete;
|
|
void operator=(const vtkActorNode&) = delete;
|
|
};
|
|
|
|
#endif
|