20 #ifndef vtkMoleculeRepresentation_h 21 #define vtkMoleculeRepresentation_h 45 vtkGetMacro(MoleculeRenderMode,
int)
void SetMoleculeRenderMode(
int mode);
47 vtkGetMacro(UseCustomRadii,
bool)
void SetUseCustomRadii(
bool val);
55 virtual void SetOpacity(
double val);
56 virtual void SetSpecular(
double val);
57 virtual void SetSpecularPower(
double val);
64 void SetMapScalars(
bool map);
81 void SetAtomicRadiusType(
int type);
82 void SetAtomicRadiusScaleFactor(
double factor);
83 void SetBondRadius(
double factor);
84 void SetBondColorMode(
int mode);
85 void SetBondColor(
double color[3]);
86 void SetBondColor(
double r,
double g,
double b);
87 void SetUseMultiCylindersForBonds(
bool use);
88 void SetRenderAtoms(
bool render);
89 void SetRenderBonds(
bool render);
90 void SetAtomicRadiusArray(
const char*
name);
103 void UpdateColoringParameters();
113 double DataBounds[6];
120 #endif // vtkMoleculeRepresentation_h representation for showing vtkMolecules
virtual vtkDataObject * GetRenderedDataObject(int vtkNotUsed(port))
Returns the data object that is rendered from the given input port.
#define VTKREMOTINGVIEWS_EXPORT
vtkPVDataRepresentation adds some ParaView specific API to data representations.
bool AddToView(vtkView *view) override
Making these methods public.
virtual void SetVisibility(bool val)
Get/Set the visibility for this representation.
virtual int ProcessViewRequest(vtkInformationRequestKey *request_type, vtkInformation *inInfo, vtkInformation *outInfo)
vtkAlgorithm::ProcessRequest() equivalent for rendering passes.
int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
Overridden to invoke vtkCommand::UpdateDataEvent.
vtkNew< vtkMolecule > Molecule
bool RemoveFromView(vtkView *view) override
Making these methods public.
static vtkDataRepresentation * New()
void SetRepresentation(const char *)
No-op.
void PrintSelf(ostream &os, vtkIndent indent) override
vtkMoleculeMapper * Mapper